4 writes to Value
System.Diagnostics.DiagnosticSource (4)
System\Diagnostics\Activity.cs (3)
1594public readonly ref T Current => ref _currentNode.Value; 1698current.Value = value; 1895current.Value = value;
System\Diagnostics\DiagLinkedList.cs (1)
12public DiagNode(T value) => Value = value;
36 references to Value
System.Diagnostics.DiagnosticSource (36)
System\Diagnostics\Activity.cs (18)
406yield return current.Value; 1658Current = _next.Value; 1696if (current.Value.Key == value.Key) 1720if (_first.Value.Key == key) 1730if (previous.Next.Value.Key == key) 1833if (current.Value.Key == key) 1835return current.Value.Value; 1852if (_first.Value.Key == key) 1866if (previous.Next.Value.Key == key) 1893if (current.Value.Key == value.Key) 1926if (current.Value.Value is string || current.Value.Value == null) 1928yield return new KeyValuePair<string, string?>(current.Value.Key, (string?)current.Value.Value); 1945_stringBuilder.Append(_first.Value.Key); 1947_stringBuilder.Append(_first.Value.Value); 1953_stringBuilder.Append(current.Value.Key); 1955_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)
155current.Value.Listener.DisableMeasurementEvents(this); 202if (object.ReferenceEquals(listener, current.Value.Listener)) 204return 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);