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