13 instantiations of AssetProvider
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Host\RemoteWorkspace.cs (1)
51
return new
AssetProvider
(solutionChecksum, assetCache, assetSource, serializerService);
Roslyn.VisualStudio.Next.UnitTests (12)
Services\AssetProviderTests.cs (4)
55
var provider = new
AssetProvider
(sessionId, storage, assetSource, remoteWorkspace.Services.GetService<ISerializerService>());
85
var service = new
AssetProvider
(sessionId, storage, assetSource, remoteWorkspace.Services.GetService<ISerializerService>());
113
var service = new
AssetProvider
(sessionId, storage, assetSource, remoteWorkspace.Services.GetService<ISerializerService>());
138
var service = new
AssetProvider
(sessionId, storage, assetSource, remoteWorkspace.Services.GetService<ISerializerService>());
Services\ServiceHubServicesTests.cs (1)
112
return new
AssetProvider
(sessionId, storage, assetSource, remoteWorkspace.Services.GetService<ISerializerService>());
Services\SolutionServiceTests.cs (7)
568
var assetProvider = new
AssetProvider
(
610
var assetProvider = new
AssetProvider
(
643
var assetProvider = new
AssetProvider
(
685
var assetProvider = new
AssetProvider
(
723
var assetProvider = new
AssetProvider
(
759
var assetProvider = new
AssetProvider
(
859
return new
AssetProvider
(sessionId, storage, assetSource, remoteWorkspace.Services.GetService<ISerializerService>());
44 references to AssetProvider
Microsoft.CodeAnalysis.Remote.ServiceHub (18)
Host\ChecksumSynchronizer.cs (2)
19
private readonly
AssetProvider
_assetProvider;
21
public ChecksumSynchronizer(
AssetProvider
assetProvider)
Host\RemoteWorkspace.cs (6)
48
public
AssetProvider
CreateAssetProvider(Checksum solutionChecksum, SolutionAssetCache assetCache, IAssetSource assetSource)
63
AssetProvider
assetProvider, Checksum solutionChecksum, int workspaceVersion, CancellationToken cancellationToken)
96
AssetProvider
assetProvider,
105
AssetProvider
assetProvider,
242
AssetProvider
assetProvider,
355
AssetProvider
assetProvider,
Host\RemoteWorkspace.SolutionCreator.cs (4)
34
private readonly
AssetProvider
_assetProvider;
37
public SolutionCreator(HostServices hostServices,
AssetProvider
assetService, Solution baseSolution)
500
private static async ValueTask<Dictionary<DocumentId, DocumentStateChecksums>> GetDocumentMapAsync(
AssetProvider
assetProvider, HashSet<Checksum> documents, CancellationToken cancellationToken)
541
private static async ValueTask<Dictionary<ProjectId, ProjectStateChecksums>> GetProjectMapAsync(
AssetProvider
assetProvider, HashSet<Checksum> projects, CancellationToken cancellationToken)
Host\RemoteWorkspace_SolutionCaching.cs (1)
39
AssetProvider
assetProvider,
Host\RemoteWorkspaceManager.cs (2)
113
var
assetProvider = workspace.CreateAssetProvider(solutionChecksum, SolutionAssetCache, assetSource);
132
var
assetProvider = workspace.CreateAssetProvider(solutionChecksum, SolutionAssetCache, assetSource);
Host\TestUtils.cs (1)
41
AssetProvider
assetService,
Services\AssetSynchronization\RemoteAssetSynchronizationService.cs (1)
40
var
assetProvider = workspace.CreateAssetProvider(solutionChecksum, WorkspaceManager.SolutionAssetCache, SolutionAssetSource);
Services\BrokeredServiceBase.cs (1)
91
var
assetProvider = workspace.CreateAssetProvider(solutionChecksum, WorkspaceManager.SolutionAssetCache, SolutionAssetSource);
Roslyn.VisualStudio.Next.UnitTests (26)
Services\AssetProviderTests.cs (4)
55
var
provider = new AssetProvider(sessionId, storage, assetSource, remoteWorkspace.Services.GetService<ISerializerService>());
85
var
service = new AssetProvider(sessionId, storage, assetSource, remoteWorkspace.Services.GetService<ISerializerService>());
113
var
service = new AssetProvider(sessionId, storage, assetSource, remoteWorkspace.Services.GetService<ISerializerService>());
138
var
service = new AssetProvider(sessionId, storage, assetSource, remoteWorkspace.Services.GetService<ISerializerService>());
Services\ServiceHubServicesTests.cs (2)
100
private static async Task<
AssetProvider
> GetAssetProviderAsync(Workspace workspace, Workspace remoteWorkspace, Solution solution, Dictionary<Checksum, object> map = null)
135
var
assetProvider = await GetAssetProviderAsync(workspace, remoteWorkspace, solution);
Services\SolutionServiceTests.cs (20)
47
var
assetProvider = await GetAssetProviderAsync(workspace, remoteWorkspace, solution);
66
var
assetProvider = await GetAssetProviderAsync(workspace, remoteWorkspace, solution);
87
var
assetProvider = await GetAssetProviderAsync(workspace, remoteWorkspace, workspace.CurrentSolution);
116
var
assetProvider = await GetAssetProviderAsync(workspace, remoteWorkspace, workspace.CurrentSolution);
140
var
assetProvider = await GetAssetProviderAsync(workspace, remoteWorkspace, solution);
345
var
assetProvider = await GetAssetProviderAsync(workspace, remoteWorkspace, solution);
388
var
assetProvider = await GetAssetProviderAsync(workspace, remoteWorkspace, solution1);
423
static async Task<Solution> GetInitialOOPSolutionAsync(RemoteWorkspace remoteWorkspace,
AssetProvider
assetProvider, Solution solution)
453
var
assetProvider = await GetAssetProviderAsync(workspace, remoteWorkspace, solution);
493
var
assetProvider = await GetAssetProviderAsync(workspace, remoteWorkspace, solution);
533
var
assetProvider = await GetAssetProviderAsync(workspace, remoteWorkspace, solution);
568
var
assetProvider = new AssetProvider(
610
var
assetProvider = new AssetProvider(
643
var
assetProvider = new AssetProvider(
685
var
assetProvider = new AssetProvider(
723
var
assetProvider = new AssetProvider(
759
var
assetProvider = new AssetProvider(
794
var
assetProvider = await GetAssetProviderAsync(workspace, remoteWorkspace, solution);
817
var
assetProvider = await GetAssetProviderAsync(workspace, remoteWorkspace, solution, map);
847
private static async Task<
AssetProvider
> GetAssetProviderAsync(Workspace workspace, RemoteWorkspace remoteWorkspace, Solution solution, Dictionary<Checksum, object> map = null)