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