5 instantiations of CacheResult
Microsoft.Build (5)
BackEnd\Components\ProjectCache\Experimental\CacheResult.cs (5)
81return new CacheResult(CacheResultType.CacheHit, buildResult); 86return new CacheResult(CacheResultType.CacheHit, proxyTargets: proxyTargets); 93return new CacheResult(CacheResultType.CacheHit, ConstructBuildResult(targetResults)); 99return new CacheResult(resultType); 104return new CacheResult(e);
8 references to CacheResult
Microsoft.Build (8)
BackEnd\Components\ProjectCache\CacheResult.cs (1)
136internal static CacheResult FromExperimental(Experimental.ProjectCache.CacheResult experimentalResult)
BackEnd\Components\ProjectCache\Experimental\CacheResult.cs (5)
79public static CacheResult IndicateCacheHit(BuildResult buildResult) 84public static CacheResult IndicateCacheHit(ProxyTargets proxyTargets) 89public static CacheResult IndicateCacheHit(IReadOnlyCollection<PluginTargetResult> targetResults) 96public static CacheResult IndicateNonCacheHit(CacheResultType resultType) 102internal static CacheResult IndicateException(Exception e)
BackEnd\Components\ProjectCache\Experimental\ProjectCachePluginBase.cs (1)
36public abstract Task<CacheResult> GetCacheResultAsync(
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
632Experimental.ProjectCache.CacheResult cacheResultExp = await experimentalPlugin.GetCacheResultAsync(buildRequest, experimentalPluginLogger, cancellationToken);