1 instantiation of CachedSliceData
Microsoft.NET.ProjectData (1)
CacheFileReader.cs (1)
782 return new CachedSliceData
27 references to CachedSliceData
Microsoft.NET.ProjectData (27)
CacheFileReader.cs (17)
26 public ProjectDataCacheReadResult(ImmutableArray<CachedSliceData> slices, ProjectDataCacheSource source) 32 public ImmutableArray<CachedSliceData> Slices { get; } 38/// Reads <c>.lscache</c> files and produces <see cref="CachedSliceData"/> for each project configuration slice. 89 public static Task<ImmutableArray<CachedSliceData>> ReadProjectCacheAsync( 95 public static Task<ImmutableArray<CachedSliceData>> ReadProjectCacheAsync( 102 public static Task<ImmutableArray<CachedSliceData>> ReadProjectCacheAsync( 131 ImmutableArray<CachedSliceData> slices = await ReadProjectCacheAsync(projectFilePath, cacheInProject, resolver, stringPool, cancellationToken).ConfigureAwait(false); 143 public static Task<ImmutableArray<CachedSliceData>> ReadProjectCacheAsync( 151 public static async Task<ImmutableArray<CachedSliceData>> ReadProjectCacheAsync( 191 ImmutableArray<CachedSliceData> slices = await ReadCacheFileAsync( 210 ImmutableArray<CachedSliceData> slices = await ReadCacheFileAsync( 231 ImmutableArray<CachedSliceData> donorSlices = await ReadCacheFileAsync(donorCandidate.FilePath, projectFilePath, expectedProjectFilePath: projectFilePath, resolver, stringPool, cancellationToken).ConfigureAwait(false); 279 private static async Task<ImmutableArray<CachedSliceData>> ReadCacheFileAsync( 367 public static async Task<ImmutableArray<CachedSliceData>> ReadFromAsync( 427 ImmutableArray<CachedSliceData>.Builder slices = ImmutableArray.CreateBuilder<CachedSliceData>(); 776 public CachedSliceData Build(string projectFilePath)
Model\ProjectDataSnapshotFactory.cs (10)
10/// Converts parsed <see cref="CachedSliceData"/> from project-data cache files 43 public static ImmutableArray<ProjectDataSnapshot> CreateSnapshots(ImmutableArray<CachedSliceData> slices, string? solutionPath = null) 52 CachedSliceData? sharedSlice = null; 53 List<CachedSliceData>? tfmSlices = null; 55 foreach (CachedSliceData slice in slices) 72 foreach (CachedSliceData tfmSlice in tfmSlices) 83 foreach (CachedSliceData slice in slices) 130 public static ProjectDataSnapshot CreateSnapshot(CachedSliceData slice, string? solutionPath = null) 214 private static KeyValueCollection BuildProperties(CachedSliceData slice, string? solutionPath) 317 private static ImmutableDictionary<string, ImmutableArray<ProjectDataItem>> BuildItems(CachedSliceData slice)