15 references to InvalidConfigurationId
Microsoft.Build (12)
BackEnd\BuildManager\BuildManager.cs (1)
2247if (_configCache!.HasConfiguration(newConfigurationId) || (newConfigurationId == BuildRequestConfiguration.InvalidConfigurationId))
BackEnd\Components\Scheduler\Scheduler.cs (3)
280return BuildRequestConfiguration.InvalidConfigurationId; 2177ErrorUtilities.VerifyThrow(request.ConfigurationId != BuildRequestConfiguration.InvalidConfigurationId, "Requests should have a valid configuration id at this point"); 2320int invalidWorkId = useConfigurations ? BuildRequestConfiguration.InvalidConfigurationId : BuildRequest.InvalidGlobalRequestId;
BackEnd\Components\Scheduler\SchedulingPlan.cs (2)
56this.MaximumConfigurationId = BuildRequestConfiguration.InvalidConfigurationId; 195return BuildRequestConfiguration.InvalidConfigurationId;
BackEnd\Shared\BuildRequestConfiguration.cs (6)
232ErrorUtilities.VerifyThrow(configId != InvalidConfigurationId, "Configuration ID must not be invalid when using this constructor."); 331public bool WasGeneratedByNode => _configId < InvalidConfigurationId; 344ErrorUtilities.VerifyThrow((_configId == InvalidConfigurationId) || (WasGeneratedByNode && (value > InvalidConfigurationId)), "Configuration ID must be invalid, or it must be less than invalid and the new config must be greater than invalid. It was {0}, the new value was {1}.", _configId, value); 1020(other._configId != InvalidConfigurationId) && 1021(_configId != InvalidConfigurationId))
Microsoft.Build.Engine.UnitTests (3)
BackEnd\CacheAggregator_Tests.cs (3)
26var i = BuildRequestConfiguration.InvalidConfigurationId + 1; 278aggregatedBuildResult.ConfigurationId.ShouldNotBe(BuildRequestConfiguration.InvalidConfigurationId); 290aggregatedConfig.ConfigurationId.ShouldNotBe(BuildRequestConfiguration.InvalidConfigurationId);