15 references to InvalidConfigurationId
Microsoft.Build (12)
BackEnd\BuildManager\BuildManager.cs (1)
2253
if (_configCache!.HasConfiguration(newConfigurationId) || (newConfigurationId == BuildRequestConfiguration.
InvalidConfigurationId
))
BackEnd\Components\Scheduler\Scheduler.cs (3)
280
return BuildRequestConfiguration.
InvalidConfigurationId
;
2177
ErrorUtilities.VerifyThrow(request.ConfigurationId != BuildRequestConfiguration.
InvalidConfigurationId
, "Requests should have a valid configuration id at this point");
2320
int invalidWorkId = useConfigurations ? BuildRequestConfiguration.
InvalidConfigurationId
: BuildRequest.InvalidGlobalRequestId;
BackEnd\Components\Scheduler\SchedulingPlan.cs (2)
56
this.MaximumConfigurationId = BuildRequestConfiguration.
InvalidConfigurationId
;
195
return BuildRequestConfiguration.
InvalidConfigurationId
;
BackEnd\Shared\BuildRequestConfiguration.cs (6)
232
ErrorUtilities.VerifyThrow(configId !=
InvalidConfigurationId
, "Configuration ID must not be invalid when using this constructor.");
331
public bool WasGeneratedByNode => _configId <
InvalidConfigurationId
;
344
ErrorUtilities.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)
26
var i = BuildRequestConfiguration.
InvalidConfigurationId
+ 1;
278
aggregatedBuildResult.ConfigurationId.ShouldNotBe(BuildRequestConfiguration.
InvalidConfigurationId
);
290
aggregatedConfig.ConfigurationId.ShouldNotBe(BuildRequestConfiguration.
InvalidConfigurationId
);