10 references to VerifyThrow
Microsoft.Build (9)
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (4)
226ErrorUtilities.VerifyThrow(State == BuildRequestEntryState.Active, "Must be in Active state to wait for blocking request. Config: {0} State: {1}", RequestConfiguration.ConfigurationId, State); 419ErrorUtilities.VerifyThrow(State == BuildRequestEntryState.Ready, "Entry must be in the Ready state. Config: {0} State: {1}", RequestConfiguration.ConfigurationId, State); 496ErrorUtilities.VerifyThrow(State == BuildRequestEntryState.Active, "Entry must be active before it can be Completed successfully. Config: {0} State: {1}", RequestConfiguration.ConfigurationId, State); 517ErrorUtilities.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)
889ErrorUtilities.VerifyThrow(actual == expected, "Expected state {1}. Got {0}", actual, expected);
Evaluation\ProjectRootElementCache.cs (1)
349ErrorUtilities.VerifyThrow(
Evaluation\SimpleProjectRootElementCache.cs (1)
66ErrorUtilities.VerifyThrow(
Microsoft.Build.Engine.UnitTests (1)
ErrorUtilities_Tests.cs (1)
55ErrorUtilities.VerifyThrow(true, "{0}{1}", "a", "b");