29 references to Prepend
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Lookup.cs (2)
1068
var cycleGuard = ConsList<NamedTypeSymbol>.Empty.
Prepend
(type.OriginalDefinition);
1101
cycleGuard = cycleGuard.
Prepend
(originalDefinition);
Compilation\SyntaxTreeSemanticModel.cs (1)
509
return ConsList<TypeSymbol>.Empty.
Prepend
(symbol.GetSymbol().OriginalDefinition);
Symbols\Metadata\PE\PETypeParameterSymbol.cs (2)
207
inProgress = inProgress.
Prepend
(this);
662
var bounds = this.ResolveBounds(this.ContainingAssembly.CorLibrary, inProgress.
Prepend
(this), constraintTypes, inherited, currentCompilation: null,
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (1)
289
var newBasesBeingResolved = basesBeingResolved.
Prepend
(this.OriginalDefinition);
Symbols\Source\SourceTypeParameterSymbol.cs (3)
582
return this.ResolveBounds(this.ContainingAssembly.CorLibrary, inProgress.
Prepend
(this), constraintTypes, inherited: false, this.DeclaringCompilation, diagnostics);
717
return this.ResolveBounds(this.ContainingAssembly.CorLibrary, inProgress.
Prepend
(this), constraintTypes, inherited: false, this.DeclaringCompilation, diagnostics);
966
return this.ResolveBounds(this.ContainingAssembly.CorLibrary, inProgress.
Prepend
(this), constraintTypes, inherited: true, this.DeclaringCompilation, diagnostics);
Symbols\Source\TypeParameterConstraintClause.cs (2)
166
inProgress = inProgress.
Prepend
(thisTypeParameter);
226
inProgress = inProgress.
Prepend
(thisTypeParameter);
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (4)
CompilationContext.cs (3)
1519
possiblyCapturingTypeInstance.Fields.
Prepend
(field));
1916
return new DisplayClassInstanceAndFields(Instance, Fields.
Prepend
(field));
1921
return new DisplayClassVariable(name, kind, Instance, Fields.
Prepend
(field));
Symbols\DisplayClassVariable.cs (1)
97
return tail.
Prepend
(head);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
UsesIsNullableVisitor.cs (1)
203
inProgress = inProgress.
Prepend
(typeParameter);
Microsoft.CodeAnalysis.VisualBasic (10)
Binding\BasesBeingResolvedBinder.vb (2)
66
Return New BasesBeingResolved(If(InheritsBeingResolvedOpt, ConsList(Of TypeSymbol).Empty).
Prepend
(symbol), ImplementsBeingResolvedOpt)
70
Return New BasesBeingResolved(InheritsBeingResolvedOpt, If(ImplementsBeingResolvedOpt, ConsList(Of TypeSymbol).Empty).
Prepend
(symbol))
Symbols\BaseTypeAnalysis.vb (6)
51
Dim dependency As ConsList(Of DependencyDesc) = ConsList(Of DependencyDesc).Empty.
Prepend
(New DependencyDesc(DependencyKind.Inheritance, this))
75
dependency = dependency.
Prepend
(New DependencyDesc(If(hasContainment, DependencyKind.Containment, DependencyKind.Inheritance), head))
108
dependency = dependency.
Prepend
(New DependencyDesc(DependencyKind.Inheritance, this))
223
Return chain.
Prepend
(New DependencyDesc(DependencyKind.Containment, current))
237
Return chain.
Prepend
(New DependencyDesc(DependencyKind.Inheritance, current))
247
Return chain.
Prepend
(New DependencyDesc(DependencyKind.Inheritance, current))
Symbols\Metadata\PE\PETypeParameterSymbol.vb (1)
281
Dim constraints = Me.RemoveDirectConstraintConflicts(GetDeclaredConstraints(), inProgress.
Prepend
(Me), DirectConstraintConflictKind.None, diagnosticsBuilder)
Symbols\Source\SourceTypeParameterSymbol.vb (1)
103
constraints = Me.RemoveDirectConstraintConflicts(constraints, inProgress.
Prepend
(Me), reportConflicts, diagnosticsBuilder)
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (3)
CompilationContext.vb (2)
1478
Return New DisplayClassInstanceAndFields(Me.Instance, Me.Fields.
Prepend
(field))
1482
Return New DisplayClassVariable(name, kind, Me.Instance, Me.Fields.
Prepend
(field))
Symbols\DisplayClassVariable.vb (1)
90
Return tail.
Prepend
(head)