3 instantiations of ConsList
Microsoft.CodeAnalysis (3)
Collections\ConsListExtensions.cs (1)
17
return new
ConsList
<T>(head, list ?? ConsList<T>.Empty);
InternalUtilities\ConsList`1.cs (2)
18
public static readonly ConsList<T> Empty =
new
();
123
return new
ConsList
<T>(value, this);
18 references to ConsList
Microsoft.CodeAnalysis (15)
Collections\ConsListExtensions.cs (5)
15
public static
ConsList
<T> Prepend<T>(this
ConsList
<T>? list, T head)
17
return new ConsList<T>(head, list ??
ConsList
<T>.Empty);
20
public static bool ContainsReference<T>(this
ConsList
<T> list, T element)
22
for (; list !=
ConsList
<T>.Empty; list = list.Tail)
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)
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Lookup.cs (1)
1698
/// Should only be called by <see cref="IsAccessible(Symbol, TypeSymbol, out bool, ref CompoundUseSiteInfo{AssemblySymbol},
ConsList
{TypeSymbol})"/>,
Binder\Binder_Symbols.cs (2)
185
/// Otherwise, call <see cref="Binder.BindTypeOrAlias(ExpressionSyntax, BindingDiagnosticBag,
ConsList
{TypeSymbol}, bool)"/> instead.
399
/// <see cref="BindQualifiedName(ExpressionSyntax, SimpleNameSyntax, BindingDiagnosticBag,
ConsList
{TypeSymbol}, bool)"/>