Why did the interface for arithmetic operations abandon .NET?

In .NET, it is not possible to restrict a general method, so it accepts only numeric types, as described in the following question: Is there a restriction restricting my general method to numerical types? .

But if you look at the source of links for .NET ( http://sourceof.net ) and look at the source code for primitive types ( Int32 , Int64 , Single , etc.) there is a link to what is called IArithmetic<T> with an interface implementation for all primitive types, but the implementation has been commented out.

An interface definition cannot be found, but looking at the implemented methods, the interface defines the necessary methods for a common interface with numbers.

So my question is: why did this work go down?

+7
c # clr
source share

No one has answered this question yet.

See similar questions:

315
Is there a restriction that limits my general method to numerical types?
57
What is the purpose of Decimal.One, Decimal.Zero, Decimal.MinusOne in .Net

or similar:

1939
Difference between decimal, floating and double in .NET?
1565
Proper use of the IDisposable interface
1270
Why not inherit from List <T>?
1109
Why is Dictionary preferable to Hashtable?
890
How can I get the application path in a .NET console application?
841
Sending Email in .NET via Gmail
681
.NET String.Format () to add commas to thousands of places for a number
306
Is it impossible to apply the == operator to generic types in C #?
215
The ultimate guide to changing APIs in .NET.
29th
Overloading an arithmetic operator for a general class in C #

All Articles