private void expandBaseElement(ElementNavigator snap, ElementNavigator diff) { snap.ExpandElement(_loader); if (!snap.HasChildren) { // Snapshot's element turns out not to be expandable, so we can't move to the desired path throw Error.InvalidOperation("Differential has nested constraints for node {0}, but this is a leaf node in base", diff.Path); } }