6 references to IsAllocated
System.Net.Security (1)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Ssl.cs (1)
651
if (_authOptionsHandle.
IsAllocated
)
System.Private.CoreLib (5)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Gen2GcCallback.cs (1)
56
if (_weakTargetObj.
IsAllocated
)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (3)
668
WeakGCHandle<object> resurrectionHandle = _proxyHandleTrackingResurrection.
IsAllocated
672
if (resurrectionHandle.
IsAllocated
&& resurrectionHandle.TryGetTarget(out _))
1462
Debug.Assert(rcwEntry.
IsAllocated
);
System\Runtime\InteropServices\PInvokeMarshal.cs (1)
152
if (handle.
IsAllocated
)