11 references to CacheHit
Microsoft.Build (11)
BackEnd\BuildManager\BuildManager.cs (3)
2571
if (cacheResult.ResultType != CacheResultType.
CacheHit
)
2577
else if (cacheResult.ResultType == CacheResultType.
CacheHit
&& cacheResult.ProxyTargets != null)
2584
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)
640
if (cacheResult.ResultType == CacheResultType.
CacheHit
)
665
case CacheResultType.
CacheHit
: