99 instantiations of ExportWorkspaceServiceAttribute
AnalyzerRunner (2)
AnalyzerRunnerWorkspaceConfigurationService.cs (1)
13[ExportWorkspaceService(typeof(IWorkspaceConfigurationService), ServiceLayer.Host), Shared]
PersistentStorageConfiguration.cs (1)
15[ExportWorkspaceService(typeof(IPersistentStorageConfiguration), ServiceLayer.Host)]
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
StringCopyPaste\TestStringCopyPasteService.cs (1)
16[ExportWorkspaceService(typeof(IStringCopyPasteService), ServiceLayer.Test), Shared, PartNotDiscoverable]
Microsoft.CodeAnalysis.EditorFeatures (15)
BackgroundWorkIndicator\DefaultBackgroundWorkIndicatorFactory.cs (1)
20[ExportWorkspaceService(typeof(IBackgroundWorkIndicatorFactory)), Shared]
EditAndContinue\ActiveStatementTrackingService.cs (1)
50[ExportWorkspaceService(typeof(IActiveStatementSpanLocator), ServiceLayer.Editor), Shared]
ErrorReporting\EditorErrorReportingService.cs (1)
13[ExportWorkspaceService(typeof(IErrorReportingService), ServiceLayer.Editor), Shared]
NavigateTo\DefaultNavigateToLinkService.cs (1)
16[ExportWorkspaceService(typeof(INavigateToLinkService), layer: ServiceLayer.Default)]
Options\LegacyGlobalOptionsWorkspaceService.cs (1)
15[ExportWorkspaceService(typeof(ILegacyGlobalOptionsWorkspaceService)), Shared]
SemanticSearch\SemanticSeatchTextBufferSupportsFeatureService.cs (1)
13[ExportWorkspaceService(typeof(ITextBufferSupportsFeatureService), WorkspaceKind.SemanticSearch), Shared]
Shared\DefaultTextBufferSupportsFeatureService.cs (1)
12[ExportWorkspaceService(typeof(ITextBufferSupportsFeatureService), ServiceLayer.Editor), Shared]
Shared\Utilities\IWorkspaceContextService.cs (1)
28[ExportWorkspaceService(typeof(IWorkspaceContextService), ServiceLayer.Default), Shared]
Shared\Utilities\ThreadingContextTaskSchedulerProvider.cs (1)
15[ExportWorkspaceService(typeof(ITaskSchedulerProvider), ServiceLayer.Editor), Shared]
Shared\Utilities\WorkspaceThreadingServiceProvider.cs (1)
12[ExportWorkspaceService(typeof(IWorkspaceThreadingServiceProvider)), Shared]
StringCopyPaste\IStringCopyPasteService.cs (1)
18[ExportWorkspaceService(typeof(IStringCopyPasteService)), Shared]
TextDiffing\EditorTextDifferencingService.cs (1)
20[ExportWorkspaceService(typeof(IDocumentTextDifferencingService), ServiceLayer.Host), Shared]
Undo\DefaultSourceTextUndoService.cs (1)
15[ExportWorkspaceService(typeof(ISourceTextUndoService), ServiceLayer.Default), Shared]
Undo\EditorSourceTextUndoService.cs (1)
18[ExportWorkspaceService(typeof(ISourceTextUndoService), ServiceLayer.Editor), Shared]
Workspaces\EditorTextFactoryService.cs (1)
19[ExportWorkspaceService(typeof(ITextFactoryService), ServiceLayer.Editor), Shared]
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (11)
ChangeSignature\TestChangeSignatureOptionsService.cs (1)
16[ExportWorkspaceService(typeof(IChangeSignatureOptionsService), ServiceLayer.Test), Shared, PartNotDiscoverable]
Diagnostics\GenerateType\TestGenerateTypeOptionsService.cs (1)
18[ExportWorkspaceService(typeof(IGenerateTypeOptionsService), ServiceLayer.Test), Shared, PartNotDiscoverable]
Diagnostics\GenerateType\TestProjectManagementService.cs (1)
15[ExportWorkspaceService(typeof(IProjectManagementService), ServiceLayer.Default), Shared]
DocumentTracking\TestDocumentTrackingService.cs (1)
12[ExportWorkspaceService(typeof(IDocumentTrackingService), ServiceLayer.Test), Shared, PartNotDiscoverable]
ExtractInterface\TestExtractInterfaceOptions.cs (1)
20[ExportWorkspaceService(typeof(IExtractInterfaceOptionsService), ServiceLayer.Test), Shared, PartNotDiscoverable]
MoveStaticMembers\TestMoveStaticMembersService.cs (1)
16[ExportWorkspaceService(typeof(IMoveStaticMembersOptionsService))]
NavigateTo\AbstractNavigateToTests.cs (1)
264[ExportWorkspaceService(typeof(IWorkspaceNavigateToSearcherHostService))]
Preview\MockPreviewPaneService.cs (1)
18[ExportWorkspaceService(typeof(IPreviewPaneService), ServiceLayer.Test), Shared, PartNotDiscoverable]
RenameTracking\MockPreviewDialogService.cs (1)
15[ExportWorkspaceService(typeof(IPreviewDialogService), ServiceLayer.Test), Shared, PartNotDiscoverable]
Workspaces\TestAddMetadataReferenceCodeActionOperationFactoryWorkspaceService.cs (1)
15[ExportWorkspaceService(typeof(IAddMetadataReferenceCodeActionOperationFactoryWorkspaceService), ServiceLayer.Test), Shared, PartNotDiscoverable]
Workspaces\WorkspaceTestLogger.cs (1)
13[ExportWorkspaceService(typeof(IWorkspaceTestLogger), ServiceLayer.Host), Shared, PartNotDiscoverable]
Microsoft.CodeAnalysis.EditorFeatures.Wpf (5)
BackgroundWorkIndicator\WpfBackgroundWorkIndicatorFactory.cs (1)
18[ExportWorkspaceService(typeof(IBackgroundWorkIndicatorFactory), ServiceLayer.Editor), Shared]
QuickInfo\ContentControlService.cs (1)
25[ExportWorkspaceService(typeof(IContentControlService), layer: ServiceLayer.Editor), Shared]
StringCopyPaste\WpfStringCopyPasteService.cs (1)
16[ExportWorkspaceService(typeof(IStringCopyPasteService), ServiceLayer.Host), Shared]
Suggestions\FixAll\FixAllGetFixesService.cs (1)
13[ExportWorkspaceService(typeof(IFixAllGetFixesService), ServiceLayer.Editor), Shared]
Suggestions\FixAll\FixMultipleOccurrencesService.cs (1)
23[ExportWorkspaceService(typeof(IFixMultipleOccurrencesService), ServiceLayer.Host), Shared]
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Navigation\FSharpDocumentNavigationService.cs (1)
17[ExportWorkspaceService(typeof(IFSharpDocumentNavigationService)), Shared]
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (5)
Internal\CodeRefactorings\WorkspaceServices\OmniSharpSymbolRenamedCodeActionOperationFactoryWorkspaceService.cs (1)
15[ExportWorkspaceService(typeof(ISymbolRenamedCodeActionOperationFactoryWorkspaceService))]
Internal\ExtractClass\OmniSharpExtractClassOptionsService.cs (1)
18[ExportWorkspaceService(typeof(IExtractClassOptionsService))]
Internal\ExtractInterface\OmniSharpExtractInterfaceOptionsService.cs (1)
25[ExportWorkspaceService(typeof(IExtractInterfaceOptionsService))]
Internal\PickMembers\OmniSharpPickMembersService.cs (1)
15[ExportWorkspaceService(typeof(IPickMembersService), ServiceLayer.Host)]
Options\OmnisharpLegacyGlobalOptionsWorkspaceService.cs (1)
16[ExportWorkspaceService(typeof(ILegacyGlobalOptionsWorkspaceService)), Shared]
Microsoft.CodeAnalysis.Features (13)
CodeFixesAndRefactorings\FeaturesFixAllGetFixesService.cs (1)
12[ExportWorkspaceService(typeof(IFixAllGetFixesService), ServiceLayer.Default), Shared]
DesignerAttribute\DesignerAttributeDiscoveryService.cs (1)
29[ExportWorkspaceService(typeof(IDesignerAttributeDiscoveryService)), Shared]
EditAndContinue\EditAndContinueService.cs (1)
29[ExportWorkspaceService(typeof(IEditAndContinueWorkspaceService)), Shared]
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingSolutionCrawlerRegistrationService.cs (1)
21[ExportWorkspaceService(typeof(IUnitTestingSolutionCrawlerRegistrationService), ServiceLayer.Host), Shared]
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingSolutionCrawlerService.cs (1)
21[ExportWorkspaceService(typeof(IUnitTestingSolutionCrawlerService), ServiceLayer.Default), Shared]
FindUsages\DefaultExternalDefinitionItemProvider.cs (1)
14[ExportWorkspaceService(typeof(IExternalDefinitionItemProvider)), Shared]
LegacySolutionEvents\ILegacySolutionEventsAggregationService.cs (1)
28[ExportWorkspaceService(typeof(ILegacySolutionEventsAggregationService)), Shared]
Navigation\DefaultDocumentNavigationService.cs (1)
11[ExportWorkspaceService(typeof(IDocumentNavigationService), ServiceLayer.Default), Shared]
SemanticSearch\SemanticSearchDocumentSupportsFeatureService.cs (1)
12[ExportWorkspaceService(typeof(IDocumentSupportsFeatureService), WorkspaceKind.SemanticSearch), Shared]
Shared\IDocumentSupportsFeatureService.cs (1)
23[ExportWorkspaceService(typeof(IDocumentSupportsFeatureService), ServiceLayer.Default), Shared]
StackTraceExplorer\StackTraceExplorerService.cs (1)
19[ExportWorkspaceService(typeof(IStackTraceExplorerService)), Shared]
SymbolMapping\SymbolMappingServiceFactory.cs (1)
15[ExportWorkspaceService(typeof(ISymbolMappingService), ServiceLayer.Default), Shared]
ValueTracking\ValueTrackingService.cs (1)
18[ExportWorkspaceService(typeof(IValueTrackingService)), Shared]
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
Workspaces\TestSymbolRenamedCodeActionOperationFactoryWorkspaceService.cs (1)
15[ExportWorkspaceService(typeof(ISymbolRenamedCodeActionOperationFactoryWorkspaceService), ServiceLayer.Test), Shared, PartNotDiscoverable]
Microsoft.CodeAnalysis.LanguageServer (1)
HostWorkspace\ExtensionManager.cs (1)
12[ExportWorkspaceService(typeof(IExtensionManager), ServiceLayer.Host), Shared]
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Features\Options\SolutionCrawlerOptionsService.cs (1)
12[ExportWorkspaceService(typeof(ISolutionCrawlerOptionsService)), Shared]
Features\Options\WorkspaceConfigurationService.cs (1)
12[ExportWorkspaceService(typeof(IWorkspaceConfigurationService), ServiceLayer.Host), Shared]
Handler\Diagnostics\IDiagnosticProjectInformationService.cs (1)
24[ExportWorkspaceService(typeof(IDiagnosticProjectInformationService)), Shared]
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Symbols\WorkspaceSymbolsTests.cs (1)
258[ExportWorkspaceService(typeof(IWorkspaceNavigateToSearcherHostService))]
Microsoft.CodeAnalysis.Remote.ServiceHub (3)
Services\ProcessTelemetry\RemoteWorkspaceConfigurationService.cs (1)
14[ExportWorkspaceService(typeof(IWorkspaceConfigurationService), ServiceLayer.Host), Shared]
Services\ProcessTelemetry\RemoteWorkspaceTelemetryService.cs (1)
14[ExportWorkspaceService(typeof(IWorkspaceTelemetryService)), Shared]
Services\RemoteDocumentTrackingService.cs (1)
12[ExportWorkspaceService(typeof(IDocumentTrackingService), ServiceLayer.Host), Shared]
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (3)
Fakes\MockFallbackAnalyzerConfigOptionsProvider.cs (1)
13[ExportWorkspaceService(typeof(IFallbackAnalyzerConfigOptionsProvider), ServiceLayer.Test), Shared, PartNotDiscoverable]
TestErrorReportingService.cs (1)
14[ExportWorkspaceService(typeof(IErrorReportingService), ServiceLayer.Test), Shared]
Workspaces\TestWorkspaceConfigurationService.cs (1)
13[ExportWorkspaceService(typeof(IWorkspaceConfigurationService), ServiceLayer.Test)]
Microsoft.VisualStudio.IntegrationTest.Setup (1)
TestExtensionManager.cs (1)
18[Shared, ExportWorkspaceService(typeof(IExtensionManager), ServiceLayer.Host)]
Microsoft.VisualStudio.LanguageServices (31)
ChangeSignature\VisualStudioChangeSignatureOptionsService.cs (1)
16[ExportWorkspaceService(typeof(IChangeSignatureOptionsService), ServiceLayer.Host), Shared]
CodeLens\RemoteCodeLensReferencesService.cs (1)
24[ExportWorkspaceService(typeof(ICodeLensReferencesService), layer: ServiceLayer.Host), Shared]
Diagnostics\VisualStudioVenusSpanMappingService.cs (1)
19[ExportWorkspaceService(typeof(IWorkspaceVenusSpanMappingService), ServiceLayer.Default), 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]
FindReferences\VisualStudioDefinitionsAndReferencesFactory.cs (1)
24[ExportWorkspaceService(typeof(IExternalDefinitionItemProvider), ServiceLayer.Desktop), 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]
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]
Packaging\PackageInstallerServiceFactory.cs (1)
53[ExportWorkspaceService(typeof(IPackageInstallerService)), Shared]
PickMembers\VisualStudioPickMembersService.cs (1)
16[ExportWorkspaceService(typeof(IPickMembersService), 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]
Snippets\SnippetExpansionClientFactory.cs (1)
25[ExportWorkspaceService(typeof(ISnippetExpansionClientFactory))]
SymbolSearch\VisualStudioSymbolSearchService.cs (1)
39[ExportWorkspaceService(typeof(ISymbolSearchService), ServiceLayer.Host), Shared]
Telemetry\VisualStudioWorkspaceTelemetryService.cs (1)
22[ExportWorkspaceService(typeof(IWorkspaceTelemetryService)), Shared]
UnusedReferences\UnusedReferenceAnalysisService.cs (1)
17[ExportWorkspaceService(typeof(IUnusedReferenceAnalysisService)), Shared]
UnusedReferences\VisualStudioReferenceCleanupService.cs (1)
20[ExportWorkspaceService(typeof(IReferenceCleanupService), ServiceLayer.Host), Shared]
Utilities\VisualStudioNavigateToLinkService.cs (1)
18[ExportWorkspaceService(typeof(INavigateToLinkService), layer: ServiceLayer.Host)]
Workspace\VisualStudioAddMetadataReferenceCodeActionOperationFactoryWorkspaceService.cs (1)
20[ExportWorkspaceService(typeof(IAddMetadataReferenceCodeActionOperationFactoryWorkspaceService), ServiceLayer.Host), Shared]
Workspace\VisualStudioDocumentNavigationService.cs (1)
34[ExportWorkspaceService(typeof(IDocumentNavigationService), 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]
Microsoft.VisualStudio.LanguageServices.CSharp (1)
SemanticSearch\SemanticSearchDocumentNavigationService.cs (1)
19[ExportWorkspaceService(typeof(IDocumentNavigationService), WorkspaceKind.SemanticSearch), Shared]
Roslyn.VisualStudio.Next.UnitTests (1)
Services\ServiceHubServicesTests.cs (1)
696[ExportWorkspaceService(typeof(IWorkspaceConfigurationService), ServiceLayer.Test), System.Composition.Shared]
4 references to ExportWorkspaceServiceAttribute
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\WorkspaceServiceMetadata.cs (2)
14public string ServiceType { get; } = (string)data[nameof(ExportWorkspaceServiceAttribute.ServiceType)]; 15public string Layer { get; } = (string)data[nameof(ExportWorkspaceServiceAttribute.Layer)];
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\WorkspaceServiceMetadata.cs (2)
14public string ServiceType { get; } = (string)data[nameof(ExportWorkspaceServiceAttribute.ServiceType)]; 15public string Layer { get; } = (string)data[nameof(ExportWorkspaceServiceAttribute.Layer)];