18 references to CreateWhenElement
Microsoft.Build (2)
Construction\ProjectWhenElement.cs (1)
89
return owner.
CreateWhenElement
(Condition);
ObjectModelRemoting\ConstructionObjectLinks\ProjectRootElementLink.cs (1)
181
/// Facilitate remoting the <see cref="ProjectRootElement.
CreateWhenElement
"/>.
Microsoft.Build.Engine.OM.UnitTests (16)
Construction\ConstructionEditing_Tests.cs (11)
182
ProjectWhenElement when = project.
CreateWhenElement
("c");
198
ProjectWhenElement when = project.
CreateWhenElement
("c");
214
ProjectWhenElement when = project.
CreateWhenElement
("c");
232
ProjectWhenElement when = project.
CreateWhenElement
("c");
1241
ProjectWhenElement when = project.
CreateWhenElement
("c");
1260
choose.AppendChild(project.
CreateWhenElement
("c"));
1276
choose.AppendChild(project.
CreateWhenElement
("c"));
1291
ProjectWhenElement when = project.
CreateWhenElement
("c");
1307
ProjectWhenElement when = project.
CreateWhenElement
("c");
1931
ProjectWhenElement when = project.
CreateWhenElement
("c");
2301
ProjectWhenElement when = project.
CreateWhenElement
("c");
Construction\ProjectRootElement_Tests.cs (1)
1190
var when1 = pre.
CreateWhenElement
("some condition");
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (3)
130
xmlPair.CreateWithVerify<ProjectWhenElement>((p) => p.
CreateWhenElement
("condition"));
384
choose.Append2NewLabeledChildrenWithVerify<ProjectWhenElement>("when", (p, l) => p.
CreateWhenElement
($"'$(c)' == '{l}'"), out var when1, out var when2);
414
var when = choose.AppendNewChaildWithVerify<ProjectWhenElement>(ObjectType.View, "when", (p, s) => p.
CreateWhenElement
("true"), (p, s) => true);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectRootElementLink.cs (1)
132
return (MockProjectWhenElementLinkRemoter)this.Export(this.ProjectXml.
CreateWhenElement
(condition));