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); 219return (HTTP_DATA_CHUNK*)(Marshal.UnsafeAddrOfPinnedArrayElement(_dataChunks, 0));
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\ComInterop\ComRuntimeHelpers.cs (1)
344return Marshal.UnsafeAddrOfPinnedArrayElement(keywordArgDispIds, 0);
System.Net.Http.WinHttpHandler (3)
System\Net\Http\WinHttpRequestStream.cs (1)
232Marshal.UnsafeAddrOfPinnedArrayElement(buffer, offset),
System\Net\Http\WinHttpResponseStream.cs (2)
141if (!Interop.WinHttp.WinHttpReadData(_requestHandle, Marshal.UnsafeAddrOfPinnedArrayElement(buffer, 0), (uint)Math.Min(bytesAvailable, buffer.Length), IntPtr.Zero)) 238Marshal.UnsafeAddrOfPinnedArrayElement(buffer, offset),