2 overrides of RemoveNode
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
22 references to RemoveNode
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (8)
CodeGeneration\SyntaxGeneratorTests.cs (8)
1975var withoutAttribute = Generator.RemoveNode(withAttribute, attrsAdded[0]);
2647var newDecl = Generator.RemoveNode(declaration, Generator.GetNamespaceImports(declaration).First(m => Generator.GetName(m) == name));
2664var newCu = Generator.RemoveNode(cu, summary);
2855var newDecl = Generator.RemoveNode(declaration, Generator.GetMembers(declaration).First(m => Generator.GetName(m) == name));
3370Assert.Null(Generator.GetAccessor(Generator.RemoveNode(prop, getAccessor), DeclarationKind.GetAccessor));
3371Assert.Null(Generator.GetAccessor(Generator.RemoveNode(prop, setAccessor), DeclarationKind.SetAccessor));
3680Generator.RemoveNode(classBI, baseListBI[0]),
3686Generator.RemoveNode(classBI, baseListBI[1]),
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (12)
CodeGeneration\SyntaxGeneratorTests.vb (12)
2294Dim withoutAttribute = Generator.RemoveNode(withAttribute, attrsAdded(0))
3074Assert.Null(_g.GetAccessor(_g.RemoveNode(prop, getAccessor), DeclarationKind.GetAccessor))
3075Assert.Null(_g.GetAccessor(_g.RemoveNode(prop, setAccessor), DeclarationKind.SetAccessor))
3245Generator.RemoveNode(classC, baseList(0)),
3252Generator.RemoveNode(classC, baseList(1)),
3260Generator.RemoveNode(classC, baseList(2)),
3664Generator.RemoveNode(declC, declX),
3672Generator.RemoveNode(declC, declY),
3680Generator.RemoveNode(declC, declZ),
3804Generator.RemoveNode(declC, declX),
3811Generator.RemoveNode(declC, declY),
3818Generator.RemoveNode(declC, declZ),
Microsoft.CodeAnalysis.Workspaces (2)