4 writes to offset
System (4)
net\System\Net\_SSPIWrapper.cs (3)
440
iBuffer.
offset
= 0;
458
iBuffer.
offset
= (int) ((byte*) unmanagedBuffer[i].token - bufferAddress);
468
iBuffer.
offset
= 0;
net\System\Net\Internal.cs (1)
1466
this.
offset
= data == null || offset < 0 ? 0 : Math.Min(offset, data.Length);
17 references to offset
System (17)
net\System\Net\_NTAuthentication.cs (4)
1006
Buffer.BlockCopy(output, securityBuffer[1].
offset
, output, 4 + resultSize, securityBuffer[1].size);
1011
Buffer.BlockCopy(output, securityBuffer[2].
offset
, output, 4 + resultSize, securityBuffer[2].size);
1067
newOffset = securityBuffer[1].
offset
;
1120
newOffset = securityBuffer[1].
offset
;
net\System\Net\_SafeNetHandles.cs (6)
1539
inUnmanagedBuffer[index].token = Marshal.UnsafeAddrOfPinnedArrayElement(securityBuffer.token, securityBuffer.
offset
);
1558
outUnmanagedBuffer[0].token = Marshal.UnsafeAddrOfPinnedArrayElement(outSecBuffer.token, outSecBuffer.
offset
);
1864
inUnmanagedBuffer[index].token = Marshal.UnsafeAddrOfPinnedArrayElement(securityBuffer.token, securityBuffer.
offset
);
1884
outUnmanagedBuffer[0].token = Marshal.UnsafeAddrOfPinnedArrayElement(outSecBuffer.token, outSecBuffer.
offset
);
2121
inUnmanagedBuffer[index].token = Marshal.UnsafeAddrOfPinnedArrayElement(securityBuffer.token, securityBuffer.
offset
);
2237
inUnmanagedBuffer[index].token = Marshal.UnsafeAddrOfPinnedArrayElement(securityBuffer.token, securityBuffer.
offset
);
net\System\Net\_SecureChannel.cs (1)
1206
offset = decspc[i].
offset
;
net\System\Net\_SSPIWrapper.cs (5)
403
unmanagedBuffer[i].token = Marshal.UnsafeAddrOfPinnedArrayElement(iBuffer.token, iBuffer.
offset
);
474
GlobalLog.Assert(iBuffer.
offset
>= 0 && iBuffer.
offset
<= (iBuffer.token == null ? 0 : iBuffer.token.Length), "SSPIWrapper::EncryptDecryptHelper|'offset' out of range. [{0}]", iBuffer.
offset
);
475
GlobalLog.Assert(iBuffer.size >= 0 && iBuffer.size <= (iBuffer.token == null ? 0 : iBuffer.token.Length - iBuffer.
offset
), "SSPIWrapper::EncryptDecryptHelper|'size' out of range. [{0}]", iBuffer.size);
net\System\Net\Internal.cs (1)
1467
this.size = data == null || size < 0 ? 0 : Math.Min(size, data.Length - this.
offset
);