You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a generated class has a BaseTypeHint, the generate equality comparer compares only the derived type's properties. It doesn't delegate to the base type's equality comparer to compare the base type's properties.
The nature of the base class comparison must depend on the ComparisonKind of the base class. Unfortunately, as the code stands, ComparisonKind is a property of the PropertyInfo class; that is, the code generator understands how to compare property values, but only because it understands the schema that describes the property. There is nothing that represents the ComparisonKind of a class. I'll need to add that feature.
The text was updated successfully, but these errors were encountered:
If a generated class has a
BaseTypeHint
, the generate equality comparer compares only the derived type's properties. It doesn't delegate to the base type's equality comparer to compare the base type's properties.The nature of the base class comparison must depend on the
ComparisonKind
of the base class. Unfortunately, as the code stands,ComparisonKind
is a property of thePropertyInfo
class; that is, the code generator understands how to compare property values, but only because it understands the schema that describes the property. There is nothing that represents theComparisonKind
of a class. I'll need to add that feature.The text was updated successfully, but these errors were encountered: