1 write to Document
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator.cs (1)
56
Document
= document;
19 references to Document
Microsoft.CodeAnalysis.Features (19)
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator.cs (7)
80
var tree = await this.
Document
.GetRequiredSyntaxTreeAsync(cancellationToken).ConfigureAwait(false);
81
var compilation = await this.
Document
.Project.GetRequiredCompilationAsync(cancellationToken).ConfigureAwait(false);
96
this.
Document
.Project.Solution,
214
var syntaxFacts =
Document
.GetRequiredLanguageService<ISyntaxFactsService>();
287
var factory =
Document
.GetRequiredLanguageService<SyntaxGenerator>();
333
var generator =
Document
.GetRequiredLanguageService<SyntaxGenerator>();
383
private bool IsCaseSensitive =>
Document
.GetRequiredLanguageService<ISyntaxFactsService>().IsCaseSensitive;
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_DisposePattern.cs (5)
49
var document = this.
Document
;
129
var g = this.
Document
.GetRequiredLanguageService<SyntaxGenerator>();
148
var g = this.
Document
.GetRequiredLanguageService<SyntaxGenerator>();
193
var g = this.
Document
.GetRequiredLanguageService<SyntaxGenerator>();
194
var syntaxFacts = this.
Document
.GetRequiredLanguageService<ISyntaxFactsService>();
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_Method.cs (2)
31
var syntaxFacts =
Document
.GetRequiredLanguageService<ISyntaxFactsService>();
52
var factory =
Document
.GetRequiredLanguageService<SyntaxGenerator>();
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_Property.cs (5)
38
var factory =
Document
.GetLanguageService<SyntaxGenerator>();
49
var syntaxFacts =
Document
.GetRequiredLanguageService<ISyntaxFactsService>();
50
var semanticFacts =
Document
.GetRequiredLanguageService<ISemanticFactsService>();
159
var generator =
Document
.GetRequiredLanguageService<SyntaxGenerator>();
173
var generator =
Document
.GetRequiredLanguageService<SyntaxGenerator>();