5 implementations of GetDefaultContentType
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
LanguageServices\CSharpContentTypeLanguageService.cs (1)
19public IContentType GetDefaultContentType()
Microsoft.CodeAnalysis.EditorFeatures (1)
Interactive\InteractiveCommandContentTypeLanguageService.cs (1)
26public IContentType GetDefaultContentType()
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Workspaces\NoCompilationContentTypeLanguageService.cs (1)
25public IContentType GetDefaultContentType()
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Internal\Editor\FSharpContentTypeLanguageService.cs (1)
28public IContentType GetDefaultContentType()
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Features\XamlContentTypeLanguageService.cs (1)
26public IContentType GetDefaultContentType()
12 references to GetDefaultContentType
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Classification\SemanticClassifierTests.cs (1)
3529var contentType = contentTypeService.GetDefaultContentType();
Microsoft.CodeAnalysis.EditorFeatures (6)
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (1)
590var contentType = preMergeDocument.Project.Services.GetService<IContentTypeLanguageService>().GetDefaultContentType();
Preview\AbstractPreviewFactoryService.cs (2)
595var contentType = contentTypeService.GetDefaultContentType(); 755oldDocument.Project.Services.GetRequiredService<IContentTypeLanguageService>().GetDefaultContentType());
QuickInfo\Extensions.cs (1)
36var contentType = contentTypeService.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())
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
AbstractCommandHandlerTestState.cs (1)
70var contentType = Workspace.Services.GetLanguageServices(languageName).GetRequiredService<IContentTypeLanguageService>().GetDefaultContentType();
Workspaces\EditorTestHostDocument.cs (1)
151var contentType = LanguageServiceProvider.GetRequiredService<IContentTypeLanguageService>().GetDefaultContentType();
Microsoft.VisualStudio.LanguageServices (3)
Preview\FileChange.cs (1)
85left.Project.Services.GetService<IContentTypeLanguageService>().GetDefaultContentType());
Preview\PreviewUpdater.cs (1)
82var contentType = contentTypeService.GetDefaultContentType();
Venus\ContainedDocument.cs (1)
604_workspace.Services.GetLanguageServices(_project.Language).GetService<IContentTypeLanguageService>().GetDefaultContentType());