10 references to DecryptedLength
System.Net.Security (10)
System\Net\Security\SslStream.cs (2)
88Debug.Assert(length <= DecryptedLength); 754if (_buffer.DecryptedLength > 0)
System\Net\Security\SslStream.IO.cs (8)
839if (_buffer.DecryptedLength != 0) 859Debug.Assert(_buffer.DecryptedLength == 0); 874if (_buffer.DecryptedLength != 0) 876extraBuffer = new byte[_buffer.DecryptedLength]; 879_buffer.Discard(_buffer.DecryptedLength); 905if (_buffer.DecryptedLength > 0) 999Debug.Assert(_buffer.DecryptedLength > 0); 1001int copyBytes = Math.Min(_buffer.DecryptedLength, buffer.Length);