24 references to Free
Interop.FunctionalTests (1)
src\Shared\Buffers.MemoryPool\UnmanagedBufferAllocator.cs (1)
112NativeMemory.Free(curr);
Microsoft.AspNetCore.Server.HttpSys (1)
src\Shared\Buffers.MemoryPool\UnmanagedBufferAllocator.cs (1)
112NativeMemory.Free(curr);
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\Buffers.MemoryPool\UnmanagedBufferAllocator.cs (1)
112NativeMemory.Free(curr);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\Buffers.MemoryPool\UnmanagedBufferAllocator.cs (1)
112NativeMemory.Free(curr);
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
src\Shared\Buffers.MemoryPool\UnmanagedBufferAllocator.cs (1)
112NativeMemory.Free(curr);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
src\Shared\Buffers.MemoryPool\UnmanagedBufferAllocator.cs (1)
112NativeMemory.Free(curr);
System.Diagnostics.Process (2)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.ForkAndExecProcess.cs (2)
84NativeMemory.Free(arr[i]); 88NativeMemory.Free(arr);
System.Net.Quic (4)
System\Net\Quic\Internal\MsQuicBuffers.cs (2)
37NativeMemory.Free(buffers); 102NativeMemory.Free(buffer);
System\Net\Quic\Internal\MsQuicTlsSecret.cs (2)
41NativeMemory.Free(tlsSecrets); 134NativeMemory.Free(_tlsSecrets);
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.Unix.cs (1)
66NativeMemory.Free((void*)(nint)hglobal);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\AnsiStringMarshaller.cs (1)
108NativeMemory.Free(_unmanagedValue);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\ArrayMarshaller.cs (1)
187NativeMemory.Free(_allocatedMemory);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\PointerArrayMarshaller.cs (1)
188NativeMemory.Free(_allocatedMemory);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\ReadOnlySpanMarshaller.cs (1)
157NativeMemory.Free(_allocatedMemory);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\SpanMarshaller.cs (1)
184NativeMemory.Free(_allocatedMemory);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\Utf8StringMarshaller.cs (1)
113NativeMemory.Free(_unmanagedValue);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NativeMemory.Unix.cs (2)
21/// <para>This method is not compatible with <see cref="Free" /> or <see cref="Realloc" />, instead <see cref="AlignedFree" /> or <see cref="AlignedRealloc" /> should be called.</para> 82/// <para>This method is not compatible with <see cref="Free" /> or <see cref="Realloc" />, instead <see cref="AlignedFree" /> or <see cref="AlignedRealloc" /> should be called.</para>
src\libraries\System.Private.CoreLib\src\System\Threading\Overlapped.cs (1)
212NativeMemory.Free(pNativeOverlapped);
src\System\GC.CoreCLR.cs (1)
756NativeMemory.Free(pWorkItem);
System.Security.Cryptography (1)
System\Security\Cryptography\FixedMemoryKeyBox.cs (1)
25NativeMemory.Free((void*)handle);