6 references to Closed
System.Private.CoreLib (6)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\SafeHandle.cs (6)
93
public bool IsClosed => (_state & StateBits.
Closed
) == StateBits.
Closed
;
123
Interlocked.Or(ref _state, StateBits.
Closed
);
165
ObjectDisposedException.ThrowIf((oldState & StateBits.
Closed
) != 0, this);
230
performRelease = ((oldState & (StateBits.RefCount | StateBits.
Closed
)) == StateBits.RefCountOne) &&
242
newState |= StateBits.
Closed
;