22 instantiations of SolutionAssetCache
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Host\RemoteWorkspaceManager.cs (1)
53=> new SolutionAssetCache(workspace, cleanupInterval: TimeSpan.FromSeconds(30), purgeAfter: TimeSpan.FromMinutes(1));
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Remote\InProcRemoteHostClientProvider.cs (1)
80_ => new SolutionAssetCache(),
Roslyn.VisualStudio.Next.UnitTests (20)
Services\AssetProviderTests.cs (5)
50var storage = new SolutionAssetCache(); 81var storage = new SolutionAssetCache(); 109var storage = new SolutionAssetCache(); 134var storage = new SolutionAssetCache(); 163var storage = new SolutionAssetCache();
Services\ServiceHubServicesTests.cs (1)
130var storage = new SolutionAssetCache();
Services\SolutionAssetCacheTests.cs (3)
32var storage = new SolutionAssetCache(); 45var storage = new SolutionAssetCache( 78var storage = new SolutionAssetCache(
Services\SolutionServiceTests.cs (11)
548Checksum.Create(ImmutableArray.CreateRange(Guid.NewGuid().ToByteArray())), new SolutionAssetCache(), new SimpleAssetSource(workspace.Services.GetService<ISerializerService>(), map), remoteWorkspace.Services.SolutionServices); 589Checksum.Create(ImmutableArray.CreateRange(Guid.NewGuid().ToByteArray())), new SolutionAssetCache(), new SimpleAssetSource(workspace.Services.GetService<ISerializerService>(), map), remoteWorkspace.Services.SolutionServices); 631Checksum.Create(ImmutableArray.CreateRange(Guid.NewGuid().ToByteArray())), new SolutionAssetCache(), new SimpleAssetSource(workspace.Services.GetService<ISerializerService>(), map), remoteWorkspace.Services.SolutionServices); 664Checksum.Create(ImmutableArray.CreateRange(Guid.NewGuid().ToByteArray())), new SolutionAssetCache(), new SimpleAssetSource(workspace.Services.GetService<ISerializerService>(), map), remoteWorkspace.Services.SolutionServices); 706Checksum.Create(ImmutableArray.CreateRange(Guid.NewGuid().ToByteArray())), new SolutionAssetCache(), new SimpleAssetSource(workspace.Services.GetService<ISerializerService>(), map), remoteWorkspace.Services.SolutionServices); 746Checksum.Create(ImmutableArray.CreateRange(Guid.NewGuid().ToByteArray())), new SolutionAssetCache(), new SimpleAssetSource(workspace.Services.GetService<ISerializerService>(), map), remoteWorkspace.Services.SolutionServices); 784Checksum.Create(ImmutableArray.CreateRange(Guid.NewGuid().ToByteArray())), new SolutionAssetCache(), new SimpleAssetSource(workspace.Services.GetService<ISerializerService>(), map), remoteWorkspace.Services.SolutionServices); 817Checksum.Create(ImmutableArray.CreateRange(Guid.NewGuid().ToByteArray())), new SolutionAssetCache(), new SimpleAssetSource(workspace.Services.GetService<ISerializerService>(), map), remoteWorkspace.Services.SolutionServices); 872Checksum.Create(ImmutableArray.CreateRange(Guid.NewGuid().ToByteArray())), new SolutionAssetCache(), new SimpleAssetSource(workspace.Services.GetService<ISerializerService>(), map), remoteWorkspace.Services.SolutionServices); 941Checksum.Create(ImmutableArray.CreateRange(Guid.NewGuid().ToByteArray())), new SolutionAssetCache(), new SimpleAssetSource(workspace.Services.GetService<ISerializerService>(), map), remoteWorkspace.Services.SolutionServices); 1316var storage = new SolutionAssetCache();
21 references to SolutionAssetCache
Microsoft.CodeAnalysis.Remote.ServiceHub (8)
Host\AssetProvider.cs (2)
24SolutionAssetCache assetCache, 33private readonly SolutionAssetCache _assetCache = assetCache;
Host\RemoteWorkspace.cs (1)
35public AssetProvider CreateAssetProvider(Checksum solutionChecksum, SolutionAssetCache assetCache, IAssetSource assetSource)
Host\RemoteWorkspaceManager.cs (4)
52static SolutionAssetCache CreateAssetCache(RemoteWorkspace workspace) 59internal readonly SolutionAssetCache SolutionAssetCache; 61public RemoteWorkspaceManager(Func<RemoteWorkspace, SolutionAssetCache> createAssetCache) 67Func<RemoteWorkspace, SolutionAssetCache> createAssetCache,
Host\SolutionAssetCache.cs (1)
219public readonly struct TestAccessor(SolutionAssetCache cache)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Remote\InProcRemoteHostClientProvider.cs (1)
41Func<RemoteWorkspace, SolutionAssetCache> createAssetStorage,
Roslyn.VisualStudio.Next.UnitTests (12)
Services\AssetProviderTests.cs (5)
50var storage = new SolutionAssetCache(); 81var storage = new SolutionAssetCache(); 109var storage = new SolutionAssetCache(); 134var storage = new SolutionAssetCache(); 163var storage = new SolutionAssetCache();
Services\ServiceHubServicesTests.cs (2)
130var storage = new SolutionAssetCache(); 1703var storage = client.TestData.WorkspaceManager.SolutionAssetCache;
Services\SolutionAssetCacheTests.cs (3)
32var storage = new SolutionAssetCache(); 45var storage = new SolutionAssetCache( 78var storage = new SolutionAssetCache(
Services\SolutionServiceTests.cs (1)
1316var storage = new SolutionAssetCache();
TestUtils.cs (1)
15public static void VerifyAssetStorage<T>(IEnumerable<KeyValuePair<Checksum, T>> items, SolutionAssetCache storage)