241 references to SyntaxRemoveOptions
Microsoft.AspNetCore.App.CodeFixes (1)
Microsoft.CodeAnalysis (4)
Microsoft.CodeAnalysis.CodeStyle.Fixes (14)
Microsoft.CodeAnalysis.CSharp (28)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (17)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Features (24)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (37)
Syntax\SyntaxNodeTests.cs (35)
2459var expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepExteriorTrivia);
2474var expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepExteriorTrivia);
2490var expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepExteriorTrivia);
2507var expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepExteriorTrivia);
2528var expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepExteriorTrivia);
2547var expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepNoTrivia);
2563var expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepNoTrivia);
2579var expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepNoTrivia);
2595var expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepNoTrivia);
2615var expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepNoTrivia);
2632var expr2 = expr.RemoveNode(n, SyntaxRemoveOptions.KeepExteriorTrivia);
2646var expr2 = expr.RemoveNode(n, SyntaxRemoveOptions.KeepExteriorTrivia);
2660var expr2 = expr.RemoveNode(n, SyntaxRemoveOptions.KeepExteriorTrivia);
2674var expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepNoTrivia);
2688var expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepExteriorTrivia);
2706var m2 = m.RemoveNode(m.Body, SyntaxRemoveOptions.KeepExteriorTrivia);
2739var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepExteriorTrivia | SyntaxRemoveOptions.KeepUnbalancedDirectives);
2774var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepUnbalancedDirectives);
2814var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepDirectives);
2846var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine);
2863var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine);
2879var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine | SyntaxRemoveOptions.KeepDirectives);
2896var cu2 = cu.RemoveNode(cu, SyntaxRemoveOptions.KeepEndOfLine);
2938var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine);
2979var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine);
3023var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine);
3065var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepTrailingTrivia);
3107var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine);
3147var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine);
3190var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine);
3231var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepLeadingTrivia);
3255var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine | SyntaxRemoveOptions.KeepDirectives);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Microsoft.CodeAnalysis.Features (32)
Microsoft.CodeAnalysis.VisualBasic (28)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (3)
Microsoft.CodeAnalysis.VisualBasic.Features (9)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (16)
TestSyntaxNodes.vb (14)
2539Dim expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepExteriorTrivia)
2553Dim expr2 = expr.RemoveNode(n, SyntaxRemoveOptions.KeepExteriorTrivia)
2567Dim expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepNoTrivia)
2581Dim expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepNoTrivia)
2594Dim expr2 = expr.RemoveNode(n, SyntaxRemoveOptions.KeepExteriorTrivia)
2607Dim expr2 = expr.RemoveNode(n, SyntaxRemoveOptions.KeepExteriorTrivia)
2620Dim expr2 = expr.RemoveNode(n, SyntaxRemoveOptions.KeepExteriorTrivia)
2643Dim cu2 = cu.RemoveNode(n, SyntaxRemoveOptions.KeepExteriorTrivia)
2668Dim cu2 = cu.RemoveNode(n, SyntaxRemoveOptions.KeepExteriorTrivia)
2693Dim cu2 = cu.RemoveNode(n, SyntaxRemoveOptions.KeepExteriorTrivia)
2724Dim cu2 = cu.RemoveNode(n, SyntaxRemoveOptions.KeepUnbalancedDirectives)
2763Dim cu2 = cu.RemoveNode(n, SyntaxRemoveOptions.KeepExteriorTrivia Or SyntaxRemoveOptions.KeepUnbalancedDirectives)
2805Dim cu2 = cu.RemoveNode(n, SyntaxRemoveOptions.KeepDirectives)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (3)
Microsoft.CodeAnalysis.Workspaces (5)
Microsoft.VisualStudio.LanguageServices.CSharp (4)
Microsoft.VisualStudio.LanguageServices.VisualBasic (10)
CodeModel\VisualBasicCodeModelService.vb (10)
1331Dim newDeclarator = declarator.RemoveNode(node, SyntaxRemoveOptions.KeepEndOfLine).WithAdditionalAnnotations(Formatter.Annotation)
1344Dim newDeclaration = declaration.RemoveNode(node, SyntaxRemoveOptions.KeepEndOfLine).WithAdditionalAnnotations(Formatter.Annotation)
1364Dim newAttributeList = attributeList.RemoveNode(node, SyntaxRemoveOptions.KeepEndOfLine)
1372Dim newArgumentList = argumentList.RemoveNode(node, SyntaxRemoveOptions.KeepEndOfLine).WithAdditionalAnnotations(Formatter.Annotation)
1379Dim newParameterList = parameterList.RemoveNode(node, SyntaxRemoveOptions.KeepEndOfLine).WithAdditionalAnnotations(Formatter.Annotation)
3541parameter = parameter.RemoveNode(parameter.Default, SyntaxRemoveOptions.KeepNoTrivia)
3560variableDeclarator = variableDeclarator.RemoveNode(variableDeclarator.Initializer, SyntaxRemoveOptions.KeepExteriorTrivia)
3582enumMemberDeclaration = enumMemberDeclaration.RemoveNode(enumMemberDeclaration.Initializer, SyntaxRemoveOptions.KeepExteriorTrivia)
4301Dim newInheritsStatement = inheritsStatement.RemoveNode(inheritsType, SyntaxRemoveOptions.KeepEndOfLine)
4373Dim newImplementsStatement = implementsStatement.RemoveNode(inheritsType, SyntaxRemoveOptions.KeepEndOfLine)