2 overrides of InsertNodesBefore
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
2878public override SyntaxNode InsertNodesBefore(SyntaxNode root, SyntaxNode declaration, IEnumerable<SyntaxNode> newDeclarations)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
3729Public Overrides Function InsertNodesBefore(root As SyntaxNode, declaration As SyntaxNode, newDeclarations As IEnumerable(Of SyntaxNode)) As SyntaxNode
9 references to InsertNodesBefore
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CodeGeneration\CSharpSyntaxGenerator.cs (3)
2893return base.InsertNodesBefore(root, declaration, newDeclarations); 2902return base.InsertNodesBefore(root, fullDecl, newDeclarations); 2914return base.InsertNodesBefore(root, fullDecl, newDeclarations);
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.cs (1)
2703var newCu = Generator.InsertNodesBefore(cu, text, new SyntaxNode[] { text });
Microsoft.CodeAnalysis.VisualBasic.Workspaces (3)
CodeGeneration\VisualBasicSyntaxGenerator.vb (3)
3733Return MyBase.InsertNodesBefore(root, declaration, newDeclarations) 3740Return MyBase.InsertNodesBefore(root, declaration, newDeclarations) 3752Return MyBase.InsertNodesBefore(root, fullDecl, newDeclarations)
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.vb (1)
2509Dim newCu = Generator.InsertNodesBefore(cu, text, {text})
Microsoft.CodeAnalysis.Workspaces (1)
Editing\SyntaxEditor.cs (1)
360? generator.InsertNodesBefore(root, currentNode, _newNodes)