10 references to CacheResultType
Microsoft.Build (10)
BackEnd\Components\ProjectCache\Experimental\CacheResult.cs (10)
43
/// Results representing cache hits (with <see cref="ResultType"/> == <see cref="
CacheResultType
.CacheHit"/>)
50
public
CacheResultType
ResultType { get; }
59
CacheResultType
resultType,
63
if (resultType ==
CacheResultType
.CacheHit)
75
ResultType =
CacheResultType
.None;
81
return new CacheResult(
CacheResultType
.CacheHit, buildResult);
86
return new CacheResult(
CacheResultType
.CacheHit, proxyTargets: proxyTargets);
93
return new CacheResult(
CacheResultType
.CacheHit, ConstructBuildResult(targetResults));
96
public static CacheResult IndicateNonCacheHit(
CacheResultType
resultType)
98
Assumed.NotEqual(resultType,
CacheResultType
.CacheHit, "CantBeCacheHit");