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)
2282if (cacheResult.ResultType != CacheResultType.CacheHit) 2288else if (cacheResult.ResultType == CacheResultType.CacheHit && cacheResult.ProxyTargets != null) 2295else 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)
545if (pluginLogger.HasLoggedErrors || cacheResult.ResultType == CacheResultType.None) 550if (cacheResult.ResultType == CacheResultType.CacheHit) 564string cacheResultType = cacheResult?.ResultType.ToString() ?? nameof(CacheResultType.None); 573switch (cacheResult.ResultType)
Microsoft.Build.Engine.UnitTests (2)
ProjectCache\ProjectCacheTests.cs (2)
178return cacheResult.ResultType switch 808switch (expectedCacheResponse.ResultType)