23 references to DefaultRemoveOptions
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
src\Analyzers\Core\CodeFixes\RemoveUnnecessarySuppressions\RemoveUnnecessaryPragmaSuppressionsCodeFixProvider.cs (1)
75var options = SyntaxGenerator.DefaultRemoveOptions;
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (2)
648var removeOptions = SyntaxGenerator.DefaultRemoveOptions; 900var rootWithRemovedDeclaration = root.RemoveNode(newDecl, SyntaxGenerator.DefaultRemoveOptions | SyntaxRemoveOptions.KeepLeadingTrivia);
src\Analyzers\Core\CodeFixes\UseConditionalExpression\UseConditionalExpressionHelpers.cs (1)
18var removeOptions = SyntaxGenerator.DefaultRemoveOptions;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (3)
179if (constructorRemoveOptions == SyntaxGenerator.DefaultRemoveOptions) 192if (memberRemoveOptions != SyntaxGenerator.DefaultRemoveOptions) 511: SyntaxGenerator.DefaultRemoveOptions;
Microsoft.CodeAnalysis.CSharp.Features (5)
ConvertProgram\ConvertProgramTransform_ProgramMain.cs (2)
44var newRoot = root.RemoveNodes(root.Members.OfType<GlobalStatementSyntax>().Skip(1), SyntaxGenerator.DefaultRemoveOptions); 48newRoot = newRoot.RemoveNode(oldClassDeclaration, SyntaxGenerator.DefaultRemoveOptions);
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (3)
179if (constructorRemoveOptions == SyntaxGenerator.DefaultRemoveOptions) 192if (memberRemoveOptions != SyntaxGenerator.DefaultRemoveOptions) 511: SyntaxGenerator.DefaultRemoveOptions;
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
2984=> RemoveNode(root, node, DefaultRemoveOptions);
Microsoft.CodeAnalysis.Features (7)
ConvertForToForEach\AbstractConvertForToForEachCodeRefactoringProvider.cs (1)
373SyntaxGenerator.DefaultRemoveOptions | SyntaxRemoveOptions.KeepLeadingTrivia);
RemoveUnusedVariable\AbstractRemoveUnusedVariableCodeFixProvider.cs (1)
133var removeOptions = SyntaxGenerator.DefaultRemoveOptions;
src\Analyzers\Core\CodeFixes\RemoveUnnecessarySuppressions\RemoveUnnecessaryPragmaSuppressionsCodeFixProvider.cs (1)
75var options = SyntaxGenerator.DefaultRemoveOptions;
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (2)
648var removeOptions = SyntaxGenerator.DefaultRemoveOptions; 900var rootWithRemovedDeclaration = root.RemoveNode(newDecl, SyntaxGenerator.DefaultRemoveOptions | SyntaxRemoveOptions.KeepLeadingTrivia);
src\Analyzers\Core\CodeFixes\UseConditionalExpression\UseConditionalExpressionHelpers.cs (1)
18var removeOptions = SyntaxGenerator.DefaultRemoveOptions;
UseAutoProperty\AbstractUseAutoPropertyCodeFixProvider.cs (1)
311var syntaxRemoveOptions = SyntaxGenerator.DefaultRemoveOptions;
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
3598Return RemoveNode(root, declaration, DefaultRemoveOptions)
Microsoft.CodeAnalysis.Workspaces (2)
Editing\SyntaxEditor.cs (1)
131=> RemoveNode(node, SyntaxGenerator.DefaultRemoveOptions);
Editing\SyntaxGenerator.cs (1)
1404=> RemoveNode(root, node, DefaultRemoveOptions);