13 references to CacheHit
Microsoft.Build (11)
BackEnd\BuildManager\BuildManager.cs (3)
2288
if (cacheResult.ResultType != CacheResultType.
CacheHit
)
2294
else if (cacheResult.ResultType == CacheResultType.
CacheHit
&& cacheResult.ProxyTargets != null)
2301
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)
551
if (cacheResult.ResultType == CacheResultType.
CacheHit
)
576
case CacheResultType.
CacheHit
:
Microsoft.Build.Engine.UnitTests (2)
ProjectCache\ProjectCacheTests.cs (2)
181
CacheResultType.
CacheHit
=> cacheResult.ProxyTargets != null
810
case CacheResultType.
CacheHit
: