5 instantiations of CacheResult
Microsoft.Build (5)
BackEnd\Components\ProjectCache\Experimental\CacheResult.cs (5)
84return new CacheResult(CacheResultType.CacheHit, buildResult); 89return new CacheResult(CacheResultType.CacheHit, proxyTargets: proxyTargets); 96return new CacheResult(CacheResultType.CacheHit, ConstructBuildResult(targetResults)); 102return new CacheResult(resultType); 107return new CacheResult(e);
10 references to CacheResult
Microsoft.Build (8)
BackEnd\Components\ProjectCache\CacheResult.cs (1)
139internal static CacheResult FromExperimental(Experimental.ProjectCache.CacheResult experimentalResult)
BackEnd\Components\ProjectCache\Experimental\CacheResult.cs (5)
82public static CacheResult IndicateCacheHit(BuildResult buildResult) 87public static CacheResult IndicateCacheHit(ProxyTargets proxyTargets) 92public static CacheResult IndicateCacheHit(IReadOnlyCollection<PluginTargetResult> targetResults) 99public static CacheResult IndicateNonCacheHit(CacheResultType resultType) 105internal static CacheResult IndicateException(Exception e)
BackEnd\Components\ProjectCache\Experimental\ProjectCachePluginBase.cs (1)
36public abstract Task<CacheResult> GetCacheResultAsync(
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
633Experimental.ProjectCache.CacheResult cacheResultExp = await experimentalPlugin.GetCacheResultAsync(buildRequest, experimentalPluginLogger, cancellationToken);
ProjectCachePlugin (2)
AssemblyMockCache.cs (2)
43public override Task<CacheResult> GetCacheResultAsync( 54return Task.FromResult(CacheResult.IndicateNonCacheHit(CacheResultType.CacheNotApplicable));