6 writes to _last
System.Text.RegularExpressions (6)
System\Text\RegularExpressions\Symbolic\DoublyLinkedList.cs (6)
33
_first =
_last
= new Node(elem);
68
_last
= other._last;
78
_last
= other._last;
93
_last
= _first;
98
_last
= _last.Next = new Node(elem, _last, null);
111
_last
= _first;
12 references to _last
System.Text.RegularExpressions (12)
System\Text\RegularExpressions\Symbolic\DoublyLinkedList.cs (12)
68
_last = other.
_last
;
74
Debug.Assert(
_last
is not null);
76
_last
.Next = other._first;
77
other._first.Prev =
_last
;
78
_last = other.
_last
;
89
if (
_last
is null)
98
_last =
_last
.Next = new Node(elem,
_last
, null);
126
for (Node? current =
_last
; current is not null; current = current.Prev)
141
Debug.Assert(_first is null &&
_last
is null, "empty list");
146
Debug.Assert(_first is not null &&
_last
is not null && _first.Prev is null &&
_last
.Next is null, "non-empty list");