1 instantiation of RemoteWorkspace
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Host\RemoteWorkspaceManager.cs (1)
100
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)
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.
324
private readonly
RemoteWorkspace
_remoteWorkspace;
326
public TestAccessor(
RemoteWorkspace
remoteWorkspace)
Host\RemoteWorkspace.InFlightSolution.cs (4)
25
private readonly
RemoteWorkspace
_workspace;
42
/// the primary solution of this <see cref="
RemoteWorkspace
"/>. Must only be read/written while holding
43
/// <see cref="
RemoteWorkspace
._gate"/>.
55
RemoteWorkspace
workspace,
Host\RemoteWorkspace.SolutionCreator.cs (2)
29
private readonly struct SolutionCreator(
RemoteWorkspace
workspace, AssetProvider assetService, Solution baseSolution)
31
private readonly
RemoteWorkspace
_workspace = workspace;
Host\RemoteWorkspaceManager.cs (8)
63
private readonly
RemoteWorkspace
_workspace;
66
public RemoteWorkspaceManager(Func<
RemoteWorkspace
, SolutionAssetCache> createAssetCache)
72
Func<
RemoteWorkspace
, SolutionAssetCache> createAssetCache,
73
RemoteWorkspace
workspace)
94
private static
RemoteWorkspace
CreatePrimaryWorkspace()
103
public
RemoteWorkspace
GetWorkspace() => _workspace;
114
var
workspace = GetWorkspace();
133
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)
40
var
workspace = GetWorkspace();
Services\BrokeredServiceBase.cs (2)
76
public
RemoteWorkspace
GetWorkspace()
90
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
"/>