5 references to GetRequiredSemanticModelAsync
Microsoft.CodeAnalysis.Analyzers (5)
FixAnalyzers\FixerWithFixAllAnalyzer.Fixer.cs (1)
61
var model = await document.
GetRequiredSemanticModelAsync
(cancellationToken).ConfigureAwait(false);
MetaAnalyzers\Fixers\CompareSymbolsCorrectlyFix.cs (2)
66
var semanticModel = await document.
GetRequiredSemanticModelAsync
(cancellationToken).ConfigureAwait(false);
81
var semanticModel = await document.
GetRequiredSemanticModelAsync
(cancellationToken).ConfigureAwait(false);
MetaAnalyzers\Fixers\ConfigureGeneratedCodeAnalysisFix.cs (1)
44
var semanticModel = await document.
GetRequiredSemanticModelAsync
(cancellationToken).ConfigureAwait(false);
MetaAnalyzers\Fixers\DefineDiagnosticDescriptorArgumentsCorrectlyFix.cs (1)
46
var semanticModel = await context.Document.
GetRequiredSemanticModelAsync
(context.CancellationToken).ConfigureAwait(false);