/// <summary> /// Compares child nodes of the given object graphs. /// </summary> /// <param name="left">The left node to compare inner nodes of.</param> /// <param name="right">The right node to compare inner nodes of.</param> protected void CompareChildNodes(GraphNode left, GraphNode right) { if (left == null) { throw new ArgumentNullException("left"); } if (right == null) { throw new ArgumentNullException("right"); } ComparisonResult &= Comparer.CompareChildNodes(left, right); }