53 references to Free
ILCompiler.ReadyToRun (6)
parent\parent\Common\JitInterface\CorInfoImpl.cs (6)
2403NativeMemory.Free(obj); 3473NativeMemory.Free(inlineTree); 3474NativeMemory.Free(mappings); 3481NativeMemory.Free(suspensionPoints); 3482NativeMemory.Free(vars); 3502NativeMemory.Free(array);
ILCompiler.RyuJit (6)
parent\parent\Common\JitInterface\CorInfoImpl.cs (6)
2403NativeMemory.Free(obj); 3473NativeMemory.Free(inlineTree); 3474NativeMemory.Free(mappings); 3481NativeMemory.Free(suspensionPoints); 3482NativeMemory.Free(vars); 3502NativeMemory.Free(array);
Microsoft.AspNetCore.Server.HttpSys (1)
src\aspnetcore\src\Shared\Buffers.MemoryPool\UnmanagedBufferAllocator.cs (1)
112NativeMemory.Free(curr);
Microsoft.AspNetCore.Server.IIS (1)
src\aspnetcore\src\Shared\Buffers.MemoryPool\UnmanagedBufferAllocator.cs (1)
112NativeMemory.Free(curr);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\aspnetcore\src\Shared\Buffers.MemoryPool\UnmanagedBufferAllocator.cs (1)
112NativeMemory.Free(curr);
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
src\aspnetcore\src\Shared\Buffers.MemoryPool\UnmanagedBufferAllocator.cs (1)
112NativeMemory.Free(curr);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
src\aspnetcore\src\Shared\Buffers.MemoryPool\UnmanagedBufferAllocator.cs (1)
112NativeMemory.Free(curr);
System.Diagnostics.Process (5)
Microsoft\Win32\SafeHandles\SafeProcessHandle.Unix.cs (2)
350NativeMemory.Free(envpPtr); 351NativeMemory.Free(argvPtr);
src\runtime\src\libraries\Common\src\Interop\Unix\System.Native\Interop.ForkAndExecProcess.cs (2)
87NativeMemory.Free(envpPtr); 88NativeMemory.Free(argvPtr);
src\runtime\src\libraries\Common\src\System\Runtime\InteropServices\SpanOfCharAsUtf8StringMarshaller.cs (1)
71NativeMemory.Free(_unmanagedValue);
System.Net.Http.WinHttpHandler (1)
src\runtime\src\libraries\Common\src\Interop\Windows\WinHttp\Interop.winhttp.cs (1)
77public static void Free(void* value) => NativeMemory.Free(value);
System.Net.Ping (1)
src\runtime\src\libraries\Common\src\System\Runtime\InteropServices\SpanOfCharAsUtf8StringMarshaller.cs (1)
71NativeMemory.Free(_unmanagedValue);
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 (13)
src\runtime\src\libraries\Common\src\System\Runtime\InteropServices\SpanOfCharAsUtf8StringMarshaller.cs (1)
71NativeMemory.Free(_unmanagedValue);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.Unix.cs (1)
67NativeMemory.Free((void*)(nint)hglobal);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\AnsiStringMarshaller.cs (1)
109NativeMemory.Free(_unmanagedValue);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\ArrayMarshaller.cs (1)
198NativeMemory.Free(_allocatedMemory);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\PointerArrayMarshaller.cs (1)
199NativeMemory.Free(_allocatedMemory);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\ReadOnlySpanMarshaller.cs (1)
163NativeMemory.Free(_allocatedMemory);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\SpanMarshaller.cs (1)
195NativeMemory.Free(_allocatedMemory);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\Utf8StringMarshaller.cs (1)
114NativeMemory.Free(_unmanagedValue);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NativeMemory.Unix.cs (2)
22/// <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> 83/// <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\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Overlapped.cs (1)
213NativeMemory.Free(pNativeOverlapped);
System\GC.NativeAot.cs (1)
363NativeMemory.Free(pWorkItem);
System\Runtime\InteropServices\PInvokeMarshal.cs (1)
165NativeMemory.Free((void*)ContextData);
System.Private.TypeLoader (1)
Internal\Runtime\TypeLoader\EETypeCreator.cs (1)
119NativeMemory.Free(memoryPtrToFree);
System.Runtime.InteropServices.JavaScript (10)
System\Runtime\InteropServices\JavaScript\JSFunctionBinding.cs (1)
443NativeMemory.Free((void*)exceptionPtr);
System\Runtime\InteropServices\JavaScript\JSHostImplementation.cs (1)
186NativeMemory.Free(signature.Header);
System\Runtime\InteropServices\JavaScript\Marshaling\JSMarshalerArgument.Byte.cs (1)
95NativeMemory.Free((void*)slot.IntPtrValue);
System\Runtime\InteropServices\JavaScript\Marshaling\JSMarshalerArgument.Double.cs (1)
98NativeMemory.Free((void*)slot.IntPtrValue);
System\Runtime\InteropServices\JavaScript\Marshaling\JSMarshalerArgument.Int32.cs (1)
95NativeMemory.Free((void*)slot.IntPtrValue);
System\Runtime\InteropServices\JavaScript\Marshaling\JSMarshalerArgument.JSObject.cs (1)
91NativeMemory.Free((void*)slot.IntPtrValue);
System\Runtime\InteropServices\JavaScript\Marshaling\JSMarshalerArgument.Object.cs (1)
372NativeMemory.Free((void*)slot.IntPtrValue);
System\Runtime\InteropServices\JavaScript\Marshaling\JSMarshalerArgument.Single.cs (1)
98NativeMemory.Free((void*)slot.IntPtrValue);
System\Runtime\InteropServices\JavaScript\Marshaling\JSMarshalerArgument.String.cs (2)
27NativeMemory.Free((void*)slot.IntPtrValue); 99NativeMemory.Free((void*)slot.IntPtrValue);
System.Security.Cryptography (1)
System\Security\Cryptography\FixedMemoryKeyBox.cs (1)
25NativeMemory.Free((void*)handle);