56 references to IsAllocated
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\ResponseBody.cs (1)
296if (pin.IsAllocated)
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpServer.cs (1)
142if (_httpServerHandle.IsAllocated)
Microsoft.ML.LightGbm (2)
WrappedLightGbmDataset.cs (2)
78if (gcValues[i].IsAllocated) 80if (gcIndices[i].IsAllocated)
Microsoft.ML.Mkl.Components (1)
SymSgdClassificationTrainer.cs (1)
809if (stateGCHandle.IsAllocated)
Microsoft.NET.StringTools (4)
WeakStringCache.cs (4)
41public bool IsUsed => weakHandle.IsAllocated && weakHandle.Target != null; 50if (!weakHandle.IsAllocated) 74if (weakHandle.IsAllocated) 89if (weakHandle.IsAllocated)
Microsoft.NET.StringTools.net35 (4)
WeakStringCache.cs (4)
41public bool IsUsed => weakHandle.IsAllocated && weakHandle.Target != null; 50if (!weakHandle.IsAllocated) 74if (weakHandle.IsAllocated) 89if (weakHandle.IsAllocated)
PresentationCore (1)
MS\Internal\FontCache\FontSource.cs (1)
419Debug.Assert(_memoryHandle.IsAllocated);
PresentationFramework (3)
MS\Internal\WindowsRuntime\Generated\WinRT\Marshalers.cs (1)
18if (handle.IsAllocated)
System\Windows\Documents\WinEventHandler.cs (2)
73if (_gchThis.IsAllocated) 82if (_gchThis.IsAllocated)
System.Net.Quic (8)
System\Net\Quic\Internal\MsQuicSafeHandle.cs (1)
131if (_context.IsAllocated)
System\Net\Quic\Internal\ResettableValueTaskSource.cs (2)
101Debug.Assert(!_keepAlive.IsAllocated); 210if (_keepAlive.IsAllocated)
System\Net\Quic\Internal\ValueTaskSource.cs (2)
84Debug.Assert(!_keepAlive.IsAllocated); 135if (_keepAlive.IsAllocated)
System\Net\Quic\QuicConnection.cs (1)
787if (!stateHandle.IsAllocated || stateHandle.Target is not QuicConnection instance)
System\Net\Quic\QuicListener.cs (1)
376if (!stateHandle.IsAllocated || stateHandle.Target is not QuicListener instance)
System\Net\Quic\QuicStream.cs (1)
678if (!stateHandle.IsAllocated || stateHandle.Target is not QuicStream instance)
System.Net.Security (5)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
517if (alpnHandle.IsAllocated)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Ssl.cs (1)
495if (AlpnHandle.IsAllocated)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.SslCtx.cs (2)
148Debug.Assert(_gch.IsAllocated); 164Debug.Assert(_gch.IsAllocated);
System\Net\Security\SslStreamPal.Unix.cs (1)
225&& sslContext.AlpnHandle.IsAllocated && sslContext.AlpnHandle.Target == null)
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\Buffers\MemoryHandle.cs (1)
42if (_handle.IsAllocated)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\TraceLoggingEventSource.cs (1)
726if (pPins[i].IsAllocated)
src\libraries\System.Private.CoreLib\src\System\IO\PinnedBufferMemoryStream.cs (1)
43if (_pinningHandle.IsAllocated)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (5)
631if (_proxyHandle.IsAllocated) 636if (_proxyHandleTrackingResurrection.IsAllocated) 653if (_proxyHandleTrackingResurrection.IsAllocated && _proxyHandleTrackingResurrection.Target != null) 710if (_nativeObjectWrapperWeakHandle.IsAllocated) 1321Debug.Assert(rcwEntry.IsAllocated);
src\libraries\System.Private.CoreLib\src\System\Threading\Win32ThreadPoolNativeOverlapped.cs (2)
139if (!data._pinnedData[i].IsAllocated) 149if (!data._pinnedData[0].IsAllocated)
src\libraries\System.Private.CoreLib\src\System\Threading\Win32ThreadPoolNativeOverlapped.OverlappedData.cs (1)
29if (_pinnedData[i].IsAllocated && _pinnedData[i].Target != null)
System.Private.Windows.Core (1)
Windows\Win32\System\Variant\VARIANT.cs (1)
425if (pin.IsAllocated)
System.Resources.Extensions (1)
src\libraries\System.Private.CoreLib\src\System\IO\PinnedBufferMemoryStream.cs (1)
43if (_pinningHandle.IsAllocated)
System.Runtime.Caching (1)
System\Runtime\Caching\SRef.cs (1)
63if (_handle.IsAllocated)
System.Windows.Forms (9)
System\Windows\Forms\Control.ControlNativeWindow.cs (2)
41if (!_rootRef.IsAllocated) 48if (_rootRef.IsAllocated)
System\Windows\Forms\NativeWindow.cs (4)
253if (oldRoot.IsAllocated) 561s_windowHandles.TryGetValue(handle, out GCHandle value) && value.IsAllocated 623if (gcHandle.IsAllocated) 728if (root.IsAllocated)
System\Windows\Forms\NotifyIcon.NotifyIconNativeWindow.cs (2)
41if (!_rootRef.IsAllocated) 48if (_rootRef.IsAllocated)
System\Windows\Forms\Timer.cs (1)
120if (_timerRoot.IsAllocated)
System.Windows.Forms.Primitives.TestUtilities (1)
Metafiles\EmfScope.cs (1)
92if (enumeratorHandle.IsAllocated)
UIAutomationClient (1)
MS\Internal\Automation\WinEventWrap.cs (1)
66if (_gchThis.IsAllocated)
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\MSAAWinEventWrap.cs (1)
67if (_gchThis.IsAllocated)