6 references to GetOptionsAsync
Microsoft.CodeAnalysis.Workspaces (4)
Formatting\Formatter.cs (2)
328optionSet ??= await document.GetOptionsAsync(cancellationToken).ConfigureAwait(false); 370var optionSet = await document.GetOptionsAsync(cancellationToken).ConfigureAwait(false);
Options\DocumentOptionSet.cs (1)
21/// An <see cref="OptionSet"/> that comes from <see cref="Document.GetOptionsAsync(System.Threading.CancellationToken)"/>. It behaves just like a normal
Simplification\Simplifier.cs (1)
256optionSet ??= await document.GetOptionsAsync(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
Formatter\FormatterTests.cs (1)
82var documentOptions = await document.GetOptionsAsync();
SolutionTests\SolutionTests.cs (1)
4394var documentOptions = await document.GetOptionsAsync(CancellationToken.None);