14 references to Prepend
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder_Lookup.cs (2)
1156
var cycleGuard = ConsList<NamedTypeSymbol>.Empty.
Prepend
(type.OriginalDefinition);
1189
cycleGuard = cycleGuard.
Prepend
(originalDefinition);
Compilation\SyntaxTreeSemanticModel.cs (1)
513
return ConsList<TypeSymbol>.Empty.
Prepend
(symbol.GetSymbol().OriginalDefinition);
Symbols\BaseTypeAnalysis.cs (2)
71
StructDependsClosure(depends, hs, typesWithCycle, ConsList<NamedTypeSymbol>.Empty.
Prepend
(on));
106
visitFields(type.OriginalDefinition, partialClosure, typesWithCycle, on.
Prepend
(type.OriginalDefinition));
Symbols\Metadata\PE\PETypeParameterSymbol.cs (2)
208
inProgress = inProgress.
Prepend
(this);
671
var bounds = this.ResolveBounds(this.ContainingAssembly.CorLibrary, inProgress.
Prepend
(this), constraintTypes, inherited, currentCompilation: null,
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (1)
290
var newBasesBeingResolved = basesBeingResolved.
Prepend
(this.OriginalDefinition);
Symbols\Source\SourceTypeParameterSymbol.cs (3)
597
return this.ResolveBounds(this.ContainingAssembly.CorLibrary, inProgress.
Prepend
(this), constraintTypes, inherited: false, this.DeclaringCompilation, diagnostics);
775
return this.ResolveBounds(this.ContainingAssembly.CorLibrary, inProgress.
Prepend
(this), constraintTypes, inherited: false, this.DeclaringCompilation, diagnostics);
1015
return this.ResolveBounds(this.ContainingAssembly.CorLibrary, inProgress.
Prepend
(this), constraintTypes, inherited: true, this.DeclaringCompilation, diagnostics);
Symbols\Source\TypeParameterConstraintClause.cs (2)
169
inProgress = inProgress.
Prepend
(thisTypeParameter);
229
inProgress = inProgress.
Prepend
(thisTypeParameter);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
UsesIsNullableVisitor.cs (1)
203
inProgress = inProgress.
Prepend
(typeParameter);