19 references to Insert
Microsoft.CodeAnalysis (2)
DiagnosticAnalyzer\AnalyzerFileReference.cs (1)
332return additionalLanguageNames.Insert(0, firstLanguageName);
Operations\ControlFlowGraphBuilder.cs (1)
4739locals = locals.Insert(0, loopObject!);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolInfoExtensions.cs (1)
19=> info.Symbol == null ? info.CandidateSymbols : info.CandidateSymbols.Insert(0, info.Symbol);
Microsoft.CodeAnalysis.CSharp (9)
BoundTree\Expression.cs (4)
66protected override ImmutableArray<BoundNode?> Children => StaticCast<BoundNode?>.From(this.Arguments.Insert(0, this.Receiver)); 121protected override ImmutableArray<BoundNode?> Children => StaticCast<BoundNode?>.From(this.Arguments.Insert(0, this.Expression)); 139protected override ImmutableArray<BoundNode?> Children => StaticCast<BoundNode?>.From(GetChildInitializers(this.InitializerOpt).Insert(0, this.Count)); 144protected override ImmutableArray<BoundNode?> Children => StaticCast<BoundNode?>.From(GetChildInitializers(this.InitializerOpt).Insert(0, this.Count));
Compiler\MethodCompiler.cs (2)
1061body = body.Update(body.Locals, body.LocalFunctions, body.HasUnsafeModifier, body.Instrumentation, body.Statements.Insert(insertAt, analyzedInitializers)); 1242boundStatements = boundStatements.Insert(
FlowAnalysis\FlowAnalysisPass.cs (1)
162return body.Update(body.Locals, body.LocalFunctions, body.HasUnsafeModifier, body.Instrumentation, body.Statements.Insert(index: 0, initializations));
Lowering\LocalRewriter\LocalRewriter_Call.cs (2)
300arguments = arguments.Insert(0, receiverOpt); 311argumentRefKindsOpt = argumentRefKindsOpt.Insert(0, thisRefKind);
Microsoft.CodeAnalysis.Features (1)
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (1)
440.Insert(0, new TaggedText(TextTags.CodeBlockStart, string.Empty))
Microsoft.CodeAnalysis.VisualBasic (1)
BoundTree\Expression.vb (1)
87Return StaticCast(Of BoundNode).From(Me.ArgumentsOpt.Insert(0, Me.Member))
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolInfoExtensions.cs (1)
19=> info.Symbol == null ? info.CandidateSymbols : info.CandidateSymbols.Insert(0, info.Symbol);
Microsoft.Interop.SourceGeneration (2)
ContainingSyntaxContext.cs (1)
47return this with { ContainingSyntax = ContainingSyntax.Insert(0, nestedType) };
SequenceEqualImmutableArray.cs (1)
34=> new SequenceEqualImmutableArray<T>(Array.Insert(index, item), Comparer);
System.Collections.Immutable (2)
System\Collections\Immutable\ImmutableArray_1.cs (2)
430return self.Insert(self.Length, item); 1105return self.Insert(index, element);