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)
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 (1)
43
/// Results representing cache hits (with <see cref="
ResultType
"/> == <see cref="CacheResultType.CacheHit"/>)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (4)
546
if (pluginLogger.HasLoggedErrors || cacheResult.
ResultType
== CacheResultType.None)
551
if (cacheResult.
ResultType
== CacheResultType.CacheHit)
565
string cacheResultType = cacheResult?.
ResultType
.ToString() ?? nameof(CacheResultType.None);
574
switch (cacheResult.
ResultType
)
Microsoft.Build.Engine.UnitTests (2)
ProjectCache\ProjectCacheTests.cs (2)
178
return cacheResult.
ResultType
switch
808
switch (expectedCacheResponse.
ResultType
)