11 references to CacheResultType
Microsoft.Build (10)
BackEnd\Components\ProjectCache\Experimental\CacheResult.cs (10)
44
/// Results representing cache hits (with <see cref="ResultType"/> == <see cref="
CacheResultType
.CacheHit"/>)
51
public
CacheResultType
ResultType { get; }
60
CacheResultType
resultType,
64
if (resultType ==
CacheResultType
.CacheHit)
78
ResultType =
CacheResultType
.None;
84
return new CacheResult(
CacheResultType
.CacheHit, buildResult);
89
return new CacheResult(
CacheResultType
.CacheHit, proxyTargets: proxyTargets);
96
return new CacheResult(
CacheResultType
.CacheHit, ConstructBuildResult(targetResults));
99
public static CacheResult IndicateNonCacheHit(
CacheResultType
resultType)
101
ErrorUtilities.VerifyThrow(resultType !=
CacheResultType
.CacheHit, "CantBeCacheHit");
ProjectCachePlugin (1)
AssemblyMockCache.cs (1)
54
return Task.FromResult(CacheResult.IndicateNonCacheHit(
CacheResultType
.CacheNotApplicable));