3 types derived from Rewriter
Microsoft.CodeAnalysis.VisualBasic.Workspaces (3)
CodeCleanup\Providers\AddMissingTokensCodeCleanupProvider.vb (1)
34Inherits AbstractTokensCodeCleanupProvider.Rewriter
CodeCleanup\Providers\FixIncorrectTokensCodeCleanupProvider.vb (1)
43Inherits AbstractTokensCodeCleanupProvider.Rewriter
CodeCleanup\Providers\ReduceTokensCodeCleanupProvider.vb (1)
38Inherits AbstractTokensCodeCleanupProvider.Rewriter
3 instantiations of Rewriter
Microsoft.CodeAnalysis.VisualBasic.Workspaces (3)
CodeCleanup\Providers\AddMissingTokensCodeCleanupProvider.vb (1)
39MyBase.New(spans, cancellationToken)
CodeCleanup\Providers\FixIncorrectTokensCodeCleanupProvider.vb (1)
50MyBase.New(spans, cancellationToken)
CodeCleanup\Providers\ReduceTokensCodeCleanupProvider.vb (1)
41MyBase.New(spans, cancellationToken)
8 references to Rewriter
Microsoft.CodeAnalysis.VisualBasic.Workspaces (8)
CodeCleanup\Providers\AbstractTokensCodeCleanupProvider.vb (3)
20document As Document, root As SyntaxNode, spans As ImmutableArray(Of TextSpan), cancellationToken As CancellationToken) As Task(Of Rewriter) 24Dim rewriter As Rewriter = Await GetRewriterAsync(document, root, spans, cancellationToken).ConfigureAwait(False) 31Dim rewriter As Rewriter = Await GetRewriterAsync(Nothing, root, spans, cancellationToken).ConfigureAwait(False)
CodeCleanup\Providers\AddMissingTokensCodeCleanupProvider.vb (1)
29Protected Overrides Async Function GetRewriterAsync(document As Document, root As SyntaxNode, spans As ImmutableArray(Of TextSpan), cancellationToken As CancellationToken) As Task(Of Rewriter)
CodeCleanup\Providers\FixIncorrectTokensCodeCleanupProvider.vb (2)
38Protected Overrides Function GetRewriterAsync(document As Document, root As SyntaxNode, spans As ImmutableArray(Of TextSpan), cancellationToken As CancellationToken) As Task(Of Rewriter) 55Public Shared Async Function CreateAsync(document As Document, spans As ImmutableArray(Of TextSpan), cancellationToken As CancellationToken) As Task(Of Rewriter)
CodeCleanup\Providers\ReduceTokensCodeCleanupProvider.vb (2)
33Protected Overrides Function GetRewriterAsync(document As Document, root As SyntaxNode, spans As ImmutableArray(Of TextSpan), cancellationToken As CancellationToken) As Task(Of Rewriter) 34Return Task.FromResult(Of Rewriter)(New ReduceTokensRewriter(spans, cancellationToken))