7 writes to Size
System.Net.Security (7)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (5)
671token.Size = 0; 732token.Size = sendCount; 764outToken.Size = 0; 786outToken.Size = 0; 790outToken.Size = retVal;
System\Net\Security\SslStream.Protocol.cs (2)
1401Size = payload.Length; 1441Size = 0;
19 references to Size
System.Net.Security (19)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
744if (context.IsServer && token.Size == 0 && errorCode == Ssl.SslErrorCode.SSL_ERROR_NONE && Ssl.IsSslRenegotiatePending(context))
System\Net\Security\SslStream.cs (2)
457if (token.Size > 0 && token.Payload != null) 459return InnerStream.WriteAsync(new ReadOnlyMemory<byte>(token.Payload, 0, token.Size), default).AsTask();
System\Net\Security\SslStream.IO.cs (5)
229if (token.Size > 0) 253if (token.Size > 0) 328if (token.Size > 0) 331await TIOAdapter.WriteAsync(InnerStream, new ReadOnlyMemory<byte>(token.Payload!, 0, token.Size), cancellationToken).ConfigureAwait(false); 362if (token.Size > 0)
System\Net\Security\SslStream.Protocol.cs (10)
1403if (Size > 0) 1405Payload = RentBuffer ? ArrayPool<byte>.Shared.Rent(Size) : new byte[Size]; 1406payload.CopyTo(new Span<byte>(Payload, 0, Size)); 1419Payload = RentBuffer ? ArrayPool<byte>.Shared.Rent(Size + size) : new byte[Size + size]; 1430internal int Available => Payload == null ? 0 : Payload.Length - Size; 1431internal Span<byte> AvailableSpan => Payload == null ? Span<byte>.Empty : new Span<byte>(Payload, Size, Available); 1433internal ReadOnlyMemory<byte> AsMemory() => new ReadOnlyMemory<byte>(Payload, 0, Size); 1437Debug.Assert(Payload != null || Size == 0);
System\Net\Security\SslStreamPal.Unix.cs (1)
214if (token.Size == 0 && Interop.Ssl.IsSslRenegotiatePending((SafeSslHandle)context))