4 references to _document
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.GenerateLocalCodeAction.cs (4)
39
var newDocument =
_document
.WithSyntaxRoot(newRoot);
46
var semanticModel = await
_document
.GetRequiredSemanticModelAsync(cancellationToken).ConfigureAwait(false);
53
var syntaxFactory =
_document
.GetRequiredLanguageService<SyntaxGenerator>();
64
var info = await
_document
.GetCodeGenerationInfoAsync(context, cancellationToken).ConfigureAwait(false);