1 write to Document
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator.cs (1)
56Document = document;
20 references to Document
Microsoft.CodeAnalysis.CodeStyle.Fixes (20)
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator.cs (8)
80var tree = await this.Document.GetRequiredSyntaxTreeAsync(cancellationToken).ConfigureAwait(false); 81var compilation = await this.Document.Project.GetRequiredCompilationAsync(cancellationToken).ConfigureAwait(false); 96this.Document.Project.Solution, 204var supportsImplicitImplementationOfNonPublicInterfaceMembers = this.Document 220var syntaxFacts = Document.GetRequiredLanguageService<ISyntaxFactsService>(); 295var factory = Document.GetRequiredLanguageService<SyntaxGenerator>(); 335var generator = Document.GetRequiredLanguageService<SyntaxGenerator>(); 385private 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)
34var syntaxFacts = Document.GetRequiredLanguageService<ISyntaxFactsService>(); 54var factory = Document.GetRequiredLanguageService<SyntaxGenerator>();
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_Property.cs (5)
40var factory = Document.GetLanguageService<SyntaxGenerator>(); 51var syntaxFacts = Document.GetRequiredLanguageService<ISyntaxFactsService>(); 52var semanticFacts = Document.GetRequiredLanguageService<ISemanticFactsService>(); 163var generator = Document.GetRequiredLanguageService<SyntaxGenerator>(); 178var generator = Document.GetRequiredLanguageService<SyntaxGenerator>();