10 references to GetLanguageService
Microsoft.CodeAnalysis.CodeStyle.Fixes (10)
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_Property.cs (1)
40var factory = Document.GetLanguageService<SyntaxGenerator>();
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (1)
807var service = document.GetLanguageService<IReplaceDiscardDeclarationsWithAssignmentsService>();
src\Analyzers\Core\CodeFixes\UseSystemHashCode\UseSystemHashCodeCodeFixProvider.cs (1)
41var declarationService = document.GetLanguageService<ISymbolDeclarationService>();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ContextQuery\SyntaxContext.cs (1)
128=> Document.GetLanguageService<TService>();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\DocumentExtensions.cs (1)
212var generatedCodeRecognitionService = document.GetLanguageService<IGeneratedCodeRecognitionService>();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxEditorExtensions.cs (1)
164var syntaxFacts = document.GetLanguageService<ISyntaxFactsService>();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\GeneratedCodeRecognition\AbstractGeneratedCodeRecognitionService.cs (1)
33var syntaxFacts = document.GetLanguageService<ISyntaxFactsService>();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceService.cs (3)
208var syntaxFacts = document.GetLanguageService<ISyntaxFactsService>(); 237var generator = document.GetLanguageService<SyntaxGeneratorInternal>(); 239var syntaxFacts = document.GetLanguageService<ISyntaxFactsService>();