5 writes to _first
System.Text.RegularExpressions (5)
System\Text\RegularExpressions\Symbolic\DoublyLinkedList.cs (5)
33
_first
= _last = new Node(elem);
67
_first
= other._first;
92
_first
= new(elem);
110
_first
= new(elem);
117
_first
= _first.Prev;
16 references to _first
System.Text.RegularExpressions (16)
System\Text\RegularExpressions\Symbolic\DoublyLinkedList.cs (16)
44
Debug.Assert(
_first
is not null);
47
return
_first
.Value;
58
if (other.
_first
is null)
64
if (
_first
is null)
67
_first = other.
_first
;
76
_last.Next = other.
_first
;
77
other.
_first
.Prev = _last;
93
_last =
_first
;
107
if (
_first
is null)
111
_last =
_first
;
116
_first
.Prev = new(elem, null,
_first
);
117
_first =
_first
.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");