16 references to VerifyThrow
Microsoft.Build.Tasks.Core (15)
AssemblyDependency\GlobalAssemblyCache.cs (1)
189ErrorUtilities.VerifyThrow(hr == NativeMethodsShared.S_OK, "CreateAssemblyCache failed, hr {0}", hr);
AssemblyResources.cs (1)
27ErrorUtilities.VerifyThrow(resource != null, "Missing resource '{0}'", name);
FileMatcher.cs (1)
449ErrorUtilities.VerifyThrow(!HasWildcards(path),
GenerateResource.cs (2)
2725ErrorUtilities.VerifyThrow(_readers.Count == 1, 2735ErrorUtilities.VerifyThrow(_readers.Count == 1,
MSBuild.cs (1)
352ErrorUtilities.VerifyThrow(skipNonExistProjects == SkipNonExistentProjectsBehavior.Error, "skipNonexistentProjects has unexpected value {0}", skipNonExistProjects);
XamlTaskFactory\CommandLineToolSwitch.cs (8)
243ErrorUtilities.VerifyThrow(Type == CommandLineToolSwitchType.Boolean, "InvalidType", TypeBoolean); 249ErrorUtilities.VerifyThrow(Type == CommandLineToolSwitchType.Boolean, "InvalidType", TypeBoolean); 261ErrorUtilities.VerifyThrow(Type == CommandLineToolSwitchType.Integer, "InvalidType", TypeInteger); 267ErrorUtilities.VerifyThrow(Type == CommandLineToolSwitchType.Integer, "InvalidType", TypeInteger); 280ErrorUtilities.VerifyThrow(Type == CommandLineToolSwitchType.StringArray, "InvalidType", TypeStringArray); 286ErrorUtilities.VerifyThrow(Type == CommandLineToolSwitchType.StringArray, "InvalidType", TypeStringArray); 299ErrorUtilities.VerifyThrow(Type == CommandLineToolSwitchType.ITaskItemArray, "InvalidType", TypeITaskItemArray); 305ErrorUtilities.VerifyThrow(Type == CommandLineToolSwitchType.ITaskItemArray, "InvalidType", TypeITaskItemArray);
XamlTaskFactory\TaskGenerator.cs (1)
611ErrorUtilities.VerifyThrow(value != null, "NullValue", property);
Microsoft.Build.Tasks.UnitTests (1)
ErrorUtilities_Tests.cs (1)
50ErrorUtilities.VerifyThrow(true, "{0}", "a");