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)
12public DiagNode(T value) => Value = value;
35 references to Value
System.Diagnostics.DiagnosticSource (35)
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 (9)
81if (compare(value, current.Value)) 106if (compare(previous.Value, value)) 113return previous.Value; 120if (compare(current.Value, value)) 128return current.Value; 229ActivityLink al = (ActivityLink)(object)current.Value!; 242ActivityEvent ae = (ActivityEvent)(object)current.Value!; 255vsb.Append(current.Value?.ToString() ?? "null"); 283public 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);