2 overrides of Workspace
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
MefWorkspaceServices.cs (1)
57public override Workspace Workspace
Microsoft.CodeAnalysis.Workspaces (1)
MefWorkspaceServices.cs (1)
57public override Workspace Workspace
33 references to Workspace
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
Host\Mef\CodeStyleHostLanguageServices.MefHostExportProvider.cs (1)
27_codeStyleLanguageServices = new MefWorkspaceServices(exportProvider, hostLanguageServices.WorkspaceServices.Workspace)
SemanticModelReuseWorkspaceServiceFactory.cs (1)
23=> new SemanticModelReuseWorkspaceService(workspaceServices.Workspace);
Microsoft.CodeAnalysis.EditorFeatures (5)
EditAndContinue\ActiveStatementTrackingService.cs (1)
49=> new ActiveStatementTrackingService(workspaceServices.Workspace, _listenerProvider.GetListener(FeatureAttribute.EditAndContinue));
EditorConfigSettings\Aggregator\SettingsAggregatorFactory.cs (1)
23=> new SettingsAggregator(workspaceServices.Workspace);
EditorConfigSettings\DataProvider\Analyzer\AnalyzerSettingsWorkspaceServiceFactory.cs (1)
27=> new AnalyzerSettingsProviderFactory(workspaceServices.Workspace, _analyzerService);
EditorConfigSettings\DataProvider\NamingStyles\NamingStyleSettingsWorkspaceServiceFactory.cs (1)
27=> new NamingStyleSettingsProviderFactory(workspaceServices.Workspace, _globalOptions);
Interactive\InteractiveWorkspace.SolutionAnalyzerSetter.cs (1)
28=> new SolutionAnalyzerSetter((InteractiveWorkspace)workspaceServices.Workspace);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (4)
NavigateTo\AbstractNavigateToTests.cs (2)
263=> new FirstDocIsVisibleDocumentTrackingService(workspaceServices.Workspace); 297=> new FirstDocIsActiveAndVisibleDocumentTrackingService(workspaceServices.Workspace);
Workspaces\TestHostDocument.cs (2)
64var workspace = _languageServiceProvider!.WorkspaceServices.Workspace; 253var workspace = (TestWorkspace?)_languageServiceProvider?.WorkspaceServices.Workspace;
Microsoft.CodeAnalysis.Features (4)
Completion\Providers\ImportCompletionProvider\AbstractImportCompletionCacheServiceFactory.cs (1)
42var workspace = workspaceServices.Workspace;
Diagnostics\BuildOnlyDiagnosticsService.cs (1)
24=> new BuildOnlyDiagnosticsService(workspaceServices.Workspace);
MetadataAsSource\SymbolMappingServiceFactory.cs (1)
26=> new SymbolMappingService(((MetadataAsSourceWorkspace)workspaceServices.Workspace).FileService);
Workspace\CompileTimeSolutionProvider.cs (1)
40=> new CompileTimeSolutionProvider(workspaceServices.Workspace);
Microsoft.CodeAnalysis.Workspaces (6)
FindSymbols\SymbolTree\SymbolTreeInfoCacheServiceFactory.cs (1)
27=> new SymbolTreeInfoCacheService(workspaceServices.Workspace, _listener);
SemanticModelReuseWorkspaceServiceFactory.cs (1)
23=> new SemanticModelReuseWorkspaceService(workspaceServices.Workspace);
Workspace\Host\EventListener\IWorkspaceEventListenerProvider.cs (1)
43var workspace = workspaceServices.Workspace;
Workspace\Host\ISupportedChangesService.cs (1)
37=> new DefaultSupportedChangesService(workspaceServices.Workspace);
Workspace\Host\SolutionServices.cs (1)
18/// cref="HostWorkspaceServices.Workspace"/> which we want to avoid doing from our immutable snapshots.
Workspace\Solution\Solution.cs (1)
71return _state.Services.WorkspaceServices.Workspace;
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
VisualStudioMSBuildWorkspaceTests.cs (2)
44Assert.NotNull(workspace.Services.Workspace); 45Assert.Equal(workspace, workspace.Services.Workspace);
Microsoft.VisualStudio.LanguageServices (8)
EditorConfigSettings\DataProvider\CodeStyle\CommonCodeStyleSettingsWorkspaceServiceFactory.cs (1)
27=> new CommonCodeStyleSettingsProviderFactory(workspaceServices.Workspace, _globalOptions);
EditorConfigSettings\DataProvider\Whitespace\CommonWhitespaceSettingsWorkspaceServiceFactory.cs (1)
27=> new CommonWhitespaceSettingsProviderFactory(workspaceServices.Workspace, _globalOptions);
ProjectSystem\MetadataReferences\VisualStudioFrameworkAssemblyPathResolverFactory.cs (1)
35=> new Service(_threadingContext, workspaceServices.Workspace as VisualStudioWorkspace, _serviceProvider);
ProjectSystem\VisualStudioWorkspaceImpl.SolutionAnalyzerSetterService.cs (1)
29=> new SolutionAnalyzerSetter((VisualStudioWorkspaceImpl)workspaceServices.Workspace);
Remote\VisualStudioRemoteHostClientProvider.cs (1)
59workspaceServices.Workspace is not VisualStudioWorkspace ||
Workspace\VisualStudioDocumentTrackingServiceFactory.cs (1)
25=> new VisualStudioDocumentTrackingService(_activeDocumentTracker, workspaceServices.Workspace);
Workspace\VisualStudioSourceGeneratorTelemetryCollectorWorkspaceServiceFactory.cs (1)
56if (workspaceServices.Workspace is VisualStudioWorkspace)
Workspace\VisualStudioWorkspaceStatusServiceFactory.cs (1)
55if (workspaceServices.Workspace is VisualStudioWorkspace)
Microsoft.VisualStudio.LanguageServices.CSharp (2)
EditorConfigSettings\DataProvider\CodeStyle\CSharpCodeStyleSettingsLanguageServiceFactory.cs (1)
30var workspace = languageServices.WorkspaceServices.Workspace;
EditorConfigSettings\DataProvider\Whitespace\CSharpWhitespaceSettingsLanguageServiceFactory.cs (1)
30var workspace = languageServices.WorkspaceServices.Workspace;