19 instantiations of DiagNode
System.Diagnostics.DiagnosticSource (19)
System\Diagnostics\Activity.cs (12)
1509
private static readonly DiagNode<T> s_Empty = new
DiagNode
<T>(default!);
1556
public BaggageLinkedList(KeyValuePair<string, string?> firstValue, bool set = false) => _first = ((set && firstValue.Value == null) ? null : new
DiagNode
<KeyValuePair<string, string?>>(firstValue));
1562
DiagNode<KeyValuePair<string, string?>> newNode = new
DiagNode
<KeyValuePair<string, string?>>(value);
1593
DiagNode<KeyValuePair<string, string?>> newNode = new
DiagNode
<KeyValuePair<string, string?>>(value);
1640
public TagsLinkedList(KeyValuePair<string, object?> firstValue, bool set = false) => _last = _first = ((set && firstValue.Value == null) ? null : new
DiagNode
<KeyValuePair<string, object?>>(firstValue));
1644
_last = _first = new
DiagNode
<KeyValuePair<string, object?>>(e.Current);
1648
_last.Next = new
DiagNode
<KeyValuePair<string, object?>>(e.Current);
1668
_last = _first = new
DiagNode
<KeyValuePair<string, object?>>(e.Current);
1672
_last!.Next = new
DiagNode
<KeyValuePair<string, object?>>(e.Current);
1678
_last.Next = new
DiagNode
<KeyValuePair<string, object?>>(e.Current);
1685
DiagNode<KeyValuePair<string, object?>> newNode = new
DiagNode
<KeyValuePair<string, object?>>(value);
1777
DiagNode<KeyValuePair<string, object?>> newNode = new
DiagNode
<KeyValuePair<string, object?>>(value);
System\Diagnostics\DiagLinkedList.cs (7)
24
public DiagLinkedList(T firstValue) => _last = _first = new
DiagNode
<T>(firstValue);
29
_last = _first = new
DiagNode
<T>(e.Current);
33
_last.Next = new
DiagNode
<T>(e.Current);
65
DiagNode<T> newNode = new
DiagNode
<T>(value);
88
DiagNode<T> newNode = new
DiagNode
<T>(value);
140
DiagNode<T> newNode = new
DiagNode
<T>(value);
156
private static readonly DiagNode<T> s_Empty = new
DiagNode
<T>(default!);
41 references to DiagNode
System.Diagnostics.DiagnosticSource (41)
System\Diagnostics\Activity.cs (21)
397
for (
DiagNode
<KeyValuePair<string, string?>>? current = activity._baggage.First; current != null; current = current.Next)
1509
private static readonly
DiagNode
<T> s_Empty = new DiagNode<T>(default!);
1511
private
DiagNode
<T>? _nextNode;
1512
private
DiagNode
<T> _currentNode;
1514
internal Enumerator(
DiagNode
<T>? head)
1554
private
DiagNode
<KeyValuePair<string, string?>>? _first;
1558
public
DiagNode
<KeyValuePair<string, string?>>? First => _first;
1562
DiagNode
<KeyValuePair<string, string?>> newNode = new DiagNode<KeyValuePair<string, string?>>(value);
1581
DiagNode
<KeyValuePair<string, string?>>? current = _first;
1593
DiagNode
<KeyValuePair<string, string?>> newNode = new DiagNode<KeyValuePair<string, string?>>(value);
1614
DiagNode
<KeyValuePair<string, string?>> previous = _first;
1635
private
DiagNode
<KeyValuePair<string, object?>>? _first;
1636
private
DiagNode
<KeyValuePair<string, object?>>? _last;
1653
public
DiagNode
<KeyValuePair<string, object?>>? First => _first;
1685
DiagNode
<KeyValuePair<string, object?>> newNode = new DiagNode<KeyValuePair<string, object?>>(value);
1705
DiagNode
<KeyValuePair<string, object?>>? current = _first;
1737
DiagNode
<KeyValuePair<string, object?>> previous = _first;
1765
DiagNode
<KeyValuePair<string, object?>>? current = _first;
1777
DiagNode
<KeyValuePair<string, object?>> newNode = new DiagNode<KeyValuePair<string, object?>>(value);
1797
DiagNode
<KeyValuePair<string, object?>>? current = _first;
1824
DiagNode
<KeyValuePair<string, object?>>? current = _first.Next;
System\Diagnostics\DiagLinkedList.cs (15)
13
public
DiagNode
<T>? Next;
19
private
DiagNode
<T>? _first;
20
private
DiagNode
<T>? _last;
38
public
DiagNode
<T>? First => _first;
48
private void UnsafeAdd(
DiagNode
<T> newNode)
65
DiagNode
<T> newNode = new DiagNode<T>(value);
77
DiagNode
<T>? current = _first;
88
DiagNode
<T> newNode = new DiagNode<T>(value);
99
DiagNode
<T>? previous = _first;
115
DiagNode
<T>? current = previous.Next;
140
DiagNode
<T> newNode = new DiagNode<T>(value);
156
private static readonly
DiagNode
<T> s_Empty = new DiagNode<T>(default!);
158
private
DiagNode
<T>? _nextNode;
159
private
DiagNode
<T> _currentNode;
161
public DiagEnumerator(
DiagNode
<T>? head)
System\Diagnostics\Metrics\Instrument.common.cs (1)
96
DiagNode
<ListenerSubscription>? current = _subscriptions.First;
System\Diagnostics\Metrics\Instrument.cs (2)
150
DiagNode
<ListenerSubscription>? current = _subscriptions.First;
197
DiagNode
<ListenerSubscription>? current = _subscriptions.First;
System\Diagnostics\Metrics\MeterListener.cs (2)
219
DiagNode
<Instrument>? current = _enabledMeasurementInstruments.First;
266
DiagNode
<Instrument>? current = _enabledMeasurementInstruments.First;