11 references to VerifyThrow
Microsoft.Build (10)
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (4)
216ErrorUtilities.VerifyThrow(State == BuildRequestEntryState.Active, "Must be in Active state to wait for blocking request. Config: {0} State: {1}", RequestConfiguration.ConfigurationId, State); 409ErrorUtilities.VerifyThrow(State == BuildRequestEntryState.Ready, "Entry must be in the Ready state. Config: {0} State: {1}", RequestConfiguration.ConfigurationId, State); 486ErrorUtilities.VerifyThrow(State == BuildRequestEntryState.Active, "Entry must be active before it can be Completed successfully. Config: {0} State: {1}", RequestConfiguration.ConfigurationId, State); 504ErrorUtilities.VerifyThrow(State == BuildRequestEntryState.Active || State == BuildRequestEntryState.Waiting, "Must be in Active or Waiting state to wait for results. Config: {0} State: {1}", RequestConfiguration.ConfigurationId, State);
BackEnd\Components\RequestBuilder\Lookup.cs (1)
266ErrorUtilities.VerifyThrow(Object.ReferenceEquals(scopeToLeave, _lookupScopes), "Attempting to leave with scope '{0}' but scope '{1}' is on top of the stack.", scopeToLeave.Description, _lookupScopes.Description);
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
286ErrorUtilities.VerifyThrow(pushed, "Failed to push any targets onto the stack. Target: {0} Current Target: {1}", targets[i], currentTargetEntry.Target.Name);
BackEnd\Components\RequestBuilder\TargetEntry.cs (1)
888ErrorUtilities.VerifyThrow(actual == expected, "Expected state {1}. Got {0}", actual, expected);
Evaluation\ProjectRootElementCache.cs (1)
350ErrorUtilities.VerifyThrow(
Evaluation\SimpleProjectRootElementCache.cs (1)
66ErrorUtilities.VerifyThrow(
Instance\ReflectableTaskPropertyInfo.cs (1)
81ErrorUtilities.VerifyThrow(_propertyInfo != null, "Could not find property {0} on type {1} that the task factory indicated should exist.", Name, _taskType.FullName);
Microsoft.Build.Engine.UnitTests (1)
ErrorUtilities_Tests.cs (1)
55ErrorUtilities.VerifyThrow(true, "{0}{1}", "a", "b");