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