7 writes to Size
System.Net.Security (7)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (5)
516token.Size = 0; 569token.Size = sendCount; 601outToken.Size = 0; 623outToken.Size = 0; 627outToken.Size = retVal;
System\Net\Security\SslStream.Protocol.cs (2)
1366Size = payload.Length; 1406Size = 0;
19 references to Size
System.Net.Security (19)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
581if (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)
228if (token.Size > 0) 252if (token.Size > 0) 303if (token.Size > 0) 306await TIOAdapter.WriteAsync(InnerStream, new ReadOnlyMemory<byte>(token.Payload!, 0, token.Size), cancellationToken).ConfigureAwait(false); 337if (token.Size > 0)
System\Net\Security\SslStream.Protocol.cs (10)
1368if (Size > 0) 1370Payload = RentBuffer ? ArrayPool<byte>.Shared.Rent(Size) : new byte[Size]; 1371payload.CopyTo(new Span<byte>(Payload, 0, Size)); 1384Payload = RentBuffer ? ArrayPool<byte>.Shared.Rent(Size + size) : new byte[Size + size]; 1395internal int Available => Payload == null ? 0 : Payload.Length - Size; 1396internal Span<byte> AvailableSpan => Payload == null ? Span<byte>.Empty : new Span<byte>(Payload, Size, Available); 1398internal ReadOnlyMemory<byte> AsMemory() => new ReadOnlyMemory<byte>(Payload, 0, Size); 1402Debug.Assert(Payload != null || Size == 0);
System\Net\Security\SslStreamPal.Unix.cs (1)
212if (token.Size == 0 && Interop.Ssl.IsSslRenegotiatePending((SafeSslHandle)context))