21 instantiations of DiagNode
System.Diagnostics.DiagnosticSource (21)
System\Diagnostics\Activity.cs (14)
1573
private static readonly DiagNode<T> s_Empty = new
DiagNode
<T>(default!);
1668
public BaggageLinkedList(KeyValuePair<string, string?> firstValue, bool set = false) => _first = ((set && firstValue.Value == null) ? null : new
DiagNode
<KeyValuePair<string, string?>>(firstValue));
1674
DiagNode<KeyValuePair<string, string?>> newNode = new
DiagNode
<KeyValuePair<string, string?>>(value);
1705
DiagNode<KeyValuePair<string, string?>> newNode = new
DiagNode
<KeyValuePair<string, string?>>(value);
1752
public TagsLinkedList(KeyValuePair<string, object?> firstValue, bool set = false) => _last = _first = ((set && firstValue.Value == null) ? null : new
DiagNode
<KeyValuePair<string, object?>>(firstValue));
1756
_last = _first = new
DiagNode
<KeyValuePair<string, object?>>(e.Current);
1760
_last.Next = new
DiagNode
<KeyValuePair<string, object?>>(e.Current);
1769
_last = _first = new
DiagNode
<KeyValuePair<string, object?>>(tags[0]);
1773
_last.Next = new
DiagNode
<KeyValuePair<string, object?>>(tags[i]);
1793
_last = _first = new
DiagNode
<KeyValuePair<string, object?>>(e.Current);
1797
_last!.Next = new
DiagNode
<KeyValuePair<string, object?>>(e.Current);
1803
_last.Next = new
DiagNode
<KeyValuePair<string, object?>>(e.Current);
1810
DiagNode<KeyValuePair<string, object?>> newNode = new
DiagNode
<KeyValuePair<string, object?>>(value);
1902
DiagNode<KeyValuePair<string, object?>> newNode = new
DiagNode
<KeyValuePair<string, object?>>(value);
System\Diagnostics\DiagLinkedList.cs (7)
25
public DiagLinkedList(T firstValue) => _last = _first = new
DiagNode
<T>(firstValue);
30
_last = _first = new
DiagNode
<T>(e.Current);
34
_last.Next = new
DiagNode
<T>(e.Current);
66
DiagNode<T> newNode = new
DiagNode
<T>(value);
89
DiagNode<T> newNode = new
DiagNode
<T>(value);
141
DiagNode<T> newNode = new
DiagNode
<T>(value);
272
private static readonly DiagNode<T> s_Empty = new
DiagNode
<T>(default!);
43 references to DiagNode
System.Diagnostics.DiagnosticSource (43)
System\Diagnostics\Activity.cs (22)
404
for (
DiagNode
<KeyValuePair<string, string?>>? current = activity._baggage.First; current != null; current = current.Next)
1573
private static readonly
DiagNode
<T> s_Empty = new DiagNode<T>(default!);
1575
private
DiagNode
<T>? _nextNode;
1576
private
DiagNode
<T> _currentNode;
1578
internal Enumerator(
DiagNode
<T>? head)
1628
private
DiagNode
<KeyValuePair<string, string?>>? _next;
1666
private
DiagNode
<KeyValuePair<string, string?>>? _first;
1670
public
DiagNode
<KeyValuePair<string, string?>>? First => _first;
1674
DiagNode
<KeyValuePair<string, string?>> newNode = new DiagNode<KeyValuePair<string, string?>>(value);
1693
DiagNode
<KeyValuePair<string, string?>>? current = _first;
1705
DiagNode
<KeyValuePair<string, string?>> newNode = new DiagNode<KeyValuePair<string, string?>>(value);
1726
DiagNode
<KeyValuePair<string, string?>> previous = _first;
1747
private
DiagNode
<KeyValuePair<string, object?>>? _first;
1748
private
DiagNode
<KeyValuePair<string, object?>>? _last;
1778
public
DiagNode
<KeyValuePair<string, object?>>? First => _first;
1810
DiagNode
<KeyValuePair<string, object?>> newNode = new DiagNode<KeyValuePair<string, object?>>(value);
1830
DiagNode
<KeyValuePair<string, object?>>? current = _first;
1862
DiagNode
<KeyValuePair<string, object?>> previous = _first;
1890
DiagNode
<KeyValuePair<string, object?>>? current = _first;
1902
DiagNode
<KeyValuePair<string, object?>> newNode = new DiagNode<KeyValuePair<string, object?>>(value);
1922
DiagNode
<KeyValuePair<string, object?>>? current = _first;
1949
DiagNode
<KeyValuePair<string, object?>>? current = _first.Next;
System\Diagnostics\DiagLinkedList.cs (16)
14
public
DiagNode
<T>? Next;
20
private
DiagNode
<T>? _first;
21
private
DiagNode
<T>? _last;
39
public
DiagNode
<T>? First => _first;
49
private void UnsafeAdd(
DiagNode
<T> newNode)
66
DiagNode
<T> newNode = new DiagNode<T>(value);
78
DiagNode
<T>? current = _first;
89
DiagNode
<T> newNode = new DiagNode<T>(value);
100
DiagNode
<T>? previous = _first;
116
DiagNode
<T>? current = previous.Next;
141
DiagNode
<T> newNode = new DiagNode<T>(value);
216
DiagNode
<T>? current = _first;
272
private static readonly
DiagNode
<T> s_Empty = new DiagNode<T>(default!);
274
private
DiagNode
<T>? _nextNode;
275
private
DiagNode
<T> _currentNode;
277
public DiagEnumerator(
DiagNode
<T>? head)
System\Diagnostics\Metrics\Instrument.common.cs (1)
96
DiagNode
<ListenerSubscription>? current = _subscriptions.First;
System\Diagnostics\Metrics\Instrument.cs (2)
152
DiagNode
<ListenerSubscription>? current = _subscriptions.First;
199
DiagNode
<ListenerSubscription>? current = _subscriptions.First;
System\Diagnostics\Metrics\MeterListener.cs (2)
219
DiagNode
<Instrument>? current = _enabledMeasurementInstruments.First;
266
DiagNode
<Instrument>? current = _enabledMeasurementInstruments.First;