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)
181
ProjectWhenElement when = project.
CreateWhenElement
("c");
197
ProjectWhenElement when = project.
CreateWhenElement
("c");
213
ProjectWhenElement when = project.
CreateWhenElement
("c");
231
ProjectWhenElement when = project.
CreateWhenElement
("c");
1240
ProjectWhenElement when = project.
CreateWhenElement
("c");
1259
choose.AppendChild(project.
CreateWhenElement
("c"));
1275
choose.AppendChild(project.
CreateWhenElement
("c"));
1290
ProjectWhenElement when = project.
CreateWhenElement
("c");
1306
ProjectWhenElement when = project.
CreateWhenElement
("c");
1930
ProjectWhenElement when = project.
CreateWhenElement
("c");
2300
ProjectWhenElement when = project.
CreateWhenElement
("c");
Construction\ProjectRootElement_Tests.cs (1)
1186
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));