3 references to ReduceAsync
Microsoft.CodeAnalysis.Workspaces (1)
Simplification\Simplifier.cs (1)
189
return await
ReduceAsync
(document, root.GetAnnotatedNodesAndTokens(annotation).Select(t => t.FullSpan), optionSet, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
Simplifier\SimplifierTests.cs (2)
67
await Assert.ThrowsAsync<ArgumentNullException>("document", () => Simplifier.
ReduceAsync
(document: null!, spans: null!));
68
await Assert.ThrowsAsync<ArgumentNullException>("spans", () => Simplifier.
ReduceAsync
(document, spans: null!));