10 references to Insert
Microsoft.AspNetCore.Components.Analyzers (1)
ComponentParametersShouldBePublicCodeFixProvider.cs (1)
84newModifiers = newModifiers.Insert(0, publicModifier);
Microsoft.AspNetCore.Components.SdkAnalyzers (1)
ComponentParametersShouldBePublicCodeFixProvider.cs (1)
84newModifiers = newModifiers.Insert(0, publicModifier);
Microsoft.CodeAnalysis (1)
Syntax\SyntaxTokenList.cs (1)
316return Insert(this.Count, token);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Syntax\SyntaxTokenListTests.cs (4)
216newList = list.Insert(0, tokenD); 229Assert.Throws<ArgumentOutOfRangeException>(() => list.Insert(1, tokenD)); 230Assert.Throws<ArgumentOutOfRangeException>(() => list.Insert(-1, tokenD)); 236Assert.Throws<ArgumentOutOfRangeException>(() => list.Insert(0, default(SyntaxToken)));
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
197modifiers = modifiers.Insert(0, ThisKeyword); 831modifiersToken = modifiersToken.Insert(0, StaticKeyword);
Microsoft.Interop.SourceGeneration (1)
SyntaxExtensions.cs (1)
117return modifiers.Insert(idxInsert, SyntaxFactory.Token(modifierToAdd));