244 references to SyntaxRemoveOptions
Microsoft.AspNetCore.App.CodeFixes (2)
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 (38)
Syntax\SyntaxNodeTests.cs (36)
2482var expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepExteriorTrivia);
2497var expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepExteriorTrivia);
2513var expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepExteriorTrivia);
2530var expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepExteriorTrivia);
2551var expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepExteriorTrivia);
2570var expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepNoTrivia);
2586var expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepNoTrivia);
2602var expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepNoTrivia);
2618var expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepNoTrivia);
2638var expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepNoTrivia);
2655var expr2 = expr.RemoveNode(n, SyntaxRemoveOptions.KeepExteriorTrivia);
2669var expr2 = expr.RemoveNode(n, SyntaxRemoveOptions.KeepExteriorTrivia);
2683var expr2 = expr.RemoveNode(n, SyntaxRemoveOptions.KeepExteriorTrivia);
2697var expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepNoTrivia);
2711var expr2 = expr.RemoveNode(b, SyntaxRemoveOptions.KeepExteriorTrivia);
2729var m2 = m.RemoveNode(m.Body, SyntaxRemoveOptions.KeepExteriorTrivia);
2762var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepExteriorTrivia | SyntaxRemoveOptions.KeepUnbalancedDirectives);
2797var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepUnbalancedDirectives);
2835var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepUnbalancedDirectives);
2875var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepDirectives);
2907var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine);
2924var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine);
2940var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine | SyntaxRemoveOptions.KeepDirectives);
2957var cu2 = cu.RemoveNode(cu, SyntaxRemoveOptions.KeepEndOfLine);
2999var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine);
3040var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine);
3084var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine);
3126var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepTrailingTrivia);
3168var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine);
3208var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine);
3251var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepEndOfLine);
3292var cu2 = cu.RemoveNode(m, SyntaxRemoveOptions.KeepLeadingTrivia);
3316var 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 (17)
TestSyntaxNodes.vb (15)
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)
2753Dim cu2 = cu.RemoveNode(n, SyntaxRemoveOptions.KeepUnbalancedDirectives)
2791Dim cu2 = cu.RemoveNode(n, SyntaxRemoveOptions.KeepExteriorTrivia Or SyntaxRemoveOptions.KeepUnbalancedDirectives)
2833Dim 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)