13 references to CacheHit
Microsoft.Build (11)
BackEnd\BuildManager\BuildManager.cs (3)
2282
if (cacheResult.ResultType != CacheResultType.
CacheHit
)
2288
else if (cacheResult.ResultType == CacheResultType.
CacheHit
&& cacheResult.ProxyTargets != null)
2295
else if (cacheResult.ResultType == CacheResultType.
CacheHit
&& cacheResult.BuildResult != null)
BackEnd\Components\ProjectCache\CacheResult.cs (6)
43
/// Results representing cache hits (with <see cref="ResultType"/> == <see cref="CacheResultType.
CacheHit
"/>)
62
if (resultType == CacheResultType.
CacheHit
)
82
return new CacheResult(CacheResultType.
CacheHit
, buildResult);
87
return new CacheResult(CacheResultType.
CacheHit
, proxyTargets: proxyTargets);
94
return new CacheResult(CacheResultType.
CacheHit
, ConstructBuildResult(targetResults));
99
ErrorUtilities.VerifyThrow(resultType != CacheResultType.
CacheHit
, "CantBeCacheHit");
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
550
if (cacheResult.ResultType == CacheResultType.
CacheHit
)
575
case CacheResultType.
CacheHit
:
Microsoft.Build.Engine.UnitTests (2)
ProjectCache\ProjectCacheTests.cs (2)
181
CacheResultType.
CacheHit
=> cacheResult.ProxyTargets != null
810
case CacheResultType.
CacheHit
: