Skip to content

Implement IEqualityOperators for autotypes #1639

@wherewhere

Description

@wherewhere

Is your feature request related to a problem? Please describe.

Implement IEqualityOperators when has equality operator. It may be useless but nice to have it. Since standard library has this interface, why not don't implement it?

(Since C# can't quack, it is useful in generic. It will be better to have this.

Describe the solution you'd like

Such as:

partial struct HINSTANCE : System.Numerics.IEqualityOperators<HINSTANCE, HINSTANCE, bool>;

Additional context

It will be better if autotypes can implement every numeric static interface if it has that function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions