5 references to GetRequiredSyntaxTreeAsync
Microsoft.CodeAnalysis.CodeStyle.Fixes (5)
src\Analyzers\Core\CodeFixes\AnalyzerOptionsProviders.cs (1)
16
var syntaxTree = await document.
GetRequiredSyntaxTreeAsync
(cancellationToken).ConfigureAwait(false);
src\Analyzers\Core\CodeFixes\FileHeaders\AbstractFileHeaderCodeFixProvider.cs (1)
60
var tree = await document.
GetRequiredSyntaxTreeAsync
(cancellationToken).ConfigureAwait(false);
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator.cs (1)
80
var tree = await this.Document.
GetRequiredSyntaxTreeAsync
(cancellationToken).ConfigureAwait(false);
src\Analyzers\Core\CodeFixes\OrderModifiers\AbstractOrderModifiersCodeFixProvider.cs (1)
43
var syntaxTree = await context.Document.
GetRequiredSyntaxTreeAsync
(context.CancellationToken).ConfigureAwait(false);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\DocumentExtensions.cs (1)
230
var syntaxTree = await document.
GetRequiredSyntaxTreeAsync
(cancellationToken).ConfigureAwait(false);