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