6 references to IsAllocated
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConditionalWeakTable.cs (2)
776
if (entry.depHnd.
IsAllocated
&& entry.depHnd.UnsafeGetTarget() is null)
844
if (hashCode != -1 && depHnd.
IsAllocated
)
src\System\Runtime\DependentHandle.cs (4)
26
/// The <see cref="
IsAllocated
"/>, <see cref="Target"/>, <see cref="Dependent"/> and <see cref="TargetAndDependent"/>
85
/// Thrown if <see cref="
IsAllocated
"/> is <see langword="false"/> or if the input value is not <see langword="null"/>.</exception>
122
/// <exception cref="InvalidOperationException">Thrown if <see cref="
IsAllocated
"/> is <see langword="false"/>.</exception>
158
/// <exception cref="InvalidOperationException">Thrown if <see cref="
IsAllocated
"/> is <see langword="false"/>.</exception>