Skip to content

Port FxCop rule CA1013: OverloadOperatorEqualsOnOverloadingAddAndSubtract #64647

Closed as not planned

Description

Title: Overload operator equals on overloading add and subtract

Description:

A public or protected type implements the addition or subtraction operators without implementing the equality operator.

Dependency: None

Notes:

Activity

  1. added
    blocked
    on Jan 7, 2022
  2. buyaa-n commented on Feb 1, 2022

    @buyaa-n
    Contributor

    [Triage]: The rule makes sense to us, moving to runtime for further discussion.

    CC @carlossanlop

  3. ghost added
    untriaged
    on Feb 1, 2022
  4. added
    api-suggestion
    code-analyzer
    code-fixer
    and removed
    blocked
    on Feb 1, 2022
  5. 3 remaining items

  6. added this to the Future milestone on Mar 29, 2022
  7. ghost removed
    untriaged
    on Mar 29, 2022
  8. dotnet-policy-service commented on Oct 19, 2026

    @dotnet-policy-service
    Contributor

    Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process.

    This process is part of our issue cleanup automation.

  9. dotnet-policy-service commented on Oct 19, 2026

    @dotnet-policy-service
    Contributor

    Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process.

    This process is part of our issue cleanup automation.

  10. added
    backlog-cleanup-candidate
    on Oct 19, 2026
  11. Frulfump commented on Oct 19, 2026

    @Frulfump

    Still relevant

  12. removed
    backlog-cleanup-candidate
    on Oct 19, 2026
  13. tannergooding commented on Oct 19, 2026

    @tannergooding
    Member

    This is unlikely something we'll prioritize in the near future, if ever. We have no core framework design guideline around bundling these concepts and it is largely up to personal preference. Anyone can build their own analyzer around this and it is encouraged that the community go and build such analyzers and share them if they believe it useful.

  14. locked and limited conversation to collaborators on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    api-suggestionarea-Metacode-analyzercode-fixer

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions