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