5 references to ReduceAsync
Microsoft.AspNetCore.Components.Analyzers.Tests (1)
Helpers\CodeFixVerifier.Helper.cs (1)
80
var simplifiedDoc = Simplifier.
ReduceAsync
(document, Simplifier.Annotation).Result;
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (1)
Helpers\CodeFixVerifier.Helper.cs (1)
80
var simplifiedDoc = Simplifier.
ReduceAsync
(document, Simplifier.Annotation).Result;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\MisplacedUsingDirectives\MisplacedUsingDirectivesCodeFixProvider.cs (1)
163
return await Simplifier.
ReduceAsync
(newDocument, Simplifier.Annotation, optionSet: null, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
Simplifier\SimplifierTests.cs (2)
64
await Assert.ThrowsAsync<ArgumentNullException>("document", () => Simplifier.
ReduceAsync
(document: null!, annotation: null!));
65
await Assert.ThrowsAsync<ArgumentNullException>("annotation", () => Simplifier.
ReduceAsync
(document, annotation: null!));