13 references to CacheHit
Microsoft.Build (11)
BackEnd\BuildManager\BuildManager.cs (3)
2282if (cacheResult.ResultType != CacheResultType.CacheHit) 2288else if (cacheResult.ResultType == CacheResultType.CacheHit && cacheResult.ProxyTargets != null) 2295else 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"/>) 62if (resultType == CacheResultType.CacheHit) 82return new CacheResult(CacheResultType.CacheHit, buildResult); 87return new CacheResult(CacheResultType.CacheHit, proxyTargets: proxyTargets); 94return new CacheResult(CacheResultType.CacheHit, ConstructBuildResult(targetResults)); 99ErrorUtilities.VerifyThrow(resultType != CacheResultType.CacheHit, "CantBeCacheHit");
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
550if (cacheResult.ResultType == CacheResultType.CacheHit) 575case CacheResultType.CacheHit:
Microsoft.Build.Engine.UnitTests (2)
ProjectCache\ProjectCacheTests.cs (2)
181CacheResultType.CacheHit => cacheResult.ProxyTargets != null 810case CacheResultType.CacheHit: