6 references to InsertNodesBefore
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\roslyn\src\Analyzers\Core\CodeFixes\DocumentationComments\AbstractAddDocCommentNodesCodeFixProvider.cs (1)
117
newDocComment = newDocComment.
InsertNodesBefore
(nodeAfterNewParamNode, newNodeList);
Microsoft.CodeAnalysis.CSharp.Features (1)
ConvertForEachToFor\CSharpConvertForEachToForCodeRefactoringProvider.cs (1)
146
return bodyBlock.
InsertNodesBefore
(
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Performance\CSharpPreferHashDataOverComputeHash.Fixer.cs (2)
182
parent = parent.
InsertNodesBefore
(parent.GetCurrentNode(target)!, statements.Select(SyntaxFactory.GlobalStatement));
191
newParent = newParent.
InsertNodesBefore
(newParent.GetCurrentNode(usingStatement)!, statements);
Microsoft.CodeAnalysis.Features (1)
src\roslyn\src\Analyzers\Core\CodeFixes\DocumentationComments\AbstractAddDocCommentNodesCodeFixProvider.cs (1)
117
newDocComment = newDocComment.
InsertNodesBefore
(nodeAfterNewParamNode, newNodeList);
Microsoft.CodeAnalysis.Workspaces (1)
Editing\SyntaxGenerator.cs (1)
1448
=> root.
InsertNodesBefore
(node, newDeclarations);