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