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