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
TdsParser.ReliabilitySection.Assert("unreliable call to ReadSniSyncError");// you need to setup for a thread abort somewhere before you call this method
302
-
303
301
if(TdsEnums.SNI_WAIT_TIMEOUT==error)
304
302
{
305
303
Debug.Assert(_syncOverAsync,"Should never reach here with async on!");
TdsParser.ReliabilitySection.Assert("unreliable call to WriteSecureString");// you need to setup for a thread abort somewhere before you call this method
757
-
758
754
Debug.Assert(_securePasswords[0]==null||_securePasswords[1]==null,"There are more than two secure passwords");
// check to make sure we haven't used the full amount of space available in the buffer, if so, flush it
@@ -866,8 +860,6 @@ private Task WriteBytes(ReadOnlySpan<byte> b, int len, int offsetBuffer, bool ca
866
860
}
867
861
try
868
862
{
869
-
TdsParser.ReliabilitySection.Assert("unreliable call to WriteByteArray");// you need to setup for a thread abort somewhere before you call this method
870
-
871
863
boolasync=_parser._asyncWrite;// NOTE: We are capturing this now for the assert after the Task is returned, since WritePacket will turn off async if there is an exception
872
864
Debug.Assert(async ||_asyncWriteCount==0);
873
865
// Do we have to send out in packet size chunks, or can we rely on netlib layer to break it up?
0 commit comments