19 instantiations of DiagNode
System.Diagnostics.DiagnosticSource (19)
System\Diagnostics\Activity.cs (12)
1508private static readonly DiagNode<T> s_Empty = new DiagNode<T>(default!); 1555public BaggageLinkedList(KeyValuePair<string, string?> firstValue, bool set = false) => _first = ((set && firstValue.Value == null) ? null : new DiagNode<KeyValuePair<string, string?>>(firstValue)); 1561DiagNode<KeyValuePair<string, string?>> newNode = new DiagNode<KeyValuePair<string, string?>>(value); 1592DiagNode<KeyValuePair<string, string?>> newNode = new DiagNode<KeyValuePair<string, string?>>(value); 1639public TagsLinkedList(KeyValuePair<string, object?> firstValue, bool set = false) => _last = _first = ((set && firstValue.Value == null) ? null : new DiagNode<KeyValuePair<string, object?>>(firstValue)); 1643_last = _first = new DiagNode<KeyValuePair<string, object?>>(e.Current); 1647_last.Next = new DiagNode<KeyValuePair<string, object?>>(e.Current); 1667_last = _first = new DiagNode<KeyValuePair<string, object?>>(e.Current); 1671_last!.Next = new DiagNode<KeyValuePair<string, object?>>(e.Current); 1677_last.Next = new DiagNode<KeyValuePair<string, object?>>(e.Current); 1684DiagNode<KeyValuePair<string, object?>> newNode = new DiagNode<KeyValuePair<string, object?>>(value); 1776DiagNode<KeyValuePair<string, object?>> newNode = new DiagNode<KeyValuePair<string, object?>>(value);
System\Diagnostics\DiagLinkedList.cs (7)
25public 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); 66DiagNode<T> newNode = new DiagNode<T>(value); 89DiagNode<T> newNode = new DiagNode<T>(value); 141DiagNode<T> newNode = new DiagNode<T>(value); 272private static readonly DiagNode<T> s_Empty = new DiagNode<T>(default!);
42 references to DiagNode
System.Diagnostics.DiagnosticSource (42)
System\Diagnostics\Activity.cs (21)
397for (DiagNode<KeyValuePair<string, string?>>? current = activity._baggage.First; current != null; current = current.Next) 1508private static readonly DiagNode<T> s_Empty = new DiagNode<T>(default!); 1510private DiagNode<T>? _nextNode; 1511private DiagNode<T> _currentNode; 1513internal Enumerator(DiagNode<T>? head) 1553private DiagNode<KeyValuePair<string, string?>>? _first; 1557public DiagNode<KeyValuePair<string, string?>>? First => _first; 1561DiagNode<KeyValuePair<string, string?>> newNode = new DiagNode<KeyValuePair<string, string?>>(value); 1580DiagNode<KeyValuePair<string, string?>>? current = _first; 1592DiagNode<KeyValuePair<string, string?>> newNode = new DiagNode<KeyValuePair<string, string?>>(value); 1613DiagNode<KeyValuePair<string, string?>> previous = _first; 1634private DiagNode<KeyValuePair<string, object?>>? _first; 1635private DiagNode<KeyValuePair<string, object?>>? _last; 1652public DiagNode<KeyValuePair<string, object?>>? First => _first; 1684DiagNode<KeyValuePair<string, object?>> newNode = new DiagNode<KeyValuePair<string, object?>>(value); 1704DiagNode<KeyValuePair<string, object?>>? current = _first; 1736DiagNode<KeyValuePair<string, object?>> previous = _first; 1764DiagNode<KeyValuePair<string, object?>>? current = _first; 1776DiagNode<KeyValuePair<string, object?>> newNode = new DiagNode<KeyValuePair<string, object?>>(value); 1796DiagNode<KeyValuePair<string, object?>>? current = _first; 1823DiagNode<KeyValuePair<string, object?>>? current = _first.Next;
System\Diagnostics\DiagLinkedList.cs (16)
14public DiagNode<T>? Next; 20private DiagNode<T>? _first; 21private DiagNode<T>? _last; 39public DiagNode<T>? First => _first; 49private void UnsafeAdd(DiagNode<T> newNode) 66DiagNode<T> newNode = new DiagNode<T>(value); 78DiagNode<T>? current = _first; 89DiagNode<T> newNode = new DiagNode<T>(value); 100DiagNode<T>? previous = _first; 116DiagNode<T>? current = previous.Next; 141DiagNode<T> newNode = new DiagNode<T>(value); 216DiagNode<T>? current = _first; 272private static readonly DiagNode<T> s_Empty = new DiagNode<T>(default!); 274private DiagNode<T>? _nextNode; 275private DiagNode<T> _currentNode; 277public 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;