2 writes to ResultType
Microsoft.Build (2)
BackEnd\Components\ProjectCache\CacheResult.cs (2)
69
ResultType
= resultType;
76
ResultType
= CacheResultType.None;
10 references to ResultType
Microsoft.Build (8)
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 (1)
43
/// Results representing cache hits (with <see cref="
ResultType
"/> == <see cref="CacheResultType.CacheHit"/>)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (4)
545
if (pluginLogger.HasLoggedErrors || cacheResult.
ResultType
== CacheResultType.None)
550
if (cacheResult.
ResultType
== CacheResultType.CacheHit)
564
string cacheResultType = cacheResult?.
ResultType
.ToString() ?? nameof(CacheResultType.None);
573
switch (cacheResult.
ResultType
)
Microsoft.Build.Engine.UnitTests (2)
ProjectCache\ProjectCacheTests.cs (2)
178
return cacheResult.
ResultType
switch
808
switch (expectedCacheResponse.
ResultType
)