internal override void Accept(CompareOrphanVisitor visitor) { foreach (var item in Group) { item.Accept(visitor); } }
internal override T Accept <T>(CompareOrphanVisitor <T> visitor) { throw new NotSupportedException($"{nameof(CompareOrphanGrouping)} cannot be used with visitors of type {nameof(CompareOrphanVisitor<T>)}."); }
internal override void Accept(CompareOrphanVisitor visitor) => visitor.VisitCollection(this);
internal override T Accept <T>(CompareOrphanVisitor <T> visitor) => visitor.VisitCollection(this);
internal virtual void Accept(CompareOrphanVisitor visitor) => visitor.VisitOrphan(this);
internal virtual T Accept <T>(CompareOrphanVisitor <T> visitor) => visitor.VisitOrphan(this);