39 types derived from CSharpSyntaxRewriter
Microsoft.CodeAnalysis.CSharp (4)
Syntax\SyntaxNodeRemover.cs (1)
48private class SyntaxRemover : CSharpSyntaxRewriter
Syntax\SyntaxNormalizer.cs (1)
14internal class SyntaxNormalizer : CSharpSyntaxRewriter
Syntax\SyntaxReplacer.cs (2)
66private class Replacer<TNode> : CSharpSyntaxRewriter where TNode : SyntaxNode 287private abstract class BaseListEditor : CSharpSyntaxRewriter
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.SingleLineRewriter.cs (1)
14internal class SingleLineRewriter : CSharpSyntaxRewriter
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\CSharpTriviaFormatter.DocumentationCommentExteriorCommentRewriter.cs (1)
12private class DocumentationCommentExteriorCommentRewriter : CSharpSyntaxRewriter
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaRewriter.cs (1)
19internal class TriviaRewriter : CSharpSyntaxRewriter
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpAddImportsService.cs (1)
90private sealed class Rewriter : CSharpSyntaxRewriter
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpRemoveUnnecessaryImportsService.Rewriter.cs (1)
23private class Rewriter : CSharpSyntaxRewriter
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxFactsService.cs (1)
48private class AddFirstMissingCloseBraceRewriter : CSharpSyntaxRewriter
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Semantics\PatternMatchingTests2.cs (1)
2034class RemoveAliasQualifiers : CSharpSyntaxRewriter
Microsoft.CodeAnalysis.CSharp.Features (6)
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.ReferenceRewriter.cs (1)
15private class ReferenceRewriter : CSharpSyntaxRewriter
DocumentationComments\DocCommentConverter.cs (1)
16internal class DocCommentConverter : CSharpSyntaxRewriter
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.CallSiteContainerRewriter.cs (1)
22private sealed class CallSiteContainerRewriter : CSharpSyntaxRewriter
IntroduceVariable\CSharpIntroduceVariableService.Rewriter.cs (1)
15private class Rewriter : CSharpSyntaxRewriter
ReplacePropertyWithMethods\CSharpReplacePropertyWithMethodsService.ConvertValueToParamRewriter.cs (1)
13private class ConvertValueToParamRewriter : CSharpSyntaxRewriter
ReplacePropertyWithMethods\CSharpReplacePropertyWithMethodsService.ConvertValueToReturnsRewriter.cs (1)
13private class ConvertValueToReturnsRewriter : CSharpSyntaxRewriter
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
DocumentationComments\DocumentationCommentCompilerTests.cs (1)
3213private class DocumentationCommentAdder : CSharpSyntaxRewriter
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (8)
Syntax\RedNodeTests.cs (2)
15private class TokenDeleteRewriter : CSharpSyntaxRewriter 23private class IdentityRewriter : CSharpSyntaxRewriter
Syntax\SyntaxAnnotationTests.cs (3)
712private class InjectAnnotationRewriter : CSharpSyntaxRewriter 758private class InjectRandomAnnotationsRewriter : CSharpSyntaxRewriter 810private class CopyAnnotationRewriter : CSharpSyntaxRewriter
Syntax\SyntaxRewriterTests.cs (3)
676private class RemoveRegionRewriter : CSharpSyntaxRewriter 754internal class RedRewriter : CSharpSyntaxRewriter 789internal class BadRewriter : CSharpSyntaxRewriter
Microsoft.CodeAnalysis.CSharp.Workspaces (12)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
2191private class AddMissingTokensRewriter : CSharpSyntaxRewriter
OrganizeImports\CSharpOrganizeImportsService.Rewriter.cs (1)
18private sealed class Rewriter : CSharpSyntaxRewriter
Rename\CSharpRenameRewriterLanguageService.cs (1)
48private class RenameRewriter : CSharpSyntaxRewriter
Simplification\CSharpSimplificationService.Expander.cs (1)
31private class Expander : CSharpSyntaxRewriter
Simplification\CSharpSimplificationService.NodesAndTokensToReduceComputer.cs (1)
18private class NodesAndTokensToReduceComputer : CSharpSyntaxRewriter
Simplification\Reducers\AbstractCSharpReducer.AbstractReductionRewriter.cs (1)
20protected abstract class AbstractReductionRewriter : CSharpSyntaxRewriter, IReductionRewriter
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.SingleLineRewriter.cs (1)
14internal class SingleLineRewriter : CSharpSyntaxRewriter
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\CSharpTriviaFormatter.DocumentationCommentExteriorCommentRewriter.cs (1)
12private class DocumentationCommentExteriorCommentRewriter : CSharpSyntaxRewriter
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaRewriter.cs (1)
19internal class TriviaRewriter : CSharpSyntaxRewriter
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpAddImportsService.cs (1)
90private sealed class Rewriter : CSharpSyntaxRewriter
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpRemoveUnnecessaryImportsService.Rewriter.cs (1)
23private class Rewriter : CSharpSyntaxRewriter
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxFactsService.cs (1)
48private class AddFirstMissingCloseBraceRewriter : CSharpSyntaxRewriter
Microsoft.DotNet.GenFacades (1)
NotSupportedAssemblyGenerator.cs (1)
94internal class NotSupportedAssemblyRewriter : CSharpSyntaxRewriter
8 references to CSharpSyntaxRewriter
Microsoft.CodeAnalysis.CSharp.Features (8)
Organizing\CSharpOrganizingService.Rewriter.cs (1)
17private class Rewriter(CSharpOrganizingService treeOrganizer, IEnumerable<ISyntaxOrganizer> organizers, SemanticModel semanticModel, CancellationToken cancellationToken) : CSharpSyntaxRewriter
ReplaceMethodWithProperty\CSharpReplaceMethodWithPropertyService.cs (1)
290private class Rewriter(SemanticModel semanticModel, IParameterSymbol parameter) : CSharpSyntaxRewriter
ReplacePropertyWithMethods\CSharpReplacePropertyWithMethodsService.ConvertValueToParamRewriter.cs (1)
15public static readonly CSharpSyntaxRewriter Instance = new ConvertValueToParamRewriter();
ReplacePropertyWithMethods\CSharpReplacePropertyWithMethodsService.ConvertValueToReturnsRewriter.cs (1)
15public static readonly CSharpSyntaxRewriter Instance = new ConvertValueToReturnsRewriter();
ReplacePropertyWithMethods\CSharpReplacePropertyWithMethodsService.cs (3)
231CSharpSyntaxRewriter documentationCommentRewriter) 237private static SyntaxTrivia ConvertTrivia(SyntaxTrivia trivia, CSharpSyntaxRewriter rewriter) 248private static SyntaxTrivia ConvertDocumentationComment(SyntaxTrivia trivia, CSharpSyntaxRewriter rewriter)
SimplifyThisOrMe\CSharpSimplifyThisOrMeCodeFixProvider.cs (1)
32private class Rewriter(ISet<MemberAccessExpressionSyntax> memberAccessNodes) : CSharpSyntaxRewriter