11 references to CacheHit
Microsoft.Build (11)
BackEnd\BuildManager\BuildManager.cs (3)
2546
if (cacheResult.ResultType != CacheResultType.
CacheHit
)
2552
else if (cacheResult.ResultType == CacheResultType.
CacheHit
&& cacheResult.ProxyTargets != null)
2559
else if (cacheResult.ResultType == CacheResultType.
CacheHit
&& cacheResult.BuildResult != null)
BackEnd\Components\ProjectCache\CacheResult.cs (6)
42
/// Results representing cache hits (with <see cref="ResultType"/> == <see cref="CacheResultType.
CacheHit
"/>)
61
if (resultType == CacheResultType.
CacheHit
)
79
return new CacheResult(CacheResultType.
CacheHit
, buildResult);
84
return new CacheResult(CacheResultType.
CacheHit
, proxyTargets: proxyTargets);
91
return new CacheResult(CacheResultType.
CacheHit
, ConstructBuildResult(targetResults));
96
Assumed.NotEqual(resultType, CacheResultType.
CacheHit
, "CantBeCacheHit");
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
646
if (cacheResult.ResultType == CacheResultType.
CacheHit
)
671
case CacheResultType.
CacheHit
: