18 references to GetRequiredSyntaxRootAsync
Microsoft.CodeAnalysis.Analyzers (18)
FixAnalyzers\FixerWithFixAllAnalyzer.Fixer.cs (1)
38
var root = await context.Document.
GetRequiredSyntaxRootAsync
(context.CancellationToken).ConfigureAwait(false);
MetaAnalyzers\Fixers\ApplyDiagnosticAnalyzerAttributeFix.cs (1)
22
var root = await context.Document.
GetRequiredSyntaxRootAsync
(context.CancellationToken).ConfigureAwait(false);
MetaAnalyzers\Fixers\CompareSymbolsCorrectlyFix.cs (2)
68
var root = await document.
GetRequiredSyntaxRootAsync
(cancellationToken).ConfigureAwait(false);
83
var root = await document.
GetRequiredSyntaxRootAsync
(cancellationToken).ConfigureAwait(false);
MetaAnalyzers\Fixers\ConfigureGeneratedCodeAnalysisFix.cs (1)
52
var root = await document.
GetRequiredSyntaxRootAsync
(cancellationToken).ConfigureAwait(false);
MetaAnalyzers\Fixers\DefineDiagnosticDescriptorArgumentsCorrectlyFix.cs (1)
41
var root = await context.Document.
GetRequiredSyntaxRootAsync
(context.CancellationToken).ConfigureAwait(false);
MetaAnalyzers\Fixers\EnableConcurrentExecutionFix.cs (1)
44
var root = await document.
GetRequiredSyntaxRootAsync
(cancellationToken).ConfigureAwait(false);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\SyntaxEditorBasedCodeFixProvider.cs (1)
83
var root = await document.
GetRequiredSyntaxRootAsync
(cancellationToken).ConfigureAwait(false);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (3)
37
var root = await document.
GetRequiredSyntaxRootAsync
(cancellationToken).ConfigureAwait(false);
120
var root = await document.
GetRequiredSyntaxRootAsync
(cancellationToken).ConfigureAwait(false);
180
var root = await document.
GetRequiredSyntaxRootAsync
(cancellationToken).ConfigureAwait(false);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\DocumentExtensions.cs (1)
132
var root = await document.
GetRequiredSyntaxRootAsync
(cancellationToken).ConfigureAwait(false);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\InitializeParameter\AbstractInitializerParameterService.cs (1)
123
var root = await document.
GetRequiredSyntaxRootAsync
(cancellationToken).ConfigureAwait(false);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (2)
96
var root = (TCompilationUnitSyntax)await document.
GetRequiredSyntaxRootAsync
(cancellationToken).ConfigureAwait(false);
107
root = (TCompilationUnitSyntax)await document.
GetRequiredSyntaxRootAsync
(cancellationToken).ConfigureAwait(false);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\ParsedDocument.cs (1)
34
var root = await document.
GetRequiredSyntaxRootAsync
(cancellationToken).ConfigureAwait(false);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\SemanticDocument.cs (1)
21
var root = await document.
GetRequiredSyntaxRootAsync
(cancellationToken).ConfigureAwait(false);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\SyntacticDocument.cs (1)
31
var root = await document.
GetRequiredSyntaxRootAsync
(cancellationToken).ConfigureAwait(false);