8 writes to _last
System.Diagnostics.DiagnosticSource (8)
System\Diagnostics\DiagLinkedList.cs (8)
24
public DiagLinkedList(T firstValue) =>
_last
= _first = new DiagNode<T>(firstValue);
29
_last
= _first = new DiagNode<T>(e.Current);
34
_last
= _last.Next;
44
_first =
_last
= null;
52
_first =
_last
= newNode;
60
_last
= newNode;
110
_last
= null;
124
_last
= previous;
5 references to _last
System.Diagnostics.DiagnosticSource (5)
System\Diagnostics\DiagLinkedList.cs (5)
33
_last
.Next = new DiagNode<T>(e.Current);
34
_last =
_last
.Next;
57
Debug.Assert(
_last
is not null);
59
_last
!.Next = newNode;
122
if (object.ReferenceEquals(
_last
, current))