7 writes to Size
System.Net.Security (7)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (5)
677token.Size = 0; 730token.Size = sendCount; 762outToken.Size = 0; 784outToken.Size = 0; 788outToken.Size = retVal;
System\Net\Security\SslStream.Protocol.cs (2)
1391Size = payload.Length; 1431Size = 0;
19 references to Size
System.Net.Security (19)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
742if (context.IsServer && token.Size == 0 && errorCode == Ssl.SslErrorCode.SSL_ERROR_NONE && Ssl.IsSslRenegotiatePending(context))
System\Net\Security\SslStream.cs (2)
453if (token.Size > 0 && token.Payload != null) 455return 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)
1393if (Size > 0) 1395Payload = RentBuffer ? ArrayPool<byte>.Shared.Rent(Size) : new byte[Size]; 1396payload.CopyTo(new Span<byte>(Payload, 0, Size)); 1409Payload = RentBuffer ? ArrayPool<byte>.Shared.Rent(Size + size) : new byte[Size + size]; 1420internal int Available => Payload == null ? 0 : Payload.Length - Size; 1421internal Span<byte> AvailableSpan => Payload == null ? Span<byte>.Empty : new Span<byte>(Payload, Size, Available); 1423internal ReadOnlyMemory<byte> AsMemory() => new ReadOnlyMemory<byte>(Payload, 0, Size); 1427Debug.Assert(Payload != null || Size == 0);
System\Net\Security\SslStreamPal.Unix.cs (1)
213if (token.Size == 0 && Interop.Ssl.IsSslRenegotiatePending((SafeSslHandle)context))