11 references to IntPtrHelper
System (11)
net\System\Net\_DigestClient.cs (3)
1187
Marshal.Copy(
IntPtrHelper
.Add(binding.DangerousGetHandle(), initiatorOffset), formattedData, offset, initiatorLength);
1198
Marshal.Copy(
IntPtrHelper
.Add(binding.DangerousGetHandle(), acceptorOffset), formattedData, offset, acceptorLength);
1208
Marshal.Copy(
IntPtrHelper
.Add(binding.DangerousGetHandle(), applicationDataOffset), formattedData, offset, applicationDataLength);
net\System\Net\_ListenerResponseStream.cs (1)
174
Marshal.Copy(buffer, offset,
IntPtrHelper
.Add(pBufferAsIntPtr, chunkHeader.Length + 2), size);
net\System\Net\_SSPIWrapper.cs (1)
951
IntPtr unmanagedAddress =
IntPtrHelper
.Add(safeHandle.DangerousGetHandle(), SecurityPackageInfo.Size * index);
net\System\Net\DNS.cs (2)
119
currentArrayElement =
IntPtrHelper
.Add(currentArrayElement, IntPtr.Size);
153
currentArrayElement =
IntPtrHelper
.Add(currentArrayElement, IntPtr.Size);
net\System\Net\HttpListener.cs (1)
2428
return (int)
IntPtrHelper
.Subtract(tokenPointer, blob);
net\System\Net\NetworkInformation\PingReply.cs (1)
68
Marshal.Copy (
IntPtrHelper
.Add(dataPtr, 36), buffer, 0, sendSize);
net\System\Net\Sockets\_BaseOverlappedAsyncResult.cs (2)
419
uint errorCode = (uint)Marshal.ReadInt32(
IntPtrHelper
.Add(asyncResult.m_UnmanagedBlob.DangerousGetHandle(),
421
uint numBytes = errorCode!=0 ? unchecked((uint)-1) : (uint)Marshal.ReadInt32(
IntPtrHelper
.Add(asyncResult.m_UnmanagedBlob.DangerousGetHandle(),