3 references to ReduceAsync
Microsoft.CodeAnalysis.Workspaces (3)
CodeCleanup\Providers\SimplificationCodeCleanupProvider.cs (1)
20
=> Simplifier.
ReduceAsync
(document, spans, options.SimplifierOptions, cancellationToken);
Simplification\Simplifier.cs (2)
196
return await
ReduceAsync
(document, root.GetAnnotatedNodesAndTokens(annotation).Select(t => t.FullSpan), options, cancellationToken).ConfigureAwait(false);
216
=>
ReduceAsync
(document, [span], options, cancellationToken);