4 references to GetDefaultContentType
Microsoft.CodeAnalysis.EditorFeatures (4)
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (1)
590var contentType = preMergeDocument.Project.Services.GetService<IContentTypeLanguageService>().GetDefaultContentType();
Preview\AbstractPreviewFactoryService.cs (1)
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())