dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.98k stars 4.66k forks source link

Port FxCop rule CA1013: OverloadOperatorEqualsOnOverloadingAddAndSubtract #64647

Open ghost opened 8 years ago

ghost commented 8 years ago

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:

buyaa-n commented 2 years ago

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

CC @carlossanlop

dotnet-issue-labeler[bot] commented 2 years ago

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

ghost commented 2 years ago

Tagging subscribers to this area: @dotnet/area-system-runtime See info in area-owners.md if you want to be subscribed.

Issue Details
**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:**
Author: lgolding
Assignees: -
Labels: `api-suggestion`, `area-System.Runtime`, `untriaged`, `code-analyzer`, `code-fixer`
Milestone: -
ghost commented 2 years ago

Tagging subscribers to this area: @dotnet/area-meta See info in area-owners.md if you want to be subscribed.

Issue Details
**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:**
Author: lgolding
Assignees: -
Labels: `api-suggestion`, `area-Meta`, `untriaged`, `code-analyzer`, `code-fixer`
Milestone: -