3 instantiations of ConsList
Microsoft.CodeAnalysis (3)
Collections\ConsListExtensions.cs (1)
17return new ConsList<T>(head, list ?? ConsList<T>.Empty);
InternalUtilities\ConsList`1.cs (2)
18public static readonly ConsList<T> Empty = new(); 123return new ConsList<T>(value, this);
18 references to ConsList
Microsoft.CodeAnalysis (15)
Collections\ConsListExtensions.cs (5)
15public static ConsList<T> Prepend<T>(this ConsList<T>? list, T head) 17return new ConsList<T>(head, list ?? ConsList<T>.Empty); 20public static bool ContainsReference<T>(this ConsList<T> list, T element) 22for (; list != ConsList<T>.Empty; list = list.Tail)
InternalUtilities\ConsList`1.cs (10)
18public static readonly ConsList<T> Empty = new(); 21private readonly ConsList<T>? _tail; 26private ConsList<T> _tail; 28internal Enumerator(ConsList<T> list) 47var currentTail = _tail; 48var newTail = currentTail._tail; 87public ConsList(T head, ConsList<T> tail) 106public ConsList<T> Tail 121public ConsList<T> Push(T value) 145for (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)"/>