15 references to QuerySingleChildrenWithValidation
Microsoft.Build.Engine.OM.UnitTests (15)
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
35
var c1 = this.
QuerySingleChildrenWithValidation
<CT>((t) => matcher(t, id));
64
var c1 = this.
QuerySingleChildrenWithValidation
<CT>((t) => matcher(t, id));
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (7)
183
newTarget1.VerifySame(xmlPair.
QuerySingleChildrenWithValidation
<ProjectTargetElement>((t) => string.Equals(t.Name, NewTargetRenamed)));
189
newTarget1.VerifySame(xmlPair.
QuerySingleChildrenWithValidation
<ProjectTargetElement>((t) => string.Equals(t.Name, NewTargetRenamed.Ver(2))));
374
var choose = xmlPair.
QuerySingleChildrenWithValidation
<ProjectChooseElement>((pc) => true);
386
when1.VerifySame(choose.
QuerySingleChildrenWithValidation
<ProjectWhenElement>((ch) => ch.Label == when1.View.Label));
387
when2.VerifySame(choose.
QuerySingleChildrenWithValidation
<ProjectWhenElement>((ch) => ch.Label == when2.View.Label));
399
when1.VerifySame(choose.
QuerySingleChildrenWithValidation
<ProjectWhenElement>((ch) => ch.Label == when1.View.Label));
494
usingTaskFile.VerifySame(xmlPair.
QuerySingleChildrenWithValidation
<ProjectUsingTaskElement>((ut) => true));
ObjectModelRemoting\LinkedSpecialCasesScenarios.cs (6)
130
clonedPair.VerifySame(xmlPair.
QuerySingleChildrenWithValidation
<ProjectItemGroupElement>((ig) => ig == clonedPair.View || ig == clonedPair.Real));
163
var ourGroup1 = xmlPair.
QuerySingleChildrenWithValidation
<ProjectItemGroupElement>((ig) => ig.Label == "Group1");
170
newCopyFrom.VerifySame(xmlPair.
QuerySingleChildrenWithValidation
<ProjectItemGroupElement>((ig) => ig.Label == "CopyFrom"));
171
ourGroup1.VerifySame(xmlPair.
QuerySingleChildrenWithValidation
<ProjectItemGroupElement>((ig) => ig.Label == "Group1"));
196
newDeepCopy.VerifySame(xmlPair.
QuerySingleChildrenWithValidation
<ProjectItemGroupElement>((ig) => ig.Label == "DeepCopyFrom"));
197
ourGroup1.VerifySame(xmlPair.
QuerySingleChildrenWithValidation
<ProjectItemGroupElement>((ig) => ig.Label == "Group1"));