You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Port PacketHandle to netfx
* Remove PacketHandle alias shim
* Align netfx use of PacketHandle
* Merge IsPacketEmpty
* Merge ReleasePacket
* Merge ReadAsync, ReadSyncOverAsync
Also move ReadSyncOverAsync down in netcore's TdsParserStateObjectNative to aid later merge
* Merge IsFailedHandle
* Merge SniPacketGetData
* Merge EmptyReadPacket
Also reorder member in TdsParserStateObjectNative to simplify later merge
* Merge CheckPacket
* Merge WritePacket, IsValidPacket
* Merge GetResetWritePacket
* Merge ClearAllWritePackets, AddPacketToPendingList, RemovePacketFromPendingList
* Improve diff between versions of TdsParserStateObjectNative
* PR feedback from #3353 - format IsValidPacket
* Address merge conflicts
* Merge DisposePacketCache
This also allows _writePacketCache to be migrated to TdsParserStateObjectNative in netfx.
privateGCHandle_gcHandle;// keeps this object alive until we're closed.
49
47
50
-
privateDictionary<IntPtr,SNIPacket>_pendingWritePackets=newDictionary<IntPtr,SNIPacket>();// Stores write packets that have been sent to SNI, but have not yet finished writing (i.e. we are waiting for SNI's callback)
48
+
privatereadonlyDictionary<IntPtr,SNIPacket>_pendingWritePackets=newDictionary<IntPtr,SNIPacket>();// Stores write packets that have been sent to SNI, but have not yet finished writing (i.e. we are waiting for SNI's callback)
Debug.Assert(packetPointer.Type==PacketHandle.NativePointerType||packetPointer.Type==PacketHandle.NativePacketType,"unexpected packet type when requiring NativePointer");
0 commit comments