Page MenuHomePhabricator

C#: CA2225: Operator overloads have named alternates
Closed, ResolvedPublic

Description

Operator overloading allows the use of symbols to represent computations for a type. For example, a type that overloads the plus symbol + for addition would typically have an alternative member named Add. The named alternative member provides access to the same functionality as the operator. It's provided for developers who program in languages that do not support overloaded operators.

https://docs.microsoft.com/en-us/visualstudio/code-quality/ca2225?view=vs-2019