Method StructurallyEquals
StructurallyEquals(RdlElement?)
Compares two subtrees by name, attributes, order and text — ignoring the prefixes that happened to be used.
public bool StructurallyEquals(RdlElement? other)
Parameters
otherRdlElementThe element to compare with.
Returns
Remarks
This is what a round-trip gate asserts. Byte equality is the wrong test for a definition DocWright did not write: indentation, prefix choice and self-closing style are an author's, not the model's. Equality here means no information was lost.