12 references to InsertAfter
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\MakeFieldReadonly\AbstractMakeFieldReadonlyCodeFixProvider.cs (1)
95editor.InsertAfter(fieldDeclaration, newDeclaration);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\InitializeParameter\InitializeParameterHelpers.cs (1)
194editor.InsertAfter(block.Statements[indexToAddAfter], statement);
Microsoft.CodeAnalysis.CSharp.Features (1)
CodeRefactorings\ConvertLocalFunctionToMethod\CSharpConvertLocalFunctionToMethodCodeRefactoringProvider.cs (1)
221editor.InsertAfter(container, method);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\InitializeParameter\InitializeParameterHelpers.cs (1)
194editor.InsertAfter(block.Statements[indexToAddAfter], statement);
Microsoft.CodeAnalysis.Features (3)
CodeRefactorings\MoveType\AbstractMoveTypeService.MoveTypeNamespaceScopeEditor.cs (1)
72editor.InsertAfter(namespaceDeclaration, newNamespaceDeclaration);
PullMemberUp\MembersPuller.cs (1)
254editor.InsertAfter(declaration, publicAndNonStaticSyntax);
src\Analyzers\Core\CodeFixes\MakeFieldReadonly\AbstractMakeFieldReadonlyCodeFixProvider.cs (1)
95editor.InsertAfter(fieldDeclaration, newDeclaration);
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\InitializeParameter\InitializeParameterHelpers.vb (1)
55editor.InsertAfter(statementToAddAfterOpt, statement)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
SplitOrMergeIfStatements\VisualBasicIfLikeStatementGenerator.vb (1)
190editor.InsertAfter(afterIfOrElseIf, elseIfBlockToInsert)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\InitializeParameter\InitializeParameterHelpers.vb (1)
55editor.InsertAfter(statementToAddAfterOpt, statement)
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
Editing\SyntaxEditorTests.cs (2)
103editor.InsertAfter(fieldX, editor.Generator.FieldDeclaration("Y", editor.Generator.TypeExpression(SpecialType.System_String), Accessibility.Public)); 178editor.InsertAfter(fieldX, editor.Generator.FieldDeclaration("Y", editor.Generator.TypeExpression(SpecialType.System_String), Accessibility.Public));