6 references to Closed
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\SafeHandle.cs (6)
100
public bool IsClosed => (_state & StateBits.
Closed
) == StateBits.
Closed
;
130
Interlocked.Or(ref _state, StateBits.
Closed
);
172
ObjectDisposedException.ThrowIf((oldState & StateBits.
Closed
) != 0, this);
237
performRelease = ((oldState & (StateBits.RefCount | StateBits.
Closed
)) == StateBits.RefCountOne) &&
249
newState |= StateBits.
Closed
;