9 writes to _current
System.Windows.Forms.Primitives (9)
System\Windows\Forms\SinglyLinkedList.cs (9)
88
_current
= null;
111
_current
= _list.First;
117
_current
= _current.Next;
123
_current
= null;
152
_current
= null;
160
_current
= _previous;
167
_current
= _previous;
193
_current
= null;
217
_current
= _previous;
17 references to _current
System.Windows.Forms.Primitives (17)
System\Windows\Forms\SinglyLinkedList.cs (17)
79
public readonly Node Current =>
_current
!;
108
else if (
_current
is null)
113
else if (
_current
.Next is not null)
116
_previous =
_current
;
117
_current =
_current
.Next;
141
if (
_current
is null || _removed)
148
if (
_current
== _list.First)
151
_list.First =
_current
.Next;
154
else if (
_current
== _list.Last)
166
Node? next =
_current
.Next;
187
if (
_current
is null || _removed)
190
if (
_current
== _list.First)
199
if (
_current
.Next is null)
202
Debug.Assert(_list.Last ==
_current
);
209
_previous.Next =
_current
.Next;
213
_current
.Next = _list.First;
214
_list.First =
_current
;