4 writes to Value
System.Diagnostics.DiagnosticSource (4)
System\Diagnostics\Activity.cs (3)
1532public readonly ref T Current => ref _currentNode.Value; 1588current.Value = value; 1772current.Value = value;
System\Diagnostics\DiagLinkedList.cs (1)
11public DiagNode(T value) => Value = value;
32 references to Value
System.Diagnostics.DiagnosticSource (32)
System\Diagnostics\Activity.cs (17)
399yield return current.Value; 1586if (current.Value.Key == value.Key) 1610if (_first.Value.Key == key) 1620if (previous.Next.Value.Key == key) 1710if (current.Value.Key == key) 1712return current.Value.Value; 1729if (_first.Value.Key == key) 1743if (previous.Next.Value.Key == key) 1770if (current.Value.Key == value.Key) 1803if (current.Value.Value is string || current.Value.Value == null) 1805yield return new KeyValuePair<string, string?>(current.Value.Key, (string?)current.Value.Value); 1822_stringBuilder.Append(_first.Value.Key); 1824_stringBuilder.Append(_first.Value.Value); 1830_stringBuilder.Append(current.Value.Key); 1832_stringBuilder.Append(current.Value.Value);
System\Diagnostics\DiagLinkedList.cs (6)
80if (compare(value, current.Value)) 105if (compare(previous.Value, value)) 112return previous.Value; 119if (compare(current.Value, value)) 127return current.Value; 167public T Current => _currentNode.Value;
System\Diagnostics\Metrics\Instrument.common.cs (2)
99current.Value.Listener.NotifyMeasurement(this, measurement, tags, current.Value.State);
System\Diagnostics\Metrics\Instrument.cs (3)
153current.Value.Listener.DisableMeasurementEvents(this); 200if (object.ReferenceEquals(listener, current.Value.Listener)) 202return current.Value.State;
System\Diagnostics\Metrics\MeterListener.cs (4)
222if (current.Value.IsObservable) 226current.Value.Observe(this); 276object? state = current.Value.DisableMeasurements(this); 277callbacksArguments?.Add(current.Value, state);