2 instantiations of SNIPacket
System.Data (2)
fx\src\data\System\Data\SqlClient\TdsParserSafeHandles.cs (1)
235
packet = new
SNIPacket
(sniHandle);
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (1)
3009
SNIPacket attnPacket = new
SNIPacket
(Handle);
15 references to SNIPacket
System.Data (15)
fx\src\data\System\Data\SqlClient\TdsParserSafeHandles.cs (5)
219
private Stack<
SNIPacket
> _packets;
223
_packets = new Stack<
SNIPacket
>();
226
public
SNIPacket
Take(SNIHandle sniHandle) {
227
SNIPacket
packet;
240
public void Add(
SNIPacket
packet) {
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (10)
94
private
SNIPacket
_sniPacket = null; // Will have to re-vamp this for MARS
95
internal
SNIPacket
_sniAsyncAttnPacket = null; // Packet to use to send Attn
97
private Dictionary<IntPtr,
SNIPacket
> _pendingWritePackets = new Dictionary<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)
2887
private Task SNIWritePacket(SNIHandle handle,
SNIPacket
packet, out UInt32 sniError, bool canAccumulate, bool callerHasConnectionLock) {
3009
SNIPacket
attnPacket = new SNIPacket(Handle);
3072
SNIPacket
packet = GetResetWritePacket();
3122
internal
SNIPacket
GetResetWritePacket() {
3145
private IntPtr AddPacketToPendingList(
SNIPacket
packet) {
3158
SNIPacket
recoveredPacket;