Skip to content

Commit fe5d81c

Browse files
committed
Address merge conflicts
1 parent 86180f0 commit fe5d81c

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient/TdsParserStateObject.netfx.cs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -358,12 +358,6 @@ private uint GetSniPacket(PacketHandle packet, ref uint dataSize)
358358
return SniPacketGetData(packet, _inBuff, ref dataSize);
359359
}
360360

361-
private uint SniPacketGetData(PacketHandle packet, byte[] _inBuff, ref uint dataSize)
362-
{
363-
Debug.Assert(packet.Type == PacketHandle.NativePointerType, "unexpected packet type when requiring NativePointer");
364-
return SniNativeWrapper.SniPacketGetData(packet.NativePointer, _inBuff, ref dataSize);
365-
}
366-
367361
public void ReadAsyncCallback(IntPtr key, PacketHandle packet, uint error)
368362
{
369363
// Key never used.
@@ -465,13 +459,6 @@ public void ReadAsyncCallback(IntPtr key, PacketHandle packet, uint error)
465459
}
466460
}
467461

468-
private bool CheckPacket(PacketHandle packet, TaskCompletionSource<object> source)
469-
{
470-
Debug.Assert(packet.Type == PacketHandle.NativePointerType, "unexpected packet type when requiring NativePointer");
471-
IntPtr ptr = packet.NativePointer;
472-
return IntPtr.Zero == ptr || IntPtr.Zero != ptr && source != null;
473-
}
474-
475462
#pragma warning disable 420 // a reference to a volatile field will not be treated as volatile
476463

477464
public void WriteAsyncCallback(IntPtr key, PacketHandle packet, uint sniError)

0 commit comments

Comments
 (0)