19 instantiations of DiagNode
System.Diagnostics.DiagnosticSource (19)
System\Diagnostics\Activity.cs (12)
1511private static readonly DiagNode<T> s_Empty = new DiagNode<T>(default!); 1558public BaggageLinkedList(KeyValuePair<string, string?> firstValue, bool set = false) => _first = ((set && firstValue.Value == null) ? null : new DiagNode<KeyValuePair<string, string?>>(firstValue)); 1564DiagNode<KeyValuePair<string, string?>> newNode = new DiagNode<KeyValuePair<string, string?>>(value); 1595DiagNode<KeyValuePair<string, string?>> newNode = new DiagNode<KeyValuePair<string, string?>>(value); 1642public TagsLinkedList(KeyValuePair<string, object?> firstValue, bool set = false) => _last = _first = ((set && firstValue.Value == null) ? null : new DiagNode<KeyValuePair<string, object?>>(firstValue)); 1646_last = _first = new DiagNode<KeyValuePair<string, object?>>(e.Current); 1650_last.Next = new DiagNode<KeyValuePair<string, object?>>(e.Current); 1670_last = _first = new DiagNode<KeyValuePair<string, object?>>(e.Current); 1674_last!.Next = new DiagNode<KeyValuePair<string, object?>>(e.Current); 1680_last.Next = new DiagNode<KeyValuePair<string, object?>>(e.Current); 1687DiagNode<KeyValuePair<string, object?>> newNode = new DiagNode<KeyValuePair<string, object?>>(value); 1779DiagNode<KeyValuePair<string, object?>> newNode = new DiagNode<KeyValuePair<string, object?>>(value);
System\Diagnostics\DiagLinkedList.cs (7)
24public 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); 65DiagNode<T> newNode = new DiagNode<T>(value); 88DiagNode<T> newNode = new DiagNode<T>(value); 140DiagNode<T> newNode = new DiagNode<T>(value); 156private static readonly DiagNode<T> s_Empty = new DiagNode<T>(default!);
41 references to DiagNode
System.Diagnostics.DiagnosticSource (41)
System\Diagnostics\Activity.cs (21)
397for (DiagNode<KeyValuePair<string, string?>>? current = activity._baggage.First; current != null; current = current.Next) 1511private static readonly DiagNode<T> s_Empty = new DiagNode<T>(default!); 1513private DiagNode<T>? _nextNode; 1514private DiagNode<T> _currentNode; 1516internal Enumerator(DiagNode<T>? head) 1556private DiagNode<KeyValuePair<string, string?>>? _first; 1560public DiagNode<KeyValuePair<string, string?>>? First => _first; 1564DiagNode<KeyValuePair<string, string?>> newNode = new DiagNode<KeyValuePair<string, string?>>(value); 1583DiagNode<KeyValuePair<string, string?>>? current = _first; 1595DiagNode<KeyValuePair<string, string?>> newNode = new DiagNode<KeyValuePair<string, string?>>(value); 1616DiagNode<KeyValuePair<string, string?>> previous = _first; 1637private DiagNode<KeyValuePair<string, object?>>? _first; 1638private DiagNode<KeyValuePair<string, object?>>? _last; 1655public DiagNode<KeyValuePair<string, object?>>? First => _first; 1687DiagNode<KeyValuePair<string, object?>> newNode = new DiagNode<KeyValuePair<string, object?>>(value); 1707DiagNode<KeyValuePair<string, object?>>? current = _first; 1739DiagNode<KeyValuePair<string, object?>> previous = _first; 1767DiagNode<KeyValuePair<string, object?>>? current = _first; 1779DiagNode<KeyValuePair<string, object?>> newNode = new DiagNode<KeyValuePair<string, object?>>(value); 1799DiagNode<KeyValuePair<string, object?>>? current = _first; 1826DiagNode<KeyValuePair<string, object?>>? current = _first.Next;
System\Diagnostics\DiagLinkedList.cs (15)
13public DiagNode<T>? Next; 19private DiagNode<T>? _first; 20private DiagNode<T>? _last; 38public DiagNode<T>? First => _first; 48private void UnsafeAdd(DiagNode<T> newNode) 65DiagNode<T> newNode = new DiagNode<T>(value); 77DiagNode<T>? current = _first; 88DiagNode<T> newNode = new DiagNode<T>(value); 99DiagNode<T>? previous = _first; 115DiagNode<T>? current = previous.Next; 140DiagNode<T> newNode = new DiagNode<T>(value); 156private static readonly DiagNode<T> s_Empty = new DiagNode<T>(default!); 158private DiagNode<T>? _nextNode; 159private DiagNode<T> _currentNode; 161public DiagEnumerator(DiagNode<T>? head)
System\Diagnostics\Metrics\Instrument.common.cs (1)
96DiagNode<ListenerSubscription>? current = _subscriptions.First;
System\Diagnostics\Metrics\Instrument.cs (2)
150DiagNode<ListenerSubscription>? current = _subscriptions.First; 197DiagNode<ListenerSubscription>? current = _subscriptions.First;
System\Diagnostics\Metrics\MeterListener.cs (2)
219DiagNode<Instrument>? current = _enabledMeasurementInstruments.First; 266DiagNode<Instrument>? current = _enabledMeasurementInstruments.First;