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