51 references to Default
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LanguageServiceMetadata.cs (1)
26public string Layer { get; } = (string?)data.GetValueOrDefault(nameof(ExportLanguageServiceAttribute.Layer)) ?? ServiceLayer.Default;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LayeredServiceUtilities.cs (1)
18private static readonly ImmutableArray<string> s_orderedProductLayers = [ServiceLayer.Host, ServiceLayer.Editor, ServiceLayer.Desktop, ServiceLayer.Default];
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\WorkspaceServices\SemanticModelReuse\SemanticModelReuseWorkspaceServiceFactory.cs (1)
13[ExportWorkspaceServiceFactory(typeof(ISemanticModelReuseWorkspaceService), ServiceLayer.Default), Shared]
Microsoft.CodeAnalysis.CSharp.Features (1)
EmbeddedLanguages\CSharpEmbeddedLanguagesProvider.cs (1)
15[ExportLanguageService(typeof(IEmbeddedLanguagesProvider), LanguageNames.CSharp, ServiceLayer.Default), Shared]
Microsoft.CodeAnalysis.EditorFeatures (7)
EditorConfigSettings\Aggregator\SettingsAggregatorFactory.cs (1)
14[ExportWorkspaceServiceFactory(typeof(ISettingsAggregator), ServiceLayer.Default), Shared]
InlineRename\UndoManagerServiceFactory.cs (1)
21[ExportWorkspaceServiceFactory(typeof(IInlineRenameUndoManager), ServiceLayer.Default), Shared]
NavigateTo\DefaultNavigateToLinkService.cs (1)
16[ExportWorkspaceService(typeof(INavigateToLinkService), layer: ServiceLayer.Default)]
Shared\Utilities\IWorkspaceContextService.cs (1)
28[ExportWorkspaceService(typeof(IWorkspaceContextService), ServiceLayer.Default), Shared]
Undo\DefaultSourceTextUndoService.cs (1)
15[ExportWorkspaceService(typeof(ISourceTextUndoService), ServiceLayer.Default), Shared]
Undo\NoOpGlobalUndoServiceFactory.cs (1)
17[ExportWorkspaceServiceFactory(typeof(IGlobalUndoService), ServiceLayer.Default), Shared]
Workspaces\TextUndoHistoryWorkspaceServiceFactoryService.cs (1)
16[ExportWorkspaceServiceFactory(typeof(ITextUndoHistoryWorkspaceService), ServiceLayer.Default), Shared]
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Diagnostics\GenerateType\TestProjectManagementService.cs (1)
15[ExportWorkspaceService(typeof(IProjectManagementService), ServiceLayer.Default), Shared]
Microsoft.CodeAnalysis.Features (9)
CodeFixesAndRefactorings\FeaturesFixAllGetFixesService.cs (1)
12[ExportWorkspaceService(typeof(IFixAllGetFixesService), ServiceLayer.Default), Shared]
CodeRefactorings\ServicesLayerCodeActionHelpersService.cs (1)
14[ExportWorkspaceServiceFactory(typeof(ICodeRefactoringHelpersService), ServiceLayer.Default), Shared]
Completion\Providers\ImportCompletionProvider\DefaultExtensionMethodImportCompletionCacheServiceFactory.cs (1)
16[ExportWorkspaceServiceFactory(typeof(IImportCompletionCacheService<ExtensionMethodImportCompletionCacheEntry, object>), ServiceLayer.Default), Shared]
Completion\Providers\ImportCompletionProvider\DefaultTypeImportCompletionCacheServiceFactory.cs (1)
13[ExportWorkspaceServiceFactory(typeof(IImportCompletionCacheService<TypeImportCompletionCacheEntry, TypeImportCompletionCacheEntry>), ServiceLayer.Default), Shared]
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingSolutionCrawlerService.cs (1)
21[ExportWorkspaceService(typeof(IUnitTestingSolutionCrawlerService), ServiceLayer.Default), Shared]
Navigation\DefaultDocumentNavigationService.cs (1)
11[ExportWorkspaceService(typeof(IDocumentNavigationService), ServiceLayer.Default), Shared]
Navigation\DefaultSymbolNavigationServiceFactory.cs (1)
14[ExportWorkspaceServiceFactory(typeof(ISymbolNavigationService), ServiceLayer.Default), Shared]
Shared\IDocumentSupportsFeatureService.cs (1)
23[ExportWorkspaceService(typeof(IDocumentSupportsFeatureService), ServiceLayer.Default), Shared]
SymbolMapping\SymbolMappingServiceFactory.cs (1)
15[ExportWorkspaceService(typeof(ISymbolMappingService), ServiceLayer.Default), Shared]
Microsoft.CodeAnalysis.VisualBasic.Features (1)
EmbeddedLanguages\VisualBasicEmbeddedLanguagesProvider.vb (1)
13<ExportLanguageService(GetType(IEmbeddedLanguagesProvider), LanguageNames.VisualBasic, ServiceLayer.Default), [Shared]>
Microsoft.CodeAnalysis.Workspaces (27)
ExtensionManager\ServicesLayerExtensionManager.cs (1)
12[ExportWorkspaceService(typeof(IExtensionManager), ServiceLayer.Default), Shared]
Formatting\Rules\DefaultFormattingRuleFactoryServiceFactory.cs (1)
13[ExportWorkspaceService(typeof(IHostDependentFormattingRuleFactoryService), ServiceLayer.Default), Shared]
LinkedFileDiffMerging\DefaultDocumentTextDifferencingService.cs (1)
15[ExportWorkspaceService(typeof(IDocumentTextDifferencingService), ServiceLayer.Default), Shared]
Serialization\SerializerService.cs (1)
26[ExportWorkspaceServiceFactory(typeof(ISerializerService), layer: ServiceLayer.Default), Shared]
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LanguageServiceMetadata.cs (1)
26public string Layer { get; } = (string?)data.GetValueOrDefault(nameof(ExportLanguageServiceAttribute.Layer)) ?? ServiceLayer.Default;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LayeredServiceUtilities.cs (1)
18private static readonly ImmutableArray<string> s_orderedProductLayers = [ServiceLayer.Host, ServiceLayer.Editor, ServiceLayer.Desktop, ServiceLayer.Default];
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\WorkspaceServices\SemanticModelReuse\SemanticModelReuseWorkspaceServiceFactory.cs (1)
13[ExportWorkspaceServiceFactory(typeof(ISemanticModelReuseWorkspaceService), ServiceLayer.Default), Shared]
TemporaryStorage\TemporaryStorageService.Factory.cs (1)
15[ExportWorkspaceServiceFactory(typeof(ITemporaryStorageServiceInternal), ServiceLayer.Default), Shared]
Workspace\DocumentTracking\DefaultDocumentTrackingService.cs (1)
12[ExportWorkspaceService(typeof(IDocumentTrackingService), ServiceLayer.Default), Shared]
Workspace\Host\Documentation\DocumentationProviderServiceFactory.cs (1)
13[ExportWorkspaceServiceFactory(typeof(IDocumentationProviderService), ServiceLayer.Default), Shared]
Workspace\Host\EventListener\IWorkspaceEventListenerProvider.cs (1)
24[ExportWorkspaceServiceFactory(typeof(IWorkspaceEventListenerService), layer: ServiceLayer.Default), Shared]
Workspace\Host\Mef\ExportLanguageServiceAttribute.cs (1)
19/// <param name="layer">The layer that the service is specified for; <see cref="ServiceLayer.Default"/>, etc.</param>
Workspace\Host\Mef\ExportLanguageServiceFactoryAttribute.cs (1)
19/// <param name="layer">The layer that the service is specified for; <see cref="ServiceLayer.Default"/>, etc.</param>
Workspace\Host\Mef\ExportWorkspaceServiceAttribute.cs (1)
18/// <param name="layer">The layer that the service is specified for; <see cref="ServiceLayer.Default" />, etc.</param>
Workspace\Host\Mef\ExportWorkspaceServiceFactoryAttribute.cs (1)
18/// <param name="layer">The layer or workspace kind that the service is specified for; <see cref="ServiceLayer.Default" />, <see cref="WorkspaceKind.MiscellaneousFiles" />etc.</param>
Workspace\Host\Mef\ServiceLayer.cs (5)
15/// Service layer that overrides <see cref="Editor"/>, <see cref="Desktop"/> and <see cref="Default"/>. 20/// Service layer that overrides <see cref="Editor"/>, <see cref="Desktop"/> and <see cref="Default"/>. 25/// Service layer that overrides <see cref="Desktop" /> and <see cref="Default"/>. 30/// Service layer that overrides <see cref="Default"/>. 37public const string Default = nameof(Default);
Workspace\Host\Metadata\FrameworkAssemblyPathResolverFactory.cs (1)
11[ExportWorkspaceServiceFactory(typeof(IFrameworkAssemblyPathResolver), ServiceLayer.Default), Shared]
Workspace\Host\Metadata\MetadataServiceFactory.cs (1)
13[ExportWorkspaceServiceFactory(typeof(IMetadataService), ServiceLayer.Default), Shared]
Workspace\Host\Status\DefaultWorkspaceStatusService.cs (1)
14[ExportWorkspaceService(typeof(IWorkspaceStatusService), ServiceLayer.Default), Shared]
Workspace\Host\TaskScheduler\TaskSchedulerProvider.cs (1)
13[ExportWorkspaceService(typeof(ITaskSchedulerProvider), ServiceLayer.Default)]
Workspace\Host\TaskScheduler\WorkspaceAsynchronousOperationListenerProvider.cs (1)
12[ExportWorkspaceService(typeof(IWorkspaceAsynchronousOperationListenerProvider), ServiceLayer.Default)]
Workspace\Host\TextFactory\TextFactoryService.cs (1)
16[ExportWorkspaceService(typeof(ITextFactoryService), ServiceLayer.Default), Shared]
Workspace\ISolutionAnalyzerSetterWorkspaceService.cs (1)
23[ExportWorkspaceServiceFactory(typeof(ISolutionAnalyzerSetterWorkspaceService), ServiceLayer.Default), Shared]
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
SolutionTests\SolutionTests.cs (1)
3881[ExportLanguageService(typeof(ITestLanguageService), LanguageNames.CSharp, ServiceLayer.Default), Shared, PartNotDiscoverable]
Microsoft.VisualStudio.LanguageServices (1)
Diagnostics\VisualStudioVenusSpanMappingService.cs (1)
19[ExportWorkspaceService(typeof(IWorkspaceVenusSpanMappingService), ServiceLayer.Default), Shared]