10 references to UnsafeAddrOfPinnedArrayElement
Microsoft.AspNetCore.Server.HttpSys (6)
RequestProcessing\ClientCertLoader.cs (1)
130
_memoryBlob = (HTTP_SSL_CLIENT_CERT_INFO*)Marshal.
UnsafeAddrOfPinnedArrayElement
(_backingBuffer, 0);
RequestProcessing\RequestStreamAsyncResult.cs (1)
31
_pinnedBuffer = (Marshal.
UnsafeAddrOfPinnedArrayElement
(buffer, offset));
RequestProcessing\ResponseStreamAsyncResult.cs (4)
80
_dataChunks[currentChunk].Anonymous.FromMemory.pBuffer = (void*)Marshal.
UnsafeAddrOfPinnedArrayElement
(chunkHeaderBuffer.Array!, chunkHeaderBuffer.Offset);
84
_dataChunks[currentChunk].Anonymous.FromMemory.pBuffer = (void*)Marshal.
UnsafeAddrOfPinnedArrayElement
(data.Array!, data.Offset);
152
_dataChunks[0].Anonymous.FromMemory.pBuffer = (void*)Marshal.
UnsafeAddrOfPinnedArrayElement
(chunkHeaderBuffer.Array!, chunkHeaderBuffer.Offset);
219
return (HTTP_DATA_CHUNK*)(Marshal.
UnsafeAddrOfPinnedArrayElement
(_dataChunks, 0));
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\ComInterop\ComRuntimeHelpers.cs (1)
344
return Marshal.
UnsafeAddrOfPinnedArrayElement
(keywordArgDispIds, 0);
System.Net.Http.WinHttpHandler (3)
System\Net\Http\WinHttpRequestStream.cs (1)
232
Marshal.
UnsafeAddrOfPinnedArrayElement
(buffer, offset),
System\Net\Http\WinHttpResponseStream.cs (2)
141
if (!Interop.WinHttp.WinHttpReadData(_requestHandle, Marshal.
UnsafeAddrOfPinnedArrayElement
(buffer, 0), (uint)Math.Min(bytesAvailable, buffer.Length), IntPtr.Zero))
238
Marshal.
UnsafeAddrOfPinnedArrayElement
(buffer, offset),