10 references to InsertNodesAfter
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\DocumentationComments\AbstractAddDocCommentNodesCodeFixProvider.cs (1)
95newDocComment = newDocComment.InsertNodesAfter(nodeBeforeNewParamNode!,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (6)
Syntax\SyntaxNodeTests.cs (5)
2174newNode = invocation.InsertNodesAfter(invocation.ArgumentList.Arguments[0], new SyntaxNode[] { argC, argD }); 2182newNode = invocation.InsertNodesAfter(invocation.ArgumentList.Arguments[1], new SyntaxNode[] { argC, argD }); 2199Assert.Throws<InvalidOperationException>(() => ifstatement.InsertNodesAfter(then, new StatementSyntax[] { })); 2238newBlock = block.InsertNodesAfter(block.Statements[0], new[] { stmt1, stmt2 }); 2246newBlock = block.InsertNodesAfter(block.Statements[1], new[] { stmt1, stmt2 });
Syntax\SyntaxRewriterTests.cs (1)
411var newNode2 = invocation.InsertNodesAfter(invocation.ArgumentList.Arguments[0], new SyntaxNode[] { argC, argD });
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\CodeFixes\DocumentationComments\AbstractAddDocCommentNodesCodeFixProvider.cs (1)
95newDocComment = newDocComment.InsertNodesAfter(nodeBeforeNewParamNode!,
Microsoft.CodeAnalysis.Workspaces (2)
Editing\SyntaxGenerator.cs (2)
1454=> root.InsertNodesAfter(node, newDeclarations); 1593return newRoot.InsertNodesAfter(currentFirst, replacements.Skip(1));