11 references to VerifyThrowNoAssert
Microsoft.Build.Engine (11)
Items\BuildItem.cs (1)
1756ErrorUtilities.VerifyThrowNoAssert(parentItemGroup.ParentProject != null, "Persisted BuildItemGroup doesn't have parent project.");
Items\ItemDefinitionLibrary.cs (1)
165ErrorUtilities.VerifyThrowNoAssert(evaluated, "Must be evaluated to query");
ItemsAndProperties\Lookup.cs (5)
300ErrorUtilities.VerifyThrowNoAssert(lookupEntries.Count >= 2, "Too many calls to Leave()."); 1020ErrorUtilities.VerifyThrowNoAssert(!tableOfItemsOfSameType.ContainsKey(item), "Item should not be in table"); 1038ErrorUtilities.VerifyThrowNoAssert(!existing.Items.Contains(item), "Item should not be in table"); 1071ErrorUtilities.VerifyThrowNoAssert(threadIdThatEnteredCurrentScope == Thread.CurrentThread.ManagedThreadId, "Only the thread that entered a scope may modify or leave it"); 1080ErrorUtilities.VerifyThrowNoAssert(lookupEntries.Count > 1, "Operation in outer scope not supported");
Xml\BuildItemGroupChildXml.cs (1)
48ErrorUtilities.VerifyThrowNoAssert(childTypeExpected != ChildType.Invalid, "Can't expect invalid childtype");
Xml\BuildItemGroupXml.cs (2)
36ErrorUtilities.VerifyThrowNoAssert(element != null, "Need a valid XML node."); 48ErrorUtilities.VerifyThrowNoAssert(owner != null, "Need valid XmlDocument owner for this item group.");
Xml\ProjectXmlUtilities.cs (1)
88ErrorUtilities.VerifyThrowNoAssert(String.Equals(element.Name, expected, StringComparison.Ordinal), "Expected " + expected + " element, got " + element.Name);