6 writes to _first
System.Diagnostics.DiagnosticSource (6)
System\Diagnostics\DiagLinkedList.cs (6)
24
public DiagLinkedList(T firstValue) => _last =
_first
= new DiagNode<T>(firstValue);
29
_last =
_first
= new DiagNode<T>(e.Current);
44
_first
= _last = null;
52
_first
= _last = newNode;
107
_first
= previous.Next;
145
_first
= newNode;
8 references to _first
System.Diagnostics.DiagnosticSource (8)
System\Diagnostics\DiagLinkedList.cs (8)
38
public DiagNode<T>? First =>
_first
;
50
if (
_first
is null)
56
Debug.Assert(
_first
is not null);
77
DiagNode<T>? current =
_first
;
99
DiagNode<T>? previous =
_first
;
108
if (
_first
is null)
144
newNode.Next =
_first
;
149
public DiagEnumerator<T> GetEnumerator() => new DiagEnumerator<T>(
_first
);