3 instantiations of ProjectOtherwiseElement
Microsoft.Build (3)
Construction\ProjectOtherwiseElement.cs (1)
87
return new
ProjectOtherwiseElement
(element, containingProject);
Evaluation\ProjectParser.cs (1)
833
ProjectOtherwiseElement otherwise = new
ProjectOtherwiseElement
(element, parent, _project);
ObjectModelRemoting\LinkedObjectFactory.cs (1)
185
return new
ProjectOtherwiseElement
(link);
18 references to ProjectOtherwiseElement
Microsoft.Build (18)
Construction\ProjectChooseElement.cs (4)
68
public
ProjectOtherwiseElement
OtherwiseElement
72
ProjectOtherwiseElement
otherwise = LastChild as
ProjectOtherwiseElement
;
102
ErrorUtilities.VerifyThrowInvalidOperation(parent is ProjectRootElement || parent is ProjectWhenElement || parent is
ProjectOtherwiseElement
, "OM_CannotAcceptParent");
Construction\ProjectItemElement.cs (1)
481
ErrorUtilities.VerifyThrowInvalidOperation(parent.Parent is ProjectRootElement || parent.Parent is ProjectTargetElement || parent.Parent is ProjectWhenElement || parent.Parent is
ProjectOtherwiseElement
, "OM_CannotAcceptParent");
Construction\ProjectItemGroupElement.cs (1)
177
ErrorUtilities.VerifyThrowInvalidOperation(parent is ProjectRootElement || parent is ProjectTargetElement || parent is ProjectWhenElement || parent is
ProjectOtherwiseElement
, "OM_CannotAcceptParent");
Construction\ProjectOtherwiseElement.cs (3)
83
internal static
ProjectOtherwiseElement
CreateDisconnected(ProjectRootElement containingProject)
97
ErrorUtilities.VerifyThrowInvalidOperation(!(nextSibling is ProjectWhenElement) && !(previousSibling is
ProjectOtherwiseElement
) && !(nextSibling is
ProjectOtherwiseElement
), "OM_NoOtherwiseBeforeWhenOrOtherwise");
Construction\ProjectPropertyGroupElement.cs (1)
110
ErrorUtilities.VerifyThrowInvalidOperation(parent is ProjectRootElement || parent is ProjectTargetElement || parent is ProjectWhenElement || parent is
ProjectOtherwiseElement
, "OM_CannotAcceptParent");
Construction\ProjectRootElement.cs (2)
1389
public
ProjectOtherwiseElement
CreateOtherwiseElement()
1391
return Link != null ? RootLink.CreateOtherwiseElement() :
ProjectOtherwiseElement
.CreateDisconnected(this);
Construction\ProjectWhenElement.cs (1)
84
ErrorUtilities.VerifyThrowInvalidOperation(!(previousSibling is
ProjectOtherwiseElement
), "OM_NoOtherwiseBeforeWhenOrOtherwise");
Evaluation\ProjectParser.cs (2)
829
private
ProjectOtherwiseElement
ParseProjectOtherwiseElement(XmlElementWithLocation element, ProjectChooseElement parent, int nestingDepth)
833
ProjectOtherwiseElement
otherwise = new ProjectOtherwiseElement(element, parent, _project);
ObjectModelRemoting\ConstructionObjectLinks\ProjectElementContainerLink.cs (1)
96
/// Allow for creating a local representation to external object of type <see cref="
ProjectOtherwiseElement
"/>
ObjectModelRemoting\ConstructionObjectLinks\ProjectRootElementLink.cs (1)
126
public abstract
ProjectOtherwiseElement
CreateOtherwiseElement();
ObjectModelRemoting\LinkedObjectFactory.cs (1)
183
public
ProjectOtherwiseElement
Create(ProjectOtherwiseElementLink link)