2 instantiations of ConsList
Microsoft.CodeAnalysis.CodeStyle (2)
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (2)
18
public static readonly ConsList<T> Empty =
new
();
123
return new
ConsList
<T>(value, this);
10 references to ConsList
Microsoft.CodeAnalysis.CodeStyle (10)
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (10)
18
public static readonly
ConsList
<T> Empty = new();
21
private readonly
ConsList
<T>? _tail;
26
private
ConsList
<T> _tail;
28
internal Enumerator(
ConsList
<T> list)
47
var
currentTail = _tail;
48
var
newTail = currentTail._tail;
87
public ConsList(T head,
ConsList
<T> tail)
106
public
ConsList
<T> Tail
121
public
ConsList
<T> Push(T value)
145
for (
ConsList
<T> list = this; list._tail != null; list = list._tail)