1 instantiation of RemoteWorkspace
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Host\RemoteWorkspaceManager.cs (1)
102return 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)
238/// cref="Workspace.CurrentSolution"/> of this <see cref="RemoteWorkspace"/> is the responsibility of any 242/// this <see cref="RemoteWorkspace"/>. It is effectively a fork of that instead. 323private readonly RemoteWorkspace _remoteWorkspace; 325public TestAccessor(RemoteWorkspace remoteWorkspace)
Host\RemoteWorkspace.InFlightSolution.cs (4)
23private readonly RemoteWorkspace _workspace; 40/// the primary solution of this <see cref="RemoteWorkspace"/>. Must only be read/written while holding 41/// <see cref="RemoteWorkspace._gate"/>. 53RemoteWorkspace workspace,
Host\RemoteWorkspace.SolutionCreator.cs (2)
27private readonly struct SolutionCreator(RemoteWorkspace workspace, AssetProvider assetService, Solution baseSolution) 29private readonly RemoteWorkspace _workspace = workspace;
Host\RemoteWorkspaceManager.cs (8)
65private readonly RemoteWorkspace _workspace; 68public RemoteWorkspaceManager(Func<RemoteWorkspace, SolutionAssetCache> createAssetCache) 74Func<RemoteWorkspace, SolutionAssetCache> createAssetCache, 75RemoteWorkspace workspace) 96private static RemoteWorkspace CreatePrimaryWorkspace() 105public RemoteWorkspace GetWorkspace() => _workspace; 116var workspace = GetWorkspace(); 135var workspace = GetWorkspace();
Host\SolutionAssetCache.cs (2)
33private readonly RemoteWorkspace? _remoteWorkspace; 58public SolutionAssetCache(RemoteWorkspace? remoteWorkspace, TimeSpan cleanupInterval, TimeSpan purgeAfter)
Services\AsynchronousOperationListener\RemoteAsynchronousOperationListenerService.cs (1)
39var workspace = GetWorkspace();
Services\BrokeredServiceBase.cs (2)
75public RemoteWorkspace GetWorkspace() 89var 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"/>