81 references to Free
aspire (1)
Processes\DetachedProcessLauncher.Windows.cs (1)
122pinnedHandles.Free();
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\ResponseBody.cs (1)
298pin.Free();
Microsoft.AspNetCore.Server.IIS (4)
Core\IISHttpContext.cs (1)
834_thisHandle.Free();
Core\IISHttpServer.cs (1)
144_httpServerHandle.Free();
Core\IO\WebSocketsAsyncIOEngine.Read.cs (1)
83_thisHandle.Free();
Core\IO\WebSocketsAsyncIOEngine.Write.cs (1)
47_thisHandle.Free();
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
BlindAggregatorFactory.cs (1)
70GCHandle.FromIntPtr(_gcHandle).Free();
Microsoft.ML.LightGbm (2)
WrappedLightGbmDataset.cs (2)
79gcValues[i].Free(); 81gcIndices[i].Free();
Microsoft.ML.Mkl.Components (2)
SymSgdClassificationTrainer.cs (2)
351GcHandle.Free(); 810stateGCHandle.Free();
Microsoft.ML.Vision (2)
ImageClassificationTrainer.cs (2)
1055featureBufferHandle.Free(); 1056labelBufferHandle.Free();
Microsoft.NET.StringTools (1)
WeakStringCache.cs (1)
91weakHandle.Free();
Microsoft.NET.StringTools.net35 (1)
WeakStringCache.cs (1)
91weakHandle.Free();
PresentationCore (5)
MS\Internal\FontCache\FontSource.cs (1)
420_memoryHandle.Free();
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CharacterBuffer.cs (2)
229gcHandle.Free(); 328gcHandle.Free();
System\Windows\Media\EventProxy.cs (1)
31((System.Runtime.InteropServices.GCHandle)(pEPD.m_handle)).Free();
System\Windows\Media\StreamAsIStream.cs (1)
55((System.Runtime.InteropServices.GCHandle)(pSD.m_handle)).Free();
PresentationFramework (3)
MS\Internal\WindowsRuntime\Generated\WinRT\Marshalers.cs (1)
20handle.Free();
System\Windows\Documents\WinEventHandler.cs (1)
75_gchThis.Free();
System\Windows\Standard\MessageWindow.cs (1)
78gcHandle.Free();
Roslyn.Test.PdbUtilities (1)
Shared\DummyMetadataImport.cs (1)
43pinnedBuffer.Free();
System.Drawing.Common (1)
System\Drawing\Font.cs (1)
295handle.Free();
System.Net.Quic (11)
System\Net\Quic\Internal\MsQuicSafeHandle.cs (1)
133_context.Free();
System\Net\Quic\Internal\ResettableValueTaskSource.cs (2)
212_keepAlive.Free(); 327((GCHandle)state!).Free();
System\Net\Quic\Internal\ValueTaskSource.cs (1)
137_keepAlive.Free();
System\Net\Quic\QuicConnection.cs (3)
333context.Free(); 365context.Free(); 584keepObject.Free();
System\Net\Quic\QuicListener.cs (2)
137context.Free(); 202keepObject.Free();
System\Net\Quic\QuicStream.cs (2)
186context.Free(); 225context.Free();
System.Net.Requests (1)
System\Net\TimerThread.cs (1)
247((GCHandle)_thisHandle).Free();
System.Net.Security (3)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
519alpnHandle.Free();
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Ssl.cs (1)
498AlpnHandle.Free();
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.SslCtx.cs (1)
149_gch.Free();
System.Net.Sockets (3)
System\Net\Sockets\SocketPal.Unix.cs (3)
343handles[i].Free(); 469handles[i].Free(); 621handles[i].Free();
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\Buffers\MemoryHandle.cs (1)
44_handle.Free();
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventProvider.cs (1)
638rgGCHandle[i].Free();
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\TraceLoggingEventSource.cs (1)
728pPins[i].Free();
src\libraries\System.Private.CoreLib\src\System\IO\PinnedBufferMemoryStream.cs (1)
45_pinningHandle.Free();
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (5)
633_proxyHandle.Free(); 638_proxyHandleTrackingResurrection.Free(); 713_nativeObjectWrapperWeakHandle.Free(); 1386existingHandle.Free(); 1412cachedRef.Free();
src\libraries\System.Private.CoreLib\src\System\Threading\Overlapped.cs (1)
210GCHandleRef(pNativeOverlapped, i).Free();
src\libraries\System.Private.CoreLib\src\System\Threading\WaitSubsystem.HandleManager.Unix.cs (1)
82GCHandle.FromIntPtr(handle).Free();
System.Private.Windows.Core (6)
Windows\Win32\PInvokeCore.EnumChildWindows.cs (1)
23gcHandle.Free();
Windows\Win32\PInvokeCore.EnumDisplayMonitors.cs (1)
19gcHandle.Free();
Windows\Win32\PInvokeCore.EnumThreadWindows.cs (1)
25gcHandle.Free();
Windows\Win32\PInvokeCore.EnumWindows.cs (1)
22gcHandle.Free();
Windows\Win32\System\Com\Lifetime.cs (1)
31GCHandle.FromIntPtr((nint)lifetime->_handle).Free();
Windows\Win32\System\Variant\VARIANT.cs (1)
427pin.Free();
System.Reflection.Metadata (2)
System\Reflection\Internal\Utilities\PinnedObject.cs (1)
45_handle.Free();
System\Reflection\Metadata\Internal\VirtualHeap.cs (1)
62blobPair.Value.Handle.Free();
System.Resources.Extensions (1)
src\libraries\System.Private.CoreLib\src\System\IO\PinnedBufferMemoryStream.cs (1)
45_pinningHandle.Free();
System.Runtime.Caching (1)
System\Runtime\Caching\SRef.cs (1)
70_handle.Free();
System.Security.Cryptography (1)
System\Security\Cryptography\CryptoStream.cs (1)
737pinHandle.Free();
System.Windows.Forms (7)
System\Windows\Forms\Control.ControlNativeWindow.cs (1)
50_rootRef.Free();
System\Windows\Forms\Dialogs\CommonDialogs\FolderBrowserDialog.cs (1)
478handle.Free();
System\Windows\Forms\Dialogs\TaskDialog\TaskDialog.cs (1)
691instanceHandle.Free();
System\Windows\Forms\NativeWindow.cs (2)
264oldRoot.Free(); 730root.Free();
System\Windows\Forms\NotifyIcon.NotifyIconNativeWindow.cs (1)
50_rootRef.Free();
System\Windows\Forms\Timer.cs (1)
122_timerRoot.Free();
System.Windows.Forms.Primitives (1)
Windows\Win32\PInvoke.SendMessageCallback.cs (1)
30gcHandle.Free();
System.Windows.Forms.Primitives.TestUtilities (1)
Metafiles\EmfScope.cs (1)
94enumeratorHandle.Free();
System.Windows.Forms.TestUtilities (1)
PropertyGridInternal\SubPropertyGrid.cs (1)
71callbackHandle.Free();
UIAutomationClient (3)
MS\Internal\Automation\EventListenerClientSide.cs (1)
55_gch.Free();
MS\Internal\Automation\HwndProxyElementProvider.cs (1)
1582gch.Free();
MS\Internal\Automation\WinEventWrap.cs (1)
68_gchThis.Free();
UIAutomationClientSideProviders (3)
MS\Internal\AutomationProxies\Misc.cs (1)
351gch.Free();
MS\Internal\AutomationProxies\MSAAWinEventWrap.cs (1)
69_gchThis.Free();
MS\Internal\AutomationProxies\WinEventTracker.cs (1)
184hp._procHookHandle.Free ();