27 references to ConfigurationId
Microsoft.Build (15)
BackEnd\BuildManager\BuildManager.cs (1)
2409BuildRequestConfiguration configuration = _configCache![result.ConfigurationId];
BackEnd\BuildManager\BuildSubmission.cs (2)
228if (result.ConfigurationId != BuildRequest?.ConfigurationId) 231result.ConfigurationId, BuildRequest?.ConfigurationId);
BackEnd\BuildManager\CacheAggregator.cs (2)
88ErrorUtilities.VerifyThrow(seenConfigIds.Contains(result.ConfigurationId), "Each result should have a corresponding configuration. Otherwise the caches are not consistent"); 94configIdMapping[result.ConfigurationId],
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (2)
433BuildRequestConfiguration config = configCache[result.ConfigurationId]; 458BuildRequestConfiguration configuration = _configCache[result.ConfigurationId];
BackEnd\Components\Caching\ResultsCache.cs (3)
69if (_resultsByConfiguration.TryGetValue(result.ConfigurationId, out BuildResult buildResult)) 84if (!_resultsByConfiguration.TryAdd(result.ConfigurationId, result)) 86ErrorUtilities.ThrowInternalError("Failed to add result for configuration {0}", result.ConfigurationId);
BackEnd\Components\Scheduler\Scheduler.cs (2)
387BuildRequestConfiguration config = _configCache[result.ConfigurationId]; 2096|| !configCacheWithOverride.HasConfigurationInOverrideCache(result.ConfigurationId))
BackEnd\Shared\BuildResult.cs (3)
568ErrorUtilities.VerifyThrow(results.ConfigurationId == ConfigurationId, "Result configurations don't match"); 701targetResultPair.Value.CacheItems(ConfigurationId, targetResultPair.Key);
Microsoft.Build.Engine.UnitTests (12)
BackEnd\BuildResult_Tests.cs (6)
50Assert.Equal(result1.ConfigurationId, result2.ConfigurationId); 72Assert.Equal(-1, result.ConfigurationId); 76Assert.Equal(1, result2.ConfigurationId); 332Assert.Equal(result.ConfigurationId, deserializedResult.ConfigurationId);
BackEnd\CacheAggregator_Tests.cs (1)
278aggregatedBuildResult.ConfigurationId.ShouldNotBe(BuildRequestConfiguration.InvalidConfigurationId);
BackEnd\ResultsCache_Tests.cs (4)
442copiedBuildResult.ConfigurationId.ShouldBe(initialBuildResult.ConfigurationId); 461if (a.ConfigurationId != b.ConfigurationId)
Graph\ResultCacheBasedBuilds_Tests.cs (1)
368configEntries.First().ConfigurationId.ShouldBe(rootNodeBuildResult.ConfigurationId);