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