2 writes to ResultType
Microsoft.Build (2)
BackEnd\Components\ProjectCache\CacheResult.cs (2)
69ResultType = resultType; 76ResultType = CacheResultType.None;
10 references to ResultType
Microsoft.Build (8)
BackEnd\BuildManager\BuildManager.cs (3)
2288if (cacheResult.ResultType != CacheResultType.CacheHit) 2294else if (cacheResult.ResultType == CacheResultType.CacheHit && cacheResult.ProxyTargets != null) 2301else 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)
546if (pluginLogger.HasLoggedErrors || cacheResult.ResultType == CacheResultType.None) 551if (cacheResult.ResultType == CacheResultType.CacheHit) 565string cacheResultType = cacheResult?.ResultType.ToString() ?? nameof(CacheResultType.None); 574switch (cacheResult.ResultType)
Microsoft.Build.Engine.UnitTests (2)
ProjectCache\ProjectCacheTests.cs (2)
178return cacheResult.ResultType switch 808switch (expectedCacheResponse.ResultType)