internal static DeepEqualsNode CreateFor(object expected, object actual)
        {
            var ec = new ComparedField(expected, null);
            var ac = new ComparedField(actual, null);

            return(new DeepEqualsNode(ec, ac, new List <ComparedPair>()));
        }
        private DeepEqualsNode CreateFieldChild(object expected, object actual, FieldInfo field)
        {
            var ecf = new ComparedField(expected, field);
            var acf = new ComparedField(actual, field);

            return(new DeepEqualsNode(this, field, ecf, acf, this.compared));
        }
 internal static DeepEqualsNode CreateFor(object expected, object actual)
 {
     var ec = new ComparedField(expected, null);
     var ac = new ComparedField(actual, null);
     return new DeepEqualsNode(ec, ac, new List<ComparedPair>());
 }
 private DeepEqualsNode CreateFieldChild(object expected, object actual, FieldInfo field)
 {
     var ecf = new ComparedField(expected, field);
     var acf = new ComparedField(actual, field);
     return new DeepEqualsNode(this, field, ecf, acf, this.compared);
 }