8 writes to size
System.IdentityModel (8)
System\IdentityModel\SspiHelper.cs (4)
346
this.
size
= (data == null) ? 0 : size;
353
this.
size
= (data == null) ? 0 : data.Length;
360
this.
size
= size;
367
this.
size
= channelBinding.Size;
System\IdentityModel\SspiSafeHandles.cs (2)
295
outSecBuffer.
size
= outUnmanagedBuffer[0].count;
569
outSecBuffer.
size
= outUnmanagedBuffer[0].count;
System\IdentityModel\SspiWrapper.cs (2)
738
iBuffer.
size
= unmanagedBuffer[i].count;
773
iBuffer.
size
= 0;
19 references to size
System.IdentityModel (19)
System\IdentityModel\SspiSafeHandles.cs (10)
232
inUnmanagedBuffer[index].count = securityBuffer.
size
;
256
outUnmanagedBuffer[0].count = outSecBuffer.
size
;
297
if (outSecBuffer.
size
> 0)
299
outSecBuffer.token = DiagnosticUtility.Utility.AllocateByteArray(outSecBuffer.
size
);
300
Marshal.Copy(outUnmanagedBuffer[0].token, outSecBuffer.token, 0, outSecBuffer.
size
);
512
inUnmanagedBuffer[index].count = securityBuffer.
size
;
537
outUnmanagedBuffer[0].count = outSecBuffer.
size
;
571
if (outSecBuffer.
size
> 0)
573
outSecBuffer.token = DiagnosticUtility.Utility.AllocateByteArray(outSecBuffer.
size
);
574
Marshal.Copy(outUnmanagedBuffer[0].token, outSecBuffer.token, 0, outSecBuffer.
size
);
System\IdentityModel\SspiWrapper.cs (9)
712
unmanagedBuffer[i].count = iBuffer.
size
;
740
if (iBuffer.
size
== 0)
747
iBuffer.token = DiagnosticUtility.Utility.AllocateByteArray(iBuffer.
size
);
748
Marshal.Copy(unmanagedBuffer[i].token, iBuffer.token, 0, iBuffer.
size
);
763
(byte*)unmanagedBuffer[i].token + iBuffer.
size
<= bufferAddress + buffers[j].Length)
783
if (!(iBuffer.
size
>= 0 && iBuffer.
size
<= (iBuffer.token == null ? 0 : iBuffer.token.Length - iBuffer.offset)))
785
DiagnosticUtility.DebugAssert(SR.GetString(SR.SspiWrapperEncryptDecryptAssert2, iBuffer.
size
));
786
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SspiWrapperEncryptDecryptAssert2, iBuffer.
size
)));