public void DependOnPropertyTest2() { var obj = new DerivedModel(); obj.InheritProperty1 = 0; obj.Validate(0, 0, 1, 0, 1); }