11 references to _document
Microsoft.CodeAnalysis.CodeStyle.Fixes (11)
src\roslyn\src\Analyzers\Core\CodeFixes\ImplementAbstractClass\ImplementAbstractClassData.cs (11)
88
var compilation = await
_document
.Project.GetRequiredCompilationAsync(cancellationToken).ConfigureAwait(false);
109
var info = await
_document
.GetCodeGenerationInfoAsync(context, cancellationToken).ConfigureAwait(false);
117
var root = await
_document
.GetRequiredSyntaxRootAsync(cancellationToken).ConfigureAwait(false);
120
return
_document
.WithSyntaxRoot(newRoot);
142
var syntaxFacts =
_document
.GetRequiredLanguageService<ISyntaxFactsService>();
176
var syntaxFacts =
_document
.GetRequiredLanguageService<ISyntaxFactsService>();
177
var generator = SyntaxGenerator.GetGenerator(
_document
);
205
var generator =
_document
.GetRequiredLanguageService<Microsoft.CodeAnalysis.Editing.SyntaxGenerator>();
237
var generator =
_document
.GetRequiredLanguageService<Microsoft.CodeAnalysis.Editing.SyntaxGenerator>();
251
var generator =
_document
.GetRequiredLanguageService<Microsoft.CodeAnalysis.Editing.SyntaxGenerator>();
269
_document
,