4 writes to _state
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\SafeHandle.cs (4)
60_state = StateBits.RefCountOne; // Ref count 1 and not closed or disposed. 123Interlocked.Or(ref _state, StateBits.Closed); 173} while (Interlocked.CompareExchange(ref _state, newState, oldState) != oldState); 248} while (Interlocked.CompareExchange(ref _state, newState, oldState) != oldState);
4 references to _state
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\SafeHandle.cs (4)
36/// <summary>Bitmasks for the <see cref="_state"/> field.</summary> 93public bool IsClosed => (_state & StateBits.Closed) == StateBits.Closed; 164oldState = _state; 206oldState = _state;