64 references to Host
AnalyzerRunner (2)
AnalyzerRunnerWorkspaceConfigurationService.cs (1)
13[ExportWorkspaceService(typeof(IWorkspaceConfigurationService), ServiceLayer.Host), Shared]
PersistentStorageConfiguration.cs (1)
15[ExportWorkspaceService(typeof(IPersistentStorageConfiguration), ServiceLayer.Host)]
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LayeredServiceUtilities.cs (2)
16/// Layers in the priority order. <see cref="ServiceLayer.Host"/> services override <see cref="ServiceLayer.Editor"/> services, etc. 18private static readonly ImmutableArray<string> s_orderedProductLayers = [ServiceLayer.Host, ServiceLayer.Editor, ServiceLayer.Desktop, ServiceLayer.Default];
Microsoft.CodeAnalysis.EditorFeatures (1)
TextDiffing\EditorTextDifferencingService.cs (1)
20[ExportWorkspaceService(typeof(IDocumentTextDifferencingService), ServiceLayer.Host), Shared]
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Workspaces\WorkspaceTestLogger.cs (1)
13[ExportWorkspaceService(typeof(IWorkspaceTestLogger), ServiceLayer.Host), Shared, PartNotDiscoverable]
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities2 (1)
Utilities\MockDocumentNavigationServiceProvider.vb (1)
16<ExportWorkspaceServiceFactory(GetType(IDocumentNavigationService), ServiceLayer.Host), [Shared]>
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
StringCopyPaste\WpfStringCopyPasteService.cs (1)
16[ExportWorkspaceService(typeof(IStringCopyPasteService), ServiceLayer.Host), Shared]
Suggestions\FixAll\FixMultipleOccurrencesService.cs (1)
23[ExportWorkspaceService(typeof(IFixMultipleOccurrencesService), ServiceLayer.Host), Shared]
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (1)
Internal\PickMembers\OmniSharpPickMembersService.cs (1)
15[ExportWorkspaceService(typeof(IPickMembersService), ServiceLayer.Host)]
Microsoft.CodeAnalysis.Features (1)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingSolutionCrawlerRegistrationService.cs (1)
21[ExportWorkspaceService(typeof(IUnitTestingSolutionCrawlerRegistrationService), ServiceLayer.Host), Shared]
Microsoft.CodeAnalysis.LanguageServer (2)
HostWorkspace\ExtensionManager.cs (1)
12[ExportWorkspaceService(typeof(IExtensionManager), ServiceLayer.Host), Shared]
HostWorkspace\MetadataService.cs (1)
11[ExportWorkspaceServiceFactory(typeof(IMetadataService), ServiceLayer.Host), Shared]
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Options\WorkspaceConfigurationService.cs (1)
12[ExportWorkspaceService(typeof(IWorkspaceConfigurationService), ServiceLayer.Host), Shared]
Microsoft.CodeAnalysis.Remote.ServiceHub (4)
Host\RemoteDocumentDifferenceService.cs (2)
26[ExportLanguageService(typeof(IDocumentDifferenceService), LanguageNames.CSharp, layer: ServiceLayer.Host), Shared] 36[ExportLanguageService(typeof(IDocumentDifferenceService), LanguageNames.VisualBasic, layer: ServiceLayer.Host), Shared]
Services\ProcessTelemetry\RemoteWorkspaceConfigurationService.cs (1)
14[ExportWorkspaceService(typeof(IWorkspaceConfigurationService), ServiceLayer.Host), Shared]
Services\RemoteDocumentTrackingService.cs (1)
12[ExportWorkspaceService(typeof(IDocumentTrackingService), ServiceLayer.Host), Shared]
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LayeredServiceUtilities.cs (2)
16/// Layers in the priority order. <see cref="ServiceLayer.Host"/> services override <see cref="ServiceLayer.Editor"/> services, etc. 18private static readonly ImmutableArray<string> s_orderedProductLayers = [ServiceLayer.Host, ServiceLayer.Editor, ServiceLayer.Desktop, ServiceLayer.Default];
Workspace\Host\Mef\ServiceLayer.cs (1)
22public const string Host = nameof(Host);
Workspace\Host\WorkpacePartialSolutionsTestHook.cs (1)
12[ExportWorkspaceService(typeof(IWorkspacePartialSolutionsTestHook), ServiceLayer.Host), Shared]
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
SolutionTests\SolutionTests.cs (1)
3841var ws = new AdhocWorkspace(hostServices, ServiceLayer.Host);
Microsoft.VisualStudio.IntegrationTest.Setup (2)
TestExtensionManager.cs (2)
15/// This class is exported as a workspace service with layer: <see cref="ServiceLayer.Host"/>. This ensures that TestExtensionManager 18[Shared, ExportWorkspaceService(typeof(IExtensionManager), ServiceLayer.Host)]
Microsoft.VisualStudio.LanguageServices (39)
ChangeSignature\VisualStudioChangeSignatureOptionsService.cs (1)
16[ExportWorkspaceService(typeof(IChangeSignatureOptionsService), ServiceLayer.Host), Shared]
CodeLens\RemoteCodeLensReferencesService.cs (1)
24[ExportWorkspaceService(typeof(ICodeLensReferencesService), layer: ServiceLayer.Host), Shared]
ErrorReporting\VisualStudioErrorReportingService.cs (1)
19[ExportWorkspaceService(typeof(IErrorReportingService), ServiceLayer.Host), Shared]
ExtractClass\VisualStudioExtractClassOptionsService.cs (1)
30[ExportWorkspaceService(typeof(IExtractClassOptionsService), ServiceLayer.Host), Shared]
ExtractInterface\VisualStudioExtractInterfaceOptionsService.cs (1)
28[ExportWorkspaceService(typeof(IExtractInterfaceOptionsService), ServiceLayer.Host), Shared]
GenerateType\VisualStudioGenerateTypeOptionsServiceFactory.cs (1)
19[ExportWorkspaceServiceFactory(typeof(IGenerateTypeOptionsService), ServiceLayer.Host), Shared]
Implementation\HierarchyItemToProjectIdMap.cs (1)
16[ExportWorkspaceService(typeof(IHierarchyItemToProjectIdMap), ServiceLayer.Host), Shared]
Implementation\VisualStudioSupportsFeatureService.cs (2)
26[ExportWorkspaceService(typeof(ITextBufferSupportsFeatureService), ServiceLayer.Host), Shared] 81[ExportWorkspaceService(typeof(IDocumentSupportsFeatureService), ServiceLayer.Host), Shared]
Implementation\VisualStudioWorkspaceContextService.cs (1)
15[ExportWorkspaceService(typeof(IWorkspaceContextService), ServiceLayer.Host), Shared]
Implementation\WorkspaceCacheService.cs (1)
14[ExportWorkspaceService(typeof(IWorkspaceCacheService), ServiceLayer.Host), Shared]
InlineRename\InlineRenameUndoManager.cs (1)
30[ExportWorkspaceServiceFactory(typeof(IInlineRenameUndoManager), ServiceLayer.Host), Shared]
LanguageServer\Handler\Diagnostics\VisualStudioDiagnosticProjectInformationService.cs (1)
14[ExportWorkspaceService(typeof(IDiagnosticProjectInformationService), ServiceLayer.Host), Shared]
Log\VisualStudioErrorLogger.cs (1)
17[ExportWorkspaceService(typeof(IErrorLoggerService), ServiceLayer.Host), Export(typeof(IErrorLoggerService)), Shared]
MoveStaticMembers\VisualStudioMoveStaticMembersOptionsService.cs (1)
27[ExportWorkspaceService(typeof(IMoveStaticMembersOptionsService), ServiceLayer.Host), Shared]
NavigateTo\VisualStudioNavigateToPreviewServiceFactory.cs (1)
15[ExportWorkspaceServiceFactory(typeof(INavigateToPreviewService), ServiceLayer.Host), Shared]
Notification\VSNotificationServiceFactory.cs (1)
17[ExportWorkspaceServiceFactory(typeof(INotificationService), ServiceLayer.Host), Shared]
PickMembers\VisualStudioPickMembersService.cs (1)
16[ExportWorkspaceService(typeof(IPickMembersService), ServiceLayer.Host), Shared]
Preview\PreviewService.cs (1)
19[ExportWorkspaceServiceFactory(typeof(IPreviewDialogService), ServiceLayer.Host), Shared]
PreviewPane\PreviewPaneService.cs (1)
26[ExportWorkspaceServiceFactory(typeof(IPreviewPaneService), ServiceLayer.Host), Shared]
ProjectSystem\MetadataReferences\VisualStudioFrameworkAssemblyPathResolverFactory.cs (1)
21[ExportWorkspaceServiceFactory(typeof(IFrameworkAssemblyPathResolver), ServiceLayer.Host), Shared]
ProjectSystem\MetadataReferences\VisualStudioMetadataReferenceManagerFactory.cs (1)
16[ExportWorkspaceServiceFactory(typeof(VisualStudioMetadataReferenceManager), ServiceLayer.Host), Shared]
ProjectSystem\MetadataReferences\VisualStudioMetadataReferenceProviderServiceFactory.cs (1)
13[ExportWorkspaceServiceFactory(typeof(IMetadataService), ServiceLayer.Host), Shared]
ProjectSystem\RuleSets\VisualStudioRuleSetManagerFactory.cs (1)
15[ExportWorkspaceServiceFactory(typeof(IRuleSetManager), ServiceLayer.Host), Shared]
ProjectSystem\VisualStudioProjectManagementService.cs (1)
24[ExportWorkspaceService(typeof(IProjectManagementService), ServiceLayer.Host), Shared]
PullMemberUp\VisualStudioPullMemberUpService.cs (1)
26[ExportWorkspaceService(typeof(IPullMemberUpOptionsService), ServiceLayer.Host), Shared]
SymbolSearch\VisualStudioSymbolSearchService.cs (1)
39[ExportWorkspaceService(typeof(ISymbolSearchService), ServiceLayer.Host), Shared]
UnusedReferences\VisualStudioReferenceCleanupService.cs (1)
20[ExportWorkspaceService(typeof(IReferenceCleanupService), ServiceLayer.Host), Shared]
Utilities\VisualStudioNavigateToLinkService.cs (1)
18[ExportWorkspaceService(typeof(INavigateToLinkService), layer: ServiceLayer.Host)]
Workspace\GlobalUndoServiceFactory.cs (1)
24[ExportWorkspaceServiceFactory(typeof(IGlobalUndoService), ServiceLayer.Host), Shared]
Workspace\VisualStudioAddMetadataReferenceCodeActionOperationFactoryWorkspaceService.cs (1)
20[ExportWorkspaceService(typeof(IAddMetadataReferenceCodeActionOperationFactoryWorkspaceService), ServiceLayer.Host), Shared]
Workspace\VisualStudioDocumentNavigationService.cs (1)
34[ExportWorkspaceService(typeof(IDocumentNavigationService), ServiceLayer.Host), Shared]
Workspace\VisualStudioDocumentTrackingServiceFactory.cs (1)
14[ExportWorkspaceServiceFactory(typeof(IDocumentTrackingService), ServiceLayer.Host), Shared]
Workspace\VisualStudioFormattingRuleFactoryServiceFactory.cs (1)
21[ExportWorkspaceService(typeof(IHostDependentFormattingRuleFactoryService), ServiceLayer.Host), Shared]
Workspace\VisualStudioRemoteHostClientShutdownCancellationService.cs (1)
14[ExportWorkspaceService(typeof(IRemoteHostClientShutdownCancellationService), ServiceLayer.Host), Shared]
Workspace\VisualStudioSymbolNavigationService.cs (1)
32[ExportWorkspaceService(typeof(ISymbolNavigationService), ServiceLayer.Host), Shared]
Workspace\VisualStudioSymbolRenamedCodeActionOperationFactoryWorkspaceService.cs (1)
22[ExportWorkspaceService(typeof(ISymbolRenamedCodeActionOperationFactoryWorkspaceService), ServiceLayer.Host), Shared]
Workspace\VisualStudioTextUndoHistoryWorkspaceServiceFactory.cs (1)
22[ExportWorkspaceServiceFactory(typeof(ITextUndoHistoryWorkspaceService), ServiceLayer.Host), Shared]
Workspace\VisualStudioWorkspaceStatusServiceFactory.cs (1)
24[ExportWorkspaceServiceFactory(typeof(IWorkspaceStatusService), ServiceLayer.Host), Shared]