4 writes to _state
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\SafeHandle.cs (4)
67_state = StateBits.RefCountOne; // Ref count 1 and not closed or disposed. 130Interlocked.Or(ref _state, StateBits.Closed); 180} while (Interlocked.CompareExchange(ref _state, newState, oldState) != oldState); 255} while (Interlocked.CompareExchange(ref _state, newState, oldState) != oldState);
4 references to _state
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\SafeHandle.cs (4)
43/// <summary>Bitmasks for the <see cref="_state"/> field.</summary> 100public bool IsClosed => (_state & StateBits.Closed) == StateBits.Closed; 171oldState = _state; 213oldState = _state;