private static void AssertEdit( RenderTreeEdit edit, RenderTreeEditType type, int siblingIndex) { Assert.Equal(type, edit.Type); Assert.Equal(siblingIndex, edit.SiblingIndex); }
private RenderTreeEdit(RenderTreeEditType type, int siblingIndex, int referenceFrameOrMoveToSiblingIndex) : this() { Type = type; SiblingIndex = siblingIndex; // MoveToSiblingIndex is stored in the same slot as ReferenceFrameIndex, // so assigning to either one is equivalent ReferenceFrameIndex = referenceFrameOrMoveToSiblingIndex; }
private RenderTreeEdit(RenderTreeEditType type, int siblingIndex, string removedAttributeName) : this() { Type = type; SiblingIndex = siblingIndex; RemovedAttributeName = removedAttributeName; }
private RenderTreeEdit(RenderTreeEditType type, int siblingIndex) : this() { Type = type; SiblingIndex = siblingIndex; }
private RenderTreeEdit(RenderTreeEditType type) : this() { Type = type; }
private RenderTreeEdit(RenderTreeEditType type, int siblingIndex, int referenceFrameIndex) : this() { Type = type; SiblingIndex = siblingIndex; ReferenceFrameIndex = referenceFrameIndex; }