4 writes to Value
System.Diagnostics.DiagnosticSource (4)
System\Diagnostics\Activity.cs (3)
1529public readonly ref T Current => ref _currentNode.Value; 1585current.Value = value; 1769current.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; 1583if (current.Value.Key == value.Key) 1607if (_first.Value.Key == key) 1617if (previous.Next.Value.Key == key) 1707if (current.Value.Key == key) 1709return current.Value.Value; 1726if (_first.Value.Key == key) 1740if (previous.Next.Value.Key == key) 1767if (current.Value.Key == value.Key) 1800if (current.Value.Value is string || current.Value.Value == null) 1802yield return new KeyValuePair<string, string?>(current.Value.Key, (string?)current.Value.Value); 1819_stringBuilder.Append(_first.Value.Key); 1821_stringBuilder.Append(_first.Value.Value); 1827_stringBuilder.Append(current.Value.Key); 1829_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);