1 instantiation of RemoteWorkspace
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Host\RemoteWorkspaceManager.cs (1)
102
return new
RemoteWorkspace
(VisualStudioMefHostServices.Create(exportProvider));
25 references to RemoteWorkspace
Microsoft.CodeAnalysis.Remote.ServiceHub (24)
ExternalAccess\UnitTesting\Api\UnitTestingBrokeredServiceImplementation.cs (1)
23
var
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.
323
private readonly
RemoteWorkspace
_remoteWorkspace;
325
public TestAccessor(
RemoteWorkspace
remoteWorkspace)
Host\RemoteWorkspace.InFlightSolution.cs (4)
23
private readonly
RemoteWorkspace
_workspace;
40
/// the primary solution of this <see cref="
RemoteWorkspace
"/>. Must only be read/written while holding
41
/// <see cref="
RemoteWorkspace
._gate"/>.
53
RemoteWorkspace
workspace,
Host\RemoteWorkspace.SolutionCreator.cs (2)
27
private readonly struct SolutionCreator(
RemoteWorkspace
workspace, AssetProvider assetService, Solution baseSolution)
29
private readonly
RemoteWorkspace
_workspace = workspace;
Host\RemoteWorkspaceManager.cs (8)
65
private readonly
RemoteWorkspace
_workspace;
68
public RemoteWorkspaceManager(Func<
RemoteWorkspace
, SolutionAssetCache> createAssetCache)
74
Func<
RemoteWorkspace
, SolutionAssetCache> createAssetCache,
75
RemoteWorkspace
workspace)
96
private static
RemoteWorkspace
CreatePrimaryWorkspace()
105
public
RemoteWorkspace
GetWorkspace() => _workspace;
116
var
workspace = GetWorkspace();
135
var
workspace = GetWorkspace();
Host\SolutionAssetCache.cs (2)
33
private readonly
RemoteWorkspace
? _remoteWorkspace;
58
public SolutionAssetCache(
RemoteWorkspace
? remoteWorkspace, TimeSpan cleanupInterval, TimeSpan purgeAfter)
Services\AsynchronousOperationListener\RemoteAsynchronousOperationListenerService.cs (1)
39
var
workspace = GetWorkspace();
Services\BrokeredServiceBase.cs (2)
75
public
RemoteWorkspace
GetWorkspace()
89
var
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
"/>