5 writes to _stateUnion
System.Diagnostics.DiagnosticSource (5)
System\Diagnostics\Metrics\AggregatorStore.cs (5)
65_stateUnion = null; 141if (Interlocked.CompareExchange(ref _stateUnion, newState, null) is null) 158if (Interlocked.CompareExchange(ref _stateUnion, newState, state) == state) 177if (Interlocked.CompareExchange(ref _stateUnion, newState, null) is null) 194if (Interlocked.CompareExchange(ref _stateUnion, newState, state) == state)
4 references to _stateUnion
System.Diagnostics.DiagnosticSource (4)
System\Diagnostics\Metrics\AggregatorStore.cs (4)
94object? stateUnion = _stateUnion; 95switch (_stateUnion) 129object? state = _stateUnion; 173object? state = _stateUnion;