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