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
Copy file name to clipboardExpand all lines: src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient/TdsParserStateObject.netfx.cs
+2-54Lines changed: 2 additions & 54 deletions
Original file line number
Diff line number
Diff line change
@@ -23,10 +23,9 @@ internal partial class TdsParserStateObject
23
23
protectedSNIHandle_sessionHandle=null;// the SNI handle we're to work on
24
24
25
25
// SNI variables // multiple resultsets in one batch.
26
-
privateSNIPacket_sniPacket=null;// Will have to re-vamp this for MARS
26
+
protectedSNIPacket_sniPacket=null;// Will have to re-vamp this for MARS
27
27
internalSNIPacket_sniAsyncAttnPacket=null;// Packet to use to send Attn
28
-
privatereadonlyWritePacketCache_writePacketCache=newWritePacketCache();// Store write packets that are ready to be re-used
29
-
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)
28
+
protectedreadonlyWritePacketCache_writePacketCache=newWritePacketCache();// Store write packets that are ready to be re-used
30
29
31
30
// Async variables
32
31
privateGCHandle_gcHandle;// keeps this object alive until we're closed.
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