4 writes to Length
System.Net.Security (4)
System\Net\Security\TlsFrameHelper.cs (4)
175header.Length = -1; 184header.Length = ((frame[3] << 8) | frame[4]) + HeaderSize; 210header.Length = length; 215header.Length = -1;
9 references to Length
System.Net.Security (9)
System\Net\Security\SslStream.IO.cs (3)
504frameSize = nextHeader.Length; 1024if (_lastFrame.Header.Length < 0) 1030return _lastFrame.Header.Length;
System\Net\Security\TlsFrameHelper.cs (6)
92public override string ToString() => $"{Version}:{Type}[{Length}]"; 134return $"{Header.Version}:{HandshakeType}[{Header.Length}] TargetName='{TargetName}' SupportedVersion='{SupportedVersions}' ApplicationProtocols='{ApplicationProtocols}'"; 138return $"{Header.Version}:{HandshakeType}[{Header.Length}] SupportedVersion='{SupportedVersions}' ApplicationProtocols='{ApplicationProtocols}'"; 142return $"{Header.Version}:{HandshakeType}[{Header.Length}] SupportedVersion='{SupportedVersions}'"; 147return $"{Header.Version}:{Header.Type}[{Header.Length}]"; 274bool isComplete = frame.Length >= info.Header.Length;