184 interfaces inheriting from ILanguageService
Microsoft.CodeAnalysis.CodeStyle.Fixes (31)
src\Analyzers\Core\CodeFixes\AddAccessibilityModifiers\IAddAccessibilityModifiersService.cs (1)
9
internal interface IAddAccessibilityModifiersService : IAddAccessibilityModifiers,
ILanguageService
src\Analyzers\Core\CodeFixes\GenerateConstructor\IGenerateConstructorService.cs (1)
14
internal interface IGenerateConstructorService :
ILanguageService
src\Analyzers\Core\CodeFixes\GenerateDefaultConstructors\IGenerateDefaultConstructorsService.cs (1)
14
internal interface IGenerateDefaultConstructorsService :
ILanguageService
src\Analyzers\Core\CodeFixes\GenerateEnumMember\IGenerateEnumMemberService.cs (1)
13
internal interface IGenerateEnumMemberService :
ILanguageService
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\IGenerateConversionService.cs (1)
13
internal interface IGenerateConversionService :
ILanguageService
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\IGenerateDeconstructMemberService.cs (1)
14
internal interface IGenerateDeconstructMemberService :
ILanguageService
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\IGenerateParameterizedMemberService.cs (1)
14
internal interface IGenerateParameterizedMemberService :
ILanguageService
src\Analyzers\Core\CodeFixes\GenerateVariable\IGenerateVariableService.cs (1)
15
internal interface IGenerateVariableService :
ILanguageService
src\Analyzers\Core\CodeFixes\ImplementInterface\IImplementInterfaceService.cs (1)
22
internal interface IImplementInterfaceService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\ICodeGenerationService.cs (1)
14
internal interface ICodeGenerationService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeRefactorings\IRefactoringHelpersService.cs (1)
19
internal interface IRefactoringHelpersService : IHeaderFactsService,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\EmbeddedLanguages\VirtualChars\IVirtualCharLanguageService.cs (1)
9
internal interface IVirtualCharLanguageService : IVirtualCharService,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ContextQuery\ISyntaxContextService.cs (1)
11
internal interface ISyntaxContextService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Formatting\ISyntaxFormattingService.cs (1)
13
internal interface ISyntaxFormattingService : ISyntaxFormatting,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\IIndentationService.cs (1)
16
internal interface IIndentationService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\AddImports\IAddImportsService.cs (1)
20
internal interface IAddImportsService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\CommandLine\ICommandLineParserService.cs (1)
11
internal interface ICommandLineParserService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\GeneratedCodeRecognition\IGeneratedCodeRecognitionService.cs (1)
13
internal interface IGeneratedCodeRecognitionService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\InitializeParameter\IInitializeParameterService.cs (1)
14
internal interface IInitializeParameterService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\IMoveDeclarationNearReferenceService.cs (1)
13
internal interface IMoveDeclarationNearReferenceService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\RemoveUnnecessaryImports\IRemoveUnnecessaryImportsService.cs (1)
12
internal interface IRemoveUnnecessaryImportsService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\ReplaceDiscardDeclarationsWithAssignments\IReplaceDiscardDeclarationsWithAssignmentsService.cs (1)
13
internal interface IReplaceDiscardDeclarationsWithAssignmentsService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SemanticsFactsService\ISemanticFactsService.cs (1)
13
internal partial interface ISemanticFactsService : ISemanticFacts,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SymbolDeclarationService\ISymbolDeclarationService.cs (1)
10
internal interface ISymbolDeclarationService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SyntaxFactsService\IBlockFactsService.cs (1)
9
internal interface IBlockFactsService : IBlockFacts,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SyntaxFactsService\IFileBannerFactsService.cs (1)
9
internal interface IFileBannerFactsService : IFileBannerFacts,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SyntaxFactsService\IHeaderFactsService.cs (1)
9
internal interface IHeaderFactsService : IHeaderFacts,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SyntaxFactsService\ISyntaxFactsService.cs (1)
15
internal interface ISyntaxFactsService : ISyntaxFacts,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SyntaxFactsService\ISyntaxKindsService.cs (1)
13
internal partial interface ISyntaxKindsService : ISyntaxKinds,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\TypeInferenceService\ITypeInferenceService.cs (1)
27
internal interface ITypeInferenceService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\ISimplificationService.cs (1)
14
internal interface ISimplificationService : ISimplification,
ILanguageService
Microsoft.CodeAnalysis.EditorFeatures (11)
AutomaticCompletion\IBraceCompletionServiceFactory.cs (1)
11
internal interface IBraceCompletionServiceFactory :
ILanguageService
EditorConfigSettings\DataProvider\ILanguageSettingsProviderFactory.cs (1)
9
internal interface ILanguageSettingsProviderFactory<TData> : ISettingsProviderFactory<TData>,
ILanguageService
EndConstructGeneration\IEndConstructGenerationService.cs (1)
13
internal interface IEndConstructGenerationService :
ILanguageService
Extensibility\NavigationBar\INavigationBarItemService.cs (1)
14
internal interface INavigationBarItemService :
ILanguageService
ExternalAccess\VSTypeScript\Api\IVSTypeScriptFindUsagesService.cs (1)
11
internal interface IVSTypeScriptFindUsagesService :
ILanguageService
Formatting\IFormattingInteractionService.cs (1)
14
internal interface IFormattingInteractionService :
ILanguageService
IContentTypeLanguageService.cs (1)
15
internal interface IContentTypeLanguageService :
ILanguageService
InlineRename\IEditorInlineRenameService.cs (1)
255
internal interface IEditorInlineRenameService :
ILanguageService
IOptionPageService.cs (1)
9
internal interface IOptionPageService :
ILanguageService
RenameTracking\IRenameTrackingLanguageHeuristicsService.cs (1)
11
internal interface IRenameTrackingLanguageHeuristicsService :
ILanguageService
SplitComment\ISplitCommentService.cs (1)
9
internal interface ISplitCommentService :
ILanguageService
Microsoft.CodeAnalysis.ExternalAccess.Copilot (1)
RelatedDocuments\ICopilotRelatedDocumentsService.cs (1)
13
internal interface ICopilotRelatedDocumentsService :
ILanguageService
Microsoft.CodeAnalysis.Features (74)
AddImport\IAddImportFeatureService.cs (1)
18
internal interface IAddImportFeatureService :
ILanguageService
BracePairs\IBracePairsService.cs (1)
20
internal interface IBracePairsService :
ILanguageService
CodeLens\ICodeLensDisplayInfoService.cs (1)
11
internal interface ICodeLensDisplayInfoService :
ILanguageService
CodeLens\ICodeLensMemberFinder.cs (1)
13
internal interface ICodeLensMemberFinder :
ILanguageService
CodeRefactorings\AddMissingImports\IAddMissingImportsFeatureService.cs (1)
13
internal interface IAddMissingImportsFeatureService :
ILanguageService
CodeRefactorings\MoveType\IMoveTypeService.cs (1)
17
internal interface IMoveTypeService :
ILanguageService
CommentSelection\ICommentSelectionService.cs (1)
9
internal interface ICommentSelectionService :
ILanguageService
Completion\Providers\ImportCompletionProvider\ITypeImportCompletionService.cs (1)
13
internal interface ITypeImportCompletionService :
ILanguageService
ConvertTupleToStruct\IConvertTupleToStructCodeRefactoringProvider.cs (1)
13
internal interface IConvertTupleToStructCodeRefactoringProvider :
ILanguageService
Copilot\ICopilotCodeAnalysisService.cs (1)
18
internal interface ICopilotCodeAnalysisService :
ILanguageService
Copilot\ICopilotOptionsService.cs (1)
14
internal interface ICopilotOptionsService :
ILanguageService
Debugging\IBreakpointResolutionService.cs (1)
13
internal interface IBreakpointResolutionService :
ILanguageService
Debugging\ILanguageDebugInfoService.cs (1)
11
internal interface ILanguageDebugInfoService :
ILanguageService
Debugging\IProximityExpressionsService.cs (1)
14
internal interface IProximityExpressionsService :
ILanguageService
DecompiledSource\IDecompilationService.cs (1)
13
internal interface IDecompilationService :
ILanguageService
DecompiledSource\IDecompiledSourceService.cs (1)
12
internal interface IDecompiledSourceService :
ILanguageService
Diagnostics\IAnalyzerDriverService.cs (1)
14
internal interface IAnalyzerDriverService :
ILanguageService
DocumentationComments\IDocumentationCommentFormattingService.cs (1)
11
internal interface IDocumentationCommentFormattingService :
ILanguageService
DocumentationComments\IDocumentationCommentSnippetService.cs (1)
11
internal interface IDocumentationCommentSnippetService :
ILanguageService
DocumentHighlighting\IDocumentHighlightsService.cs (1)
48
internal interface IDocumentHighlightsService :
ILanguageService
EditAndContinue\IEditAndContinueAnalyzer.cs (1)
14
internal interface IEditAndContinueAnalyzer :
ILanguageService
EmbeddedLanguages\IEmbeddedLanguagesProvider.cs (1)
14
internal interface IEmbeddedLanguagesProvider :
ILanguageService
EncapsulateField\IEncapsulateFieldService.cs (1)
14
internal interface IEncapsulateFieldService :
ILanguageService
ExternalAccess\UnitTesting\SolutionCrawler\IUnitTestingDocumentDifferenceService.cs (1)
17
internal interface IUnitTestingDocumentDifferenceService :
ILanguageService
ExternalAccess\UnitTesting\SolutionCrawler\IUnitTestingWorkCoordinatorPriorityService.cs (1)
11
internal interface IUnitTestingWorkCoordinatorPriorityService :
ILanguageService
ExternalAccess\VSTypeScript\Api\IVSTypeScriptCommentSlectionServiceImplementation.cs (1)
15
internal interface IVSTypeScriptCommentSelectionServiceImplementation :
ILanguageService
ExtractMethod\IExtractMethodService.cs (1)
12
internal interface IExtractMethodService :
ILanguageService
ExtractMethod\ISyntaxTriviaService.cs (1)
59
internal interface ISyntaxTriviaService :
ILanguageService
FindUsages\IFindUsagesLSPService.cs (1)
12
internal interface IFindUsagesLSPService :
ILanguageService
FindUsages\IFindUsagesService.cs (1)
12
internal interface IFindUsagesService :
ILanguageService
Formatting\INewDocumentFormattingService.cs (1)
12
internal interface INewDocumentFormattingService :
ILanguageService
FullyQualify\IFullyQualifyService.cs (1)
33
internal interface IFullyQualifyService :
ILanguageService
GenerateEqualsAndGetHashCodeFromMembers\IGenerateEqualsAndGetHashCodeService.cs (1)
18
internal interface IGenerateEqualsAndGetHashCodeService :
ILanguageService
GenerateType\IGenerateTypeService.cs (1)
14
internal interface IGenerateTypeService :
ILanguageService
GoToBase\IGoToBaseService.cs (1)
13
internal interface IGoToBaseService :
ILanguageService
GoToDefinition\IGoToDefinitionSymbolService.cs (1)
12
internal interface IGoToDefinitionSymbolService :
ILanguageService
InheritanceMargin\IInheritanceMarginService.cs (1)
13
internal interface IInheritanceMarginService :
ILanguageService
InlineHints\IInlineHintsService.cs (1)
13
internal interface IInlineHintsService :
ILanguageService
InlineHints\IInlineParameterNameHintsService.cs (1)
18
internal interface IInlineParameterNameHintsService :
ILanguageService
InlineHints\IInlineTypeHintsService.cs (1)
18
internal interface IInlineTypeHintsService :
ILanguageService
IntroduceVariable\IIntroduceVariableService.cs (1)
16
internal interface IIntroduceVariableService :
ILanguageService
LanguageServices\AnonymousTypeDisplayService\IStructuralTypeDisplayService.cs (1)
10
internal interface IStructuralTypeDisplayService :
ILanguageService
LanguageServices\SymbolDisplayService\ISymbolDisplayService.cs (1)
15
internal interface ISymbolDisplayService :
ILanguageService
LineSeparators\ILineSeparatorService.cs (1)
13
internal interface ILineSeparatorService :
ILanguageService
MapCode\IMapCodeService.cs (1)
21
internal interface IMapCodeService :
ILanguageService
MetadataAsSource\IMetadataAsSourceService.cs (1)
12
internal interface IMetadataAsSourceService :
ILanguageService
MoveToNamespace\AbstractMoveToNamespaceService.cs (1)
25
internal interface IMoveToNamespaceService :
ILanguageService
NavigateTo\INavigateToSearchService.cs (1)
13
internal interface INavigateToSearchService :
ILanguageService
Navigation\IDefinitionLocationService.cs (1)
21
internal interface IDefinitionLocationService :
ILanguageService
Navigation\INavigableItemsService.cs (1)
18
internal interface INavigableItemsService :
ILanguageService
NavigationBar\INavigationBarItemService.cs (1)
12
internal interface INavigationBarItemService :
ILanguageService
Organizing\IOrganizingService.cs (1)
18
internal interface IOrganizingService :
ILanguageService
RelatedDocuments\IRelatedDocumentsService.cs (1)
13
internal interface IRelatedDocumentsService :
ILanguageService
Rename\IRenameIssuesService.cs (1)
10
internal interface IRenameIssuesService :
ILanguageService
ReplaceMethodWithProperty\IReplaceMethodWithPropertyService.cs (1)
16
internal interface IReplaceMethodWithPropertyService :
ILanguageService
ReplacePropertyWithMethods\IReplacePropertyWithMethodsService.cs (1)
17
internal interface IReplacePropertyWithMethodsService :
ILanguageService
SemanticSearch\ISemanticSearchService.cs (1)
13
internal interface ISemanticSearchService :
ILanguageService
Snippets\ISnippetInfoService.cs (1)
12
internal interface ISnippetInfoService :
ILanguageService
Snippets\ISnippetService.cs (1)
12
internal interface ISnippetService :
ILanguageService
SolutionCrawler\IDocumentDifferenceService.cs (1)
11
internal interface IDocumentDifferenceService :
ILanguageService
SpellCheck\ISpellCheckingSpanService.cs (1)
15
internal interface ISpellCheckSpanService :
ILanguageService
SplitOrMergeIfStatements\IIfLikeStatementGenerator.cs (1)
18
internal interface IIfLikeStatementGenerator :
ILanguageService
src\Analyzers\Core\CodeFixes\AddAccessibilityModifiers\IAddAccessibilityModifiersService.cs (1)
9
internal interface IAddAccessibilityModifiersService : IAddAccessibilityModifiers,
ILanguageService
src\Analyzers\Core\CodeFixes\GenerateConstructor\IGenerateConstructorService.cs (1)
14
internal interface IGenerateConstructorService :
ILanguageService
src\Analyzers\Core\CodeFixes\GenerateDefaultConstructors\IGenerateDefaultConstructorsService.cs (1)
14
internal interface IGenerateDefaultConstructorsService :
ILanguageService
src\Analyzers\Core\CodeFixes\GenerateEnumMember\IGenerateEnumMemberService.cs (1)
13
internal interface IGenerateEnumMemberService :
ILanguageService
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\IGenerateConversionService.cs (1)
13
internal interface IGenerateConversionService :
ILanguageService
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\IGenerateDeconstructMemberService.cs (1)
14
internal interface IGenerateDeconstructMemberService :
ILanguageService
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\IGenerateParameterizedMemberService.cs (1)
14
internal interface IGenerateParameterizedMemberService :
ILanguageService
src\Analyzers\Core\CodeFixes\GenerateVariable\IGenerateVariableService.cs (1)
15
internal interface IGenerateVariableService :
ILanguageService
src\Analyzers\Core\CodeFixes\ImplementInterface\IImplementInterfaceService.cs (1)
22
internal interface IImplementInterfaceService :
ILanguageService
StringIndentation\IStringIndentationService.cs (1)
13
internal interface IStringIndentationService :
ILanguageService
SyncNamespaces\ISyncNamespacesService.cs (1)
14
internal interface ISyncNamespacesService :
ILanguageService
Testing\ITestMethodFinder.cs (1)
13
internal interface ITestMethodFinder :
ILanguageService
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\CodeCleanup\ICodeCleanupService.cs (1)
13
internal interface ICodeCleanupService :
ILanguageService
Microsoft.CodeAnalysis.Workspaces (43)
CaseCorrection\ICaseCorrectionService.cs (1)
13
internal interface ICaseCorrectionService :
ILanguageService
ChangeNamespace\IChangeNamespaceService.cs (1)
12
internal interface IChangeNamespaceService :
ILanguageService
Classification\IClassificationService.cs (1)
15
internal interface IClassificationService :
ILanguageService
Classification\IEmbeddedLanguageClassificationService.cs (1)
14
internal interface IEmbeddedLanguageClassificationService :
ILanguageService
Classification\SyntaxClassification\ISyntaxClassificationService.cs (1)
16
internal interface ISyntaxClassificationService :
ILanguageService
CodeCleanup\ICodeCleanerService.cs (1)
20
internal interface ICodeCleanerService :
ILanguageService
Diagnostics\IDiagnosticPropertiesService.cs (1)
12
internal interface IDiagnosticPropertiesService :
ILanguageService
FindSymbols\FindReferences\Finders\ILanguageServiceReferenceFinder.cs (1)
17
internal interface ILanguageServiceReferenceFinder :
ILanguageService
FindSymbols\TopLevelSyntaxTree\IDeclaredSymbolInfoFactoryService.cs (1)
12
internal interface IDeclaredSymbolInfoFactoryService :
ILanguageService
Formatting\IFormattingService.cs (1)
13
internal interface IFormattingService :
ILanguageService
LanguageServices\FixAllSpanMappingService\IFixAllSpanMappingService.cs (1)
22
internal interface IFixAllSpanMappingService :
ILanguageService
ObsoleteSymbol\IObsoleteSymbolService.cs (1)
18
internal interface IObsoleteSymbolService :
ILanguageService
OrganizeImports\IOrganizeImportsService.cs (1)
11
internal interface IOrganizeImportsService :
ILanguageService
ReassignedVariable\IReassignedVariableService.cs (1)
18
internal interface IReassignedVariableService :
ILanguageService
Recommendations\IRecommendationService.cs (1)
12
internal interface IRecommendationService :
ILanguageService
Rename\IRenameRewriterLanguageService.cs (1)
18
internal interface IRenameRewriterLanguageService :
ILanguageService
SemanticModelReuse\ISemanticModelReuseLanguageService.cs (1)
16
internal interface ISemanticModelReuseLanguageService :
ILanguageService
Serialization\IOptionsSerializationService.cs (1)
16
internal interface IOptionsSerializationService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\ICodeGenerationService.cs (1)
14
internal interface ICodeGenerationService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeRefactorings\IRefactoringHelpersService.cs (1)
19
internal interface IRefactoringHelpersService : IHeaderFactsService,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\EmbeddedLanguages\VirtualChars\IVirtualCharLanguageService.cs (1)
9
internal interface IVirtualCharLanguageService : IVirtualCharService,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ContextQuery\ISyntaxContextService.cs (1)
11
internal interface ISyntaxContextService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Formatting\ISyntaxFormattingService.cs (1)
13
internal interface ISyntaxFormattingService : ISyntaxFormatting,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\IIndentationService.cs (1)
16
internal interface IIndentationService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\AddImports\IAddImportsService.cs (1)
20
internal interface IAddImportsService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\CommandLine\ICommandLineParserService.cs (1)
11
internal interface ICommandLineParserService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\GeneratedCodeRecognition\IGeneratedCodeRecognitionService.cs (1)
13
internal interface IGeneratedCodeRecognitionService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\InitializeParameter\IInitializeParameterService.cs (1)
14
internal interface IInitializeParameterService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\IMoveDeclarationNearReferenceService.cs (1)
13
internal interface IMoveDeclarationNearReferenceService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\RemoveUnnecessaryImports\IRemoveUnnecessaryImportsService.cs (1)
12
internal interface IRemoveUnnecessaryImportsService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\ReplaceDiscardDeclarationsWithAssignments\IReplaceDiscardDeclarationsWithAssignmentsService.cs (1)
13
internal interface IReplaceDiscardDeclarationsWithAssignmentsService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SemanticsFactsService\ISemanticFactsService.cs (1)
13
internal partial interface ISemanticFactsService : ISemanticFacts,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SymbolDeclarationService\ISymbolDeclarationService.cs (1)
10
internal interface ISymbolDeclarationService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SyntaxFactsService\IBlockFactsService.cs (1)
9
internal interface IBlockFactsService : IBlockFacts,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SyntaxFactsService\IFileBannerFactsService.cs (1)
9
internal interface IFileBannerFactsService : IFileBannerFacts,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SyntaxFactsService\IHeaderFactsService.cs (1)
9
internal interface IHeaderFactsService : IHeaderFacts,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SyntaxFactsService\ISyntaxFactsService.cs (1)
15
internal interface ISyntaxFactsService : ISyntaxFacts,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SyntaxFactsService\ISyntaxKindsService.cs (1)
13
internal partial interface ISyntaxKindsService : ISyntaxKinds,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\TypeInferenceService\ITypeInferenceService.cs (1)
27
internal interface ITypeInferenceService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\ISimplificationService.cs (1)
14
internal interface ISimplificationService : ISimplification,
ILanguageService
TaskList\ITaskListService.cs (1)
16
internal interface ITaskListService :
ILanguageService
Workspace\Host\CompilationFactory\ICompilationFactoryService.cs (1)
12
internal interface ICompilationFactoryService :
ILanguageService
Workspace\Host\SyntaxTreeFactory\ISyntaxTreeFactoryService.cs (1)
15
internal interface ISyntaxTreeFactoryService :
ILanguageService
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
NoCompilationLanguageServiceFactory.cs (1)
22
internal interface INoCompilationLanguageService :
ILanguageService
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
SolutionTests\SolutionTests.cs (1)
3877
private interface ITestLanguageService :
ILanguageService
Microsoft.VisualStudio.LanguageServices (12)
ChangeSignature\IChangeSignatureViewModelFactoryService.cs (1)
11
internal interface IChangeSignatureViewModelFactoryService :
ILanguageService
F1Help\IHelpContextService.cs (1)
13
internal interface IHelpContextService :
ILanguageService
Implementation\ICodeModelNavigationPointService.cs (1)
14
internal interface ICodeModelNavigationPointService :
ILanguageService
Library\ILibraryService.cs (1)
12
internal interface ILibraryService :
ILanguageService
Progression\IProgressionLanguageService.cs (1)
14
internal interface IProgressionLanguageService :
ILanguageService
ProjectSystem\IEntryPointFinderService.cs (1)
14
internal interface IEntryPointFinderService :
ILanguageService
ProjectSystem\IProjectExistsUIContextProviderLanguageService.cs (1)
13
internal interface IProjectExistsUIContextProviderLanguageService :
ILanguageService
Snippets\ISnippetExpansionLanguageHelper.cs (1)
20
internal interface ISnippetExpansionLanguageHelper :
ILanguageService
Utilities\ICompilationOptionsChangingService.cs (1)
10
internal interface ICompilationOptionsChangingService :
ILanguageService
Utilities\IParseOptionsChangingService.cs (1)
10
internal interface IParseOptionsChangingService :
ILanguageService
Venus\IAdditionalFormattingRuleLanguageService.cs (1)
12
internal interface IAdditionalFormattingRuleLanguageService :
ILanguageService
Venus\IVenusBraceMatchingService.cs (1)
10
internal interface IVenusBraceMatchingService :
ILanguageService
Microsoft.VisualStudio.LanguageServices.Xaml (9)
Features\AutoInsert\IXamlAutoInsertService.cs (1)
14
internal interface IXamlAutoInsertService :
ILanguageService
Features\Commands\IXamlCommandService.cs (1)
12
internal interface IXamlCommandService :
ILanguageService
Features\Completion\IXamlCompletionService.cs (1)
14
internal interface IXamlCompletionService :
ILanguageService
Features\Definitions\IXamlGoToDefinitionService.cs (1)
13
internal interface IXamlGoToDefinitionService :
ILanguageService
Features\Diagnostics\IXamlPullDiagnosticService.cs (1)
12
internal interface IXamlPullDiagnosticService :
ILanguageService
Features\Formatting\IXamlFormattingService.cs (1)
16
internal interface IXamlFormattingService :
ILanguageService
Features\QuickInfo\IXamlQuickInfoService.cs (1)
14
internal interface IXamlQuickInfoService :
ILanguageService
Features\Structure\IXamlStructureService.cs (1)
15
internal interface IXamlStructureService :
ILanguageService
Features\TypeRename\IXamlTypeRenameService.cs (1)
12
internal interface IXamlTypeRenameService :
ILanguageService
15 implementations of ILanguageService
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (1)
24
internal abstract class ImportAdderService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SyntaxGeneratorInternalExtensions\SyntaxGeneratorInternal.cs (1)
19
internal abstract class SyntaxGeneratorInternal :
ILanguageService
Microsoft.CodeAnalysis.ExternalAccess.FSharp (4)
Internal\Diagnostics\FSharpDocumentDiagnosticAnalyzer.cs (1)
24
internal class FSharpDocumentDiagnosticAnalyzerService :
ILanguageService
Internal\Diagnostics\FSharpSimplifyNameDiagnosticAnalyzer.cs (1)
24
internal class FSharpSimplifyNameDiagnosticAnalyzerService :
ILanguageService
Internal\Diagnostics\FSharpUnusedDeclarationsAnalyzer.cs (1)
24
internal class FSharpUnusedDeclarationsDiagnosticAnalyzerService :
ILanguageService
Internal\Diagnostics\FSharpUnusedOpensDiagnosticAnalyzer.cs (1)
21
internal class FSharpUnusedOpensDiagnosticAnalyzerService :
ILanguageService
Microsoft.CodeAnalysis.Features (6)
ChangeSignature\AbstractChangeSignatureService.cs (1)
34
internal abstract class AbstractChangeSignatureService :
ILanguageService
Completion\CompletionService.cs (1)
31
public abstract partial class CompletionService :
ILanguageService
ExtractInterface\AbstractExtractInterfaceService.cs (1)
29
internal abstract class AbstractExtractInterfaceService :
ILanguageService
QuickInfo\QuickInfoService.cs (1)
18
public abstract class QuickInfoService :
ILanguageService
Snippets\SnippetFunctionService.cs (1)
17
internal abstract class SnippetFunctionService :
ILanguageService
Structure\BlockStructureService.cs (1)
14
internal abstract class BlockStructureService :
ILanguageService
Microsoft.CodeAnalysis.Workspaces (3)
Editing\SyntaxGenerator.cs (1)
32
public abstract class SyntaxGenerator :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (1)
24
internal abstract class ImportAdderService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SyntaxGeneratorInternalExtensions\SyntaxGeneratorInternal.cs (1)
19
internal abstract class SyntaxGeneratorInternal :
ILanguageService
112 references to ILanguageService
Microsoft.CodeAnalysis.CodeStyle.Fixes (20)
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (1)
244
private TLanguageService GetRequiredLanguageService<TLanguageService>(string language) where TLanguageService :
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ContextQuery\SyntaxContext.cs (2)
127
public TService? GetLanguageService<TService>() where TService : class,
ILanguageService
130
public TService GetRequiredLanguageService<TService>() where TService : class,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\DocumentExtensions.cs (2)
32
public static TLanguageService? GetLanguageService<TLanguageService>(this Document? document) where TLanguageService : class,
ILanguageService
35
public static TLanguageService GetRequiredLanguageService<TLanguageService>(this Document document) where TLanguageService : class,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\HostWorkspaceServicesExtensions.cs (2)
9
public static TLanguageService? GetLanguageService<TLanguageService>(this HostWorkspaceServices hostWorkspaceServices, string languageName) where TLanguageService : class,
ILanguageService
12
public static TLanguageService GetRequiredLanguageService<TLanguageService>(this HostWorkspaceServices hostWorkspaceServices, string languageName) where TLanguageService : class,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ProjectExtensions.cs (2)
18
public static TLanguageService? GetLanguageService<TLanguageService>(this Project? project) where TLanguageService : class,
ILanguageService
25
public static TLanguageService GetRequiredLanguageService<TLanguageService>(this Project project) where TLanguageService : class,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\SemanticDocument.cs (1)
32
public TLanguageService GetRequiredLanguageService<TLanguageService>() where TLanguageService : class,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LanguageServiceMetadata.cs (1)
11
/// MEF metadata class used for finding <see cref="
ILanguageService
"/> and <see cref="ILanguageServiceFactory"/> exports.
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\MefLanguageServices.cs (8)
16
[assembly: DebuggerTypeProxy(typeof(MefLanguageServices.LazyServiceMetadataDebuggerProxy), Target = typeof(ImmutableArray<Lazy<
ILanguageService
, WorkspaceServiceMetadata>>))]
24
private readonly ImmutableArray<(Lazy<
ILanguageService
, LanguageServiceMetadata> lazyService, bool usesFactory)> _services;
26
private ImmutableDictionary<Type, (Lazy<
ILanguageService
, LanguageServiceMetadata>? lazyService, bool usesFactory)> _serviceMap
27
= ImmutableDictionary<Type, (Lazy<
ILanguageService
, LanguageServiceMetadata>? lazyService, bool usesFactory)>.Empty;
41
var services = hostServices.GetExports<
ILanguageService
, LanguageServiceMetadata>()
44
.Select(lz => (lazyService: new Lazy<
ILanguageService
, LanguageServiceMetadata>(() => lz.Value.CreateLanguageService(this), lz.Metadata), usesFactory: true));
129
private bool TryGetService(Type serviceType, [NotNullWhen(true)] out Lazy<
ILanguageService
, LanguageServiceMetadata>? lazyService, out bool usesFactory)
140
internal sealed class LazyServiceMetadataDebuggerProxy(ImmutableArray<Lazy<
ILanguageService
, LanguageServiceMetadata>> services)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\MefWorkspaceServices.cs (1)
154
var list = HostExportProvider.GetExports<
ILanguageService
, LanguageServiceMetadata>().Select(lz => lz.Metadata.Language).Concat(
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationServiceFactory.cs (1)
22
public
ILanguageService
CreateLanguageService(HostLanguageServices provider)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\EmbeddedLanguages\VirtualChars\CSharpVirtualCharLanguageServiceFactory.cs (1)
22
public
ILanguageService
CreateLanguageService(HostLanguageServices languageServices)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSemanticFactsServiceFactory.cs (1)
24
public
ILanguageService
CreateLanguageService(HostLanguageServices languageServices)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxFactsServiceFactory.cs (1)
24
public
ILanguageService
CreateLanguageService(HostLanguageServices languageServices)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxKindsServiceFactory.cs (1)
24
public
ILanguageService
CreateLanguageService(HostLanguageServices languageServices)
Microsoft.CodeAnalysis.CSharp.Features (9)
Completion\CompletionProviders\AggregateEmbeddedLanguageCompletionProvider.cs (1)
20
internal class AggregateEmbeddedLanguageCompletionProvider([ImportMany] IEnumerable<Lazy<
ILanguageService
, LanguageServiceMetadata>> languageServices) : AbstractAggregateEmbeddedLanguageCompletionProvider(languageServices, LanguageNames.CSharp)
Completion\CompletionProviders\ImportCompletion\TypeImportCompletionServiceFactory.cs (1)
22
public
ILanguageService
CreateLanguageService(HostLanguageServices languageServices)
Completion\CSharpCompletionService.cs (1)
27
public
ILanguageService
CreateLanguageService(HostLanguageServices languageServices)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
36
public
ILanguageService
CreateLanguageService(HostLanguageServices languageServices)
ExtractMethod\CSharpSyntaxTriviaServiceFactory.cs (1)
24
public
ILanguageService
CreateLanguageService(HostLanguageServices provider)
LanguageServices\CSharpSymbolDisplayServiceFactory.cs (1)
24
public
ILanguageService
CreateLanguageService(HostLanguageServices provider)
MetadataAsSource\CSharpMetadataAsSourceServiceFactory.cs (1)
24
public
ILanguageService
CreateLanguageService(HostLanguageServices provider)
QuickInfo\CSharpQuickInfoSevice.cs (1)
22
public
ILanguageService
CreateLanguageService(HostLanguageServices languageServices)
Structure\CSharpBlockStructureService.cs (1)
25
public
ILanguageService
CreateLanguageService(HostLanguageServices languageServices)
Microsoft.CodeAnalysis.CSharp.Workspaces (7)
CodeCleanup\CSharpCodeCleanerServiceFactory.cs (1)
22
public
ILanguageService
CreateLanguageService(HostLanguageServices provider)
Formatting\CSharpSyntaxFormattingService.cs (1)
36
public
ILanguageService
CreateLanguageService(HostLanguageServices languageServices)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationServiceFactory.cs (1)
22
public
ILanguageService
CreateLanguageService(HostLanguageServices provider)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\EmbeddedLanguages\VirtualChars\CSharpVirtualCharLanguageServiceFactory.cs (1)
22
public
ILanguageService
CreateLanguageService(HostLanguageServices languageServices)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSemanticFactsServiceFactory.cs (1)
24
public
ILanguageService
CreateLanguageService(HostLanguageServices languageServices)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxFactsServiceFactory.cs (1)
24
public
ILanguageService
CreateLanguageService(HostLanguageServices languageServices)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxKindsServiceFactory.cs (1)
24
public
ILanguageService
CreateLanguageService(HostLanguageServices languageServices)
Microsoft.CodeAnalysis.EditorFeatures (4)
ExternalAccess\VSTypeScript\Api\ITypeScriptGoToDefinitionServiceFactoryImplementation.cs (1)
11
ILanguageService
CreateLanguageService(HostLanguageServices languageServices);
GoToDefinition\AbstractGoToCommandHandler`2.cs (1)
37
where TLanguageService : class,
ILanguageService
Interactive\Completion\InteractiveCommandCompletionService.cs (1)
23
public
ILanguageService
CreateLanguageService(HostLanguageServices languageServices)
Shared\Extensions\HostWorkspaceServicesExtensions.cs (1)
72
var exports = mefHostServices.GetExports<
ILanguageService
, ContentTypeLanguageMetadata>();
Microsoft.CodeAnalysis.Features (4)
Completion\Providers\AbstractAggregateEmbeddedLanguageCompletionProvider.cs (2)
34
protected AbstractAggregateEmbeddedLanguageCompletionProvider(IEnumerable<Lazy<
ILanguageService
, LanguageServiceMetadata>> languageServices, string languageName)
55
private static bool IsEmbeddedLanguageProvider(Lazy<
ILanguageService
, LanguageServiceMetadata> lazyLanguageService, string languageName, string? embeddedLanguageServiceType)
ExternalAccess\VSTypeScript\VSTypeScriptDiagnosticAnalyzerLanguageService.cs (1)
18
[Import(AllowDefault = true)] IVSTypeScriptDiagnosticAnalyzerImplementation? implementation = null) :
ILanguageService
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (1)
244
private TLanguageService GetRequiredLanguageService<TLanguageService>(string language) where TLanguageService :
ILanguageService
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (2)
Completion\CompletionFeaturesTests.cs (2)
623
public
ILanguageService
CreateLanguageService(HostLanguageServices languageServices)
914
public
ILanguageService
CreateLanguageService(HostLanguageServices languageServices)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (5)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationServiceFactory.vb (1)
20
Public Function CreateLanguageService(provider As HostLanguageServices) As
ILanguageService
Implements ILanguageServiceFactory.CreateLanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\EmbeddedLanguages\VirtualChars\VisualBasicVirtualCharLanguageServiceFactory.vb (1)
20
Public Function CreateLanguageService(languageServices As HostLanguageServices) As
ILanguageService
Implements ILanguageServiceFactory.CreateLanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSemanticFactsService.vb (1)
25
Public Function CreateLanguageService(languageServices As HostLanguageServices) As
ILanguageService
Implements ILanguageServiceFactory.CreateLanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSyntaxFactsServiceFactory.vb (1)
20
Public Function CreateLanguageService(languageServices As HostLanguageServices) As
ILanguageService
Implements ILanguageServiceFactory.CreateLanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSyntaxKindsServiceFactory.vb (1)
20
Public Function CreateLanguageService(languageServices As HostLanguageServices) As
ILanguageService
Implements ILanguageServiceFactory.CreateLanguageService
Microsoft.CodeAnalysis.VisualBasic.Features (9)
Completion\CompletionProviders\AggregateEmbeddedLanguageCompletionProvider.vb (1)
20
Public Sub New(<ImportMany> languageServices As IEnumerable(Of Lazy(Of
ILanguageService
, LanguageServiceMetadata)))
Completion\CompletionProviders\ImportCompletionProvider\TypeImportCompletionServiceFactory.vb (1)
21
Public Function CreateLanguageService(languageServices As HostLanguageServices) As
ILanguageService
Implements ILanguageServiceFactory.CreateLanguageService
Completion\VisualBasicCompletionService.vb (1)
32
Public Function CreateLanguageService(languageServices As HostLanguageServices) As
ILanguageService
Implements ILanguageServiceFactory.CreateLanguageService
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
31
Public Function CreateLanguageService(languageServices As HostLanguageServices) As
ILanguageService
Implements ILanguageServiceFactory.CreateLanguageService
ExtractMethod\VisualBasicSyntaxTriviaServiceFactory.vb (1)
20
Public Function CreateLanguageService(provider As HostLanguageServices) As
ILanguageService
Implements ILanguageServiceFactory.CreateLanguageService
LanguageServices\VisualBasicSymbolDisplayServiceFactory.vb (1)
20
Public Function CreateLanguageService(provider As HostLanguageServices) As
ILanguageService
Implements ILanguageServiceFactory.CreateLanguageService
MetadataAsSource\VisualBasicMetadataAsSourceServiceFactory.vb (1)
20
Public Function CreateLanguageService(provider As HostLanguageServices) As
ILanguageService
Implements ILanguageServiceFactory.CreateLanguageService
QuickInfo\VisualBasicQuickInfoService.vb (1)
20
Public Function CreateLanguageService(languageServices As HostLanguageServices) As
ILanguageService
Implements ILanguageServiceFactory.CreateLanguageService
Structure\VisualBasicBlockStructureService.vb (1)
21
Public Function CreateLanguageService(languageServices As HostLanguageServices) As
ILanguageService
Implements ILanguageServiceFactory.CreateLanguageService
Microsoft.CodeAnalysis.VisualBasic.Workspaces (8)
CaseCorrection\VisualBasicCaseCorrectionServiceFactory.vb (1)
20
Public Function CreateLanguageService(provider As HostLanguageServices) As
ILanguageService
Implements ILanguageServiceFactory.CreateLanguageService
CodeCleanup\VisualBasicCodeCleanerServiceFactory.vb (1)
20
Public Function CreateLanguageService(provider As HostLanguageServices) As
ILanguageService
Implements ILanguageServiceFactory.CreateLanguageService
Rename\VisualBasicRenameRewriterLanguageServiceFactory.vb (1)
20
Public Function CreateLanguageService(provider As HostLanguageServices) As
ILanguageService
Implements ILanguageServiceFactory.CreateLanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\VisualBasicCodeGenerationServiceFactory.vb (1)
20
Public Function CreateLanguageService(provider As HostLanguageServices) As
ILanguageService
Implements ILanguageServiceFactory.CreateLanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\EmbeddedLanguages\VirtualChars\VisualBasicVirtualCharLanguageServiceFactory.vb (1)
20
Public Function CreateLanguageService(languageServices As HostLanguageServices) As
ILanguageService
Implements ILanguageServiceFactory.CreateLanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSemanticFactsService.vb (1)
25
Public Function CreateLanguageService(languageServices As HostLanguageServices) As
ILanguageService
Implements ILanguageServiceFactory.CreateLanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSyntaxFactsServiceFactory.vb (1)
20
Public Function CreateLanguageService(languageServices As HostLanguageServices) As
ILanguageService
Implements ILanguageServiceFactory.CreateLanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSyntaxKindsServiceFactory.vb (1)
20
Public Function CreateLanguageService(languageServices As HostLanguageServices) As
ILanguageService
Implements ILanguageServiceFactory.CreateLanguageService
Microsoft.CodeAnalysis.Workspaces (32)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ContextQuery\SyntaxContext.cs (2)
127
public TService? GetLanguageService<TService>() where TService : class,
ILanguageService
130
public TService GetRequiredLanguageService<TService>() where TService : class,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\DocumentExtensions.cs (2)
32
public static TLanguageService? GetLanguageService<TLanguageService>(this Document? document) where TLanguageService : class,
ILanguageService
35
public static TLanguageService GetRequiredLanguageService<TLanguageService>(this Document document) where TLanguageService : class,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\HostWorkspaceServicesExtensions.cs (2)
9
public static TLanguageService? GetLanguageService<TLanguageService>(this HostWorkspaceServices hostWorkspaceServices, string languageName) where TLanguageService : class,
ILanguageService
12
public static TLanguageService GetRequiredLanguageService<TLanguageService>(this HostWorkspaceServices hostWorkspaceServices, string languageName) where TLanguageService : class,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ProjectExtensions.cs (2)
18
public static TLanguageService? GetLanguageService<TLanguageService>(this Project? project) where TLanguageService : class,
ILanguageService
25
public static TLanguageService GetRequiredLanguageService<TLanguageService>(this Project project) where TLanguageService : class,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\SemanticDocument.cs (1)
32
public TLanguageService GetRequiredLanguageService<TLanguageService>() where TLanguageService : class,
ILanguageService
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LanguageServiceMetadata.cs (1)
11
/// MEF metadata class used for finding <see cref="
ILanguageService
"/> and <see cref="ILanguageServiceFactory"/> exports.
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\MefLanguageServices.cs (8)
16
[assembly: DebuggerTypeProxy(typeof(MefLanguageServices.LazyServiceMetadataDebuggerProxy), Target = typeof(ImmutableArray<Lazy<
ILanguageService
, WorkspaceServiceMetadata>>))]
24
private readonly ImmutableArray<(Lazy<
ILanguageService
, LanguageServiceMetadata> lazyService, bool usesFactory)> _services;
26
private ImmutableDictionary<Type, (Lazy<
ILanguageService
, LanguageServiceMetadata>? lazyService, bool usesFactory)> _serviceMap
27
= ImmutableDictionary<Type, (Lazy<
ILanguageService
, LanguageServiceMetadata>? lazyService, bool usesFactory)>.Empty;
41
var services = hostServices.GetExports<
ILanguageService
, LanguageServiceMetadata>()
44
.Select(lz => (lazyService: new Lazy<
ILanguageService
, LanguageServiceMetadata>(() => lz.Value.CreateLanguageService(this), lz.Metadata), usesFactory: true));
129
private bool TryGetService(Type serviceType, [NotNullWhen(true)] out Lazy<
ILanguageService
, LanguageServiceMetadata>? lazyService, out bool usesFactory)
140
internal sealed class LazyServiceMetadataDebuggerProxy(ImmutableArray<Lazy<
ILanguageService
, LanguageServiceMetadata>> services)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\MefWorkspaceServices.cs (1)
154
var list = HostExportProvider.GetExports<
ILanguageService
, LanguageServiceMetadata>().Select(lz => lz.Metadata.Language).Concat(
Workspace\Host\HostLanguageServices.cs (3)
17
/// described in detail for <see cref="HostWorkspaceServices"/>. Instances of <see cref="
ILanguageService
"/> have
51
public abstract TLanguageService? GetService<TLanguageService>() where TLanguageService :
ILanguageService
;
62
public TLanguageService GetRequiredService<TLanguageService>() where TLanguageService :
ILanguageService
Workspace\Host\LanguageServices.cs (2)
32
public TLanguageService? GetService<TLanguageService>() where TLanguageService :
ILanguageService
36
public TLanguageService GetRequiredService<TLanguageService>() where TLanguageService :
ILanguageService
Workspace\Host\Mef\ExportLanguageServiceAttribute.cs (3)
12
/// Use this attribute to declare a <see cref="
ILanguageService
"/> implementation for inclusion in a MEF-based workspace.
15
/// Declares a <see cref="
ILanguageService
"/> implementation for inclusion in a MEF-based workspace.
22
public class ExportLanguageServiceAttribute(Type type, string language, string layer = ServiceLayer.Default) : ExportAttribute(typeof(
ILanguageService
))
Workspace\Host\Mef\ILanguageServiceFactory.cs (4)
10
/// A factory that creates instances of a specific <see cref="
ILanguageService
"/>.
12
/// Implement a <see cref="ILanguageServiceFactory"/> when you want to provide <see cref="
ILanguageService
"/> instances that use other services.
17
/// Creates a new <see cref="
ILanguageService
"/> instance.
20
ILanguageService
CreateLanguageService(HostLanguageServices languageServices);
Workspace\Host\SolutionServices.cs (1)
61
public TLanguageService GetRequiredLanguageService<TLanguageService>(string language) where TLanguageService :
ILanguageService
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\MSBuildProjectLoader.Worker.cs (1)
500
where TLanguageService :
ILanguageService
Microsoft.VisualStudio.LanguageServices.CSharp (4)
CodeModel\CSharpCodeModelNavigationPointServiceFactory.cs (1)
26
public
ILanguageService
CreateLanguageService(HostLanguageServices provider)
CodeModel\CSharpCodeModelServiceFactory.cs (1)
37
public
ILanguageService
CreateLanguageService(HostLanguageServices provider)
EditorConfigSettings\DataProvider\CodeStyle\CSharpCodeStyleSettingsLanguageServiceFactory.cs (1)
28
public
ILanguageService
CreateLanguageService(HostLanguageServices languageServices)
EditorConfigSettings\DataProvider\Whitespace\CSharpWhitespaceSettingsLanguageServiceFactory.cs (1)
28
public
ILanguageService
CreateLanguageService(HostLanguageServices languageServices)
Microsoft.VisualStudio.LanguageServices.VisualBasic (2)
CodeModel\VisualBasicCodeModelNavigationPointServiceFactory.vb (1)
22
Public Function CreateLanguageService(provider As HostLanguageServices) As
ILanguageService
Implements ILanguageServiceFactory.CreateLanguageService
CodeModel\VisualBasicCodeModelServiceFactory.vb (1)
39
Public Function CreateLanguageService(provider As HostLanguageServices) As
ILanguageService
Implements ILanguageServiceFactory.CreateLanguageService