6 references to IContentTypeLanguageService
Microsoft.CodeAnalysis.EditorFeatures (6)
ExportContentTypeLanguageServiceAttribute.cs (1)
17: ExportLanguageServiceAttribute(typeof(IContentTypeLanguageService), language, layer)
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (1)
592var contentType = preMergeDocument.Project.Services.GetService<IContentTypeLanguageService>().GetDefaultContentType();
Preview\AbstractPreviewFactoryService.cs (2)
632var contentTypeService = document.GetRequiredLanguageService<IContentTypeLanguageService>(); 799oldDocument.Project.Services.GetRequiredService<IContentTypeLanguageService>().GetDefaultContentType());
Shared\Extensions\HostWorkspaceServicesExtensions.cs (1)
83l => hostWorkspaceServices.GetLanguageServices(l).GetRequiredService<IContentTypeLanguageService>().GetDefaultContentType().TypeName);
TextDiffing\EditorTextDifferencingService.cs (1)
35var diffService = _differenceSelectorService.GetTextDifferencingService(oldDocument.Project.Services.GetService<IContentTypeLanguageService>().GetDefaultContentType())