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