4 writes to Value
System.Diagnostics.DiagnosticSource (4)
System\Diagnostics\Activity.cs (3)
1532
public readonly ref T Current => ref _currentNode.
Value
;
1588
current.
Value
= value;
1772
current.
Value
= value;
System\Diagnostics\DiagLinkedList.cs (1)
12
public DiagNode(T value) =>
Value
= value;
35 references to Value
System.Diagnostics.DiagnosticSource (35)
System\Diagnostics\Activity.cs (17)
399
yield return current.
Value
;
1586
if (current.
Value
.Key == value.Key)
1610
if (_first.
Value
.Key == key)
1620
if (previous.Next.
Value
.Key == key)
1710
if (current.
Value
.Key == key)
1712
return current.
Value
.Value;
1729
if (_first.
Value
.Key == key)
1743
if (previous.Next.
Value
.Key == key)
1770
if (current.
Value
.Key == value.Key)
1803
if (current.
Value
.Value is string || current.
Value
.Value == null)
1805
yield 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)
81
if (compare(value, current.
Value
))
106
if (compare(previous.
Value
, value))
113
return previous.
Value
;
120
if (compare(current.
Value
, value))
128
return current.
Value
;
229
ActivityLink al = (ActivityLink)(object)current.
Value
!;
242
ActivityEvent ae = (ActivityEvent)(object)current.
Value
!;
255
vsb.Append(current.
Value
?.ToString() ?? "null");
283
public T Current => _currentNode.
Value
;
System\Diagnostics\Metrics\Instrument.common.cs (2)
99
current.
Value
.Listener.NotifyMeasurement(this, measurement, tags, current.
Value
.State);
System\Diagnostics\Metrics\Instrument.cs (3)
153
current.
Value
.Listener.DisableMeasurementEvents(this);
200
if (object.ReferenceEquals(listener, current.
Value
.Listener))
202
return current.
Value
.State;
System\Diagnostics\Metrics\MeterListener.cs (4)
222
if (current.
Value
.IsObservable)
226
current.
Value
.Observe(this);
276
object? state = current.
Value
.DisableMeasurements(this);
277
callbacksArguments?.Add(current.
Value
, state);