2 overrides of Workspace
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\MefWorkspaceServices.cs (1)
62public override Workspace Workspace
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\MefWorkspaceServices.cs (1)
62public override Workspace Workspace
41 references to Workspace
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
Host\Mef\CodeStyleHostLanguageServices.MefHostExportProvider.cs (1)
27_codeStyleLanguageServices = new MefWorkspaceServices(exportProvider, hostLanguageServices.WorkspaceServices.Workspace)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\WorkspaceServices\SemanticModelReuse\SemanticModelReuseWorkspaceServiceFactory.cs (1)
23=> new SemanticModelReuseWorkspaceService(workspaceServices.Workspace);
Microsoft.CodeAnalysis.EditorFeatures (4)
EditAndContinue\ActiveStatementTrackingService.cs (1)
47=> new ActiveStatementTrackingService(workspaceServices.Workspace, _listenerProvider.GetListener(FeatureAttribute.EditAndContinue));
EditorConfigSettings\Aggregator\SettingsAggregatorFactory.cs (1)
25=> new SettingsAggregator(workspaceServices.Workspace, _threadingContext, _listener);
EditorConfigSettings\DataProvider\Analyzer\AnalyzerSettingsWorkspaceServiceFactory.cs (1)
22=> new AnalyzerSettingsProviderFactory(workspaceServices.Workspace, _analyzerService);
EditorConfigSettings\DataProvider\NamingStyles\NamingStyleSettingsWorkspaceServiceFactory.cs (1)
22=> new NamingStyleSettingsProviderFactory(workspaceServices.Workspace, _globalOptions);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (3)
DocumentTracking\FirstDocumentIsActiveAndVisibleDocumentTrackingService.cs (1)
42=> new FirstDocumentIsActiveAndVisibleDocumentTrackingService(workspaceServices.Workspace);
NavigateTo\AbstractNavigateToTests.cs (1)
260=> new FirstDocIsVisibleDocumentTrackingService(workspaceServices.Workspace);
Workspaces\EditorTestHostDocument.cs (1)
144var workspace = (EditorTestWorkspace?)LanguageServiceProvider?.WorkspaceServices.Workspace;
Microsoft.CodeAnalysis.Features (4)
Completion\Providers\ImportCompletionProvider\AbstractImportCompletionCacheServiceFactory.cs (1)
40var workspace = workspaceServices.Workspace;
Diagnostics\CodeAnalysisDiagnosticAnalyzerService.cs (1)
27return new CodeAnalysisDiagnosticAnalyzerService(diagnosticAnalyzerService, diagnosticsRefresher, workspaceServices.Workspace);
MetadataAsSource\SymbolMappingServiceFactory.cs (1)
26=> new SymbolMappingService(((MetadataAsSourceWorkspace)workspaceServices.Workspace).FileService);
Workspace\CompileTimeSolutionProvider.cs (1)
39=> new CompileTimeSolutionProvider(workspaceServices.Workspace);
Microsoft.CodeAnalysis.Workspaces (14)
FindSymbols\SymbolTree\SymbolTreeInfoCacheServiceFactory.cs (1)
22=> new SymbolTreeInfoCacheService(workspaceServices.Workspace, _listener);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\WorkspaceServices\SemanticModelReuse\SemanticModelReuseWorkspaceServiceFactory.cs (1)
23=> new SemanticModelReuseWorkspaceService(workspaceServices.Workspace);
Workspace\Host\EventListener\IWorkspaceEventListenerProvider.cs (1)
32var workspace = workspaceServices.Workspace;
Workspace\Host\HostLanguageServices.cs (1)
70WorkspaceServices.Workspace.Kind));
Workspace\Host\HostWorkspaceServices.cs (6)
23/// (i.e. instances returned by <see cref="IWorkspaceServiceFactory.CreateService"/>), the <see cref="Workspace"/> 32/// external source, and will not be automatically disposed when <see cref="Workspace"/> is disposed. 36/// the external source, and will not be automatically disposed when <see cref="Workspace"/> is disposed. 40/// the context of <see cref="HostWorkspaceServices"/>:</strong> Owned by <see cref="Workspace"/>, and 41/// <strong>will</strong> be automatically disposed when <see cref="Workspace"/> is disposed. 91Workspace.Kind));
Workspace\Host\ISupportedChangesService.cs (1)
37=> new DefaultSupportedChangesService(workspaceServices.Workspace);
Workspace\Host\SolutionServices.cs (1)
19/// cref="HostWorkspaceServices.Workspace"/> which we want to avoid doing from our immutable snapshots.
Workspace\ISolutionAnalyzerSetterWorkspaceService.cs (1)
29=> new DefaultSolutionAnalyzerSetterWorkspaceService(workspaceServices.Workspace);
Workspace\Solution\Solution.cs (1)
97return this.SolutionState.Services.WorkspaceServices.Workspace;
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
VisualStudioMSBuildWorkspaceTests.cs (2)
45Assert.NotNull(workspace.Services.Workspace); 46Assert.Equal(workspace, workspace.Services.Workspace);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
Fakes\MockWorkspaceEventListenerProvider.cs (1)
23=> EventListeners != null ? new DefaultWorkspaceEventListenerServiceFactory.Service(workspaceServices.Workspace, EventListeners) : null;
Workspaces\TestHostDocument.cs (1)
41var workspace = LanguageServiceProvider!.WorkspaceServices.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)
36=> new Service(_threadingContext, workspaceServices.Workspace as VisualStudioWorkspace, _serviceProvider);
ProjectSystem\VisualStudioWorkspaceImpl.SolutionAnalyzerSetterService.cs (1)
25=> new SolutionAnalyzerSetter((VisualStudioWorkspaceImpl)workspaceServices.Workspace);
Remote\VisualStudioRemoteHostClientProvider.cs (1)
63Debug.Assert(workspaceServices.Workspace is VisualStudioWorkspace or PreviewWorkspace);
Workspace\VisualStudioDocumentTrackingServiceFactory.cs (1)
20=> new VisualStudioDocumentTrackingService(activeDocumentTracker, workspaceServices.Workspace);
Workspace\VisualStudioSourceGeneratorTelemetryCollectorWorkspaceServiceFactory.cs (1)
59if (workspaceServices.Workspace is VisualStudioWorkspace)
Workspace\VisualStudioWorkspaceStatusServiceFactory.cs (1)
38return 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;