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