Skip to content

QuantityGenerator ignores ComparisonType in the obsolete Equals method #1394

Closed
@gmkado

Description

@gmkado

We are in the process of migrating UnitsNet to the latest and found that some of our obsolete equals methods were failing. Inspecting the generated code shows that the comparison type is ignored.

comparisonType: ComparisonType.Absolute);

Seems like the comparison class still supports it, any reason to not keep it backwards compatible?

return EqualsRelative(referenceValue, otherValue, tolerance);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions