1 instantiation of RemoteWorkspace
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Host\RemoteWorkspaceManager.cs (1)
100return new RemoteWorkspace(VisualStudioMefHostServices.Create(exportProvider));
25 references to RemoteWorkspace
Microsoft.CodeAnalysis.Remote.ServiceHub (24)
ExternalAccess\UnitTesting\Api\UnitTestingBrokeredServiceImplementation.cs (1)
23var workspace = RemoteWorkspaceManager.Default.GetWorkspace();
Host\RemoteWorkspace.cs (4)
239/// cref="Workspace.CurrentSolution"/> of this <see cref="RemoteWorkspace"/> is the responsibility of any 243/// this <see cref="RemoteWorkspace"/>. It is effectively a fork of that instead. 324private readonly RemoteWorkspace _remoteWorkspace; 326public TestAccessor(RemoteWorkspace remoteWorkspace)
Host\RemoteWorkspace.InFlightSolution.cs (4)
25private readonly RemoteWorkspace _workspace; 42/// the primary solution of this <see cref="RemoteWorkspace"/>. Must only be read/written while holding 43/// <see cref="RemoteWorkspace._gate"/>. 55RemoteWorkspace workspace,
Host\RemoteWorkspace.SolutionCreator.cs (2)
29private readonly struct SolutionCreator(RemoteWorkspace workspace, AssetProvider assetService, Solution baseSolution) 31private readonly RemoteWorkspace _workspace = workspace;
Host\RemoteWorkspaceManager.cs (8)
63private readonly RemoteWorkspace _workspace; 66public RemoteWorkspaceManager(Func<RemoteWorkspace, SolutionAssetCache> createAssetCache) 72Func<RemoteWorkspace, SolutionAssetCache> createAssetCache, 73RemoteWorkspace workspace) 94private static RemoteWorkspace CreatePrimaryWorkspace() 103public RemoteWorkspace GetWorkspace() => _workspace; 114var workspace = GetWorkspace(); 133var workspace = GetWorkspace();
Host\SolutionAssetCache.cs (2)
33private readonly RemoteWorkspace? _remoteWorkspace; 58public SolutionAssetCache(RemoteWorkspace? remoteWorkspace, TimeSpan cleanupInterval, TimeSpan purgeAfter)
Services\AsynchronousOperationListener\RemoteAsynchronousOperationListenerService.cs (1)
40var workspace = GetWorkspace();
Services\BrokeredServiceBase.cs (2)
76public RemoteWorkspace GetWorkspace() 90var workspace = GetWorkspace();
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
MEF\UseExportProviderAttribute.cs (1)
39/// <item>When required, provides a separate <see cref="ExportProvider"/> for the <see cref="RemoteWorkspace"/>