2 interfaces inheriting from IAdditionOperators
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Numerics\INumberBase.cs (1)
16: IAdditionOperators<TSelf, TSelf, TSelf>,
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\ISimdVector_2.cs (1)
14: IAdditionOperators<TSelf, TSelf, TSelf>,
80 references to IAdditionOperators
System.Numerics.Tensors (27)
System\Numerics\Tensors\netcore\Tensor.cs (7)
2656where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T> 2669where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T> 2683where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T> 2697where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T> 3617where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T>, IMultiplicativeIdentity<T, T>, IMultiplyOperators<T, T, T> 5411where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T> 5426where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T>, IMultiplyOperators<T, T, T>
System\Numerics\Tensors\netcore\TensorOperation.cs (5)
559where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T> 1005where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T>, IMultiplicativeIdentity<T, T>, IMultiplyOperators<T, T, T> 1985where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T> 2001where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T>, IMultiplyOperators<T, T, T>, ISubtractionOperators<T, T, T> 2031where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T>, IMultiplyOperators<T, T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Add.cs (3)
27where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T> => 45where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T> => 49internal readonly struct AddOperator<T> : IAggregationOperator<T> where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.AddMultiply.cs (4)
29where T : IAdditionOperators<T, T, T>, IMultiplyOperators<T, T, T> => 50where T : IAdditionOperators<T, T, T>, IMultiplyOperators<T, T, T> => 71where T : IAdditionOperators<T, T, T>, IMultiplyOperators<T, T, T> => 75internal readonly struct AddMultiplyOperator<T> : ITernaryOperator<T> where T : IAdditionOperators<T, T, T>, IMultiplyOperators<T, T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Dot.cs (1)
32where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T>, IMultiplyOperators<T, T, T>, IMultiplicativeIdentity<T, T> =>
System\Numerics\Tensors\netcore\TensorPrimitives.MultiplyAdd.cs (4)
29where T : IAdditionOperators<T, T, T>, IMultiplyOperators<T, T, T> => 51where T : IAdditionOperators<T, T, T>, IMultiplyOperators<T, T, T> => 72where T : IAdditionOperators<T, T, T>, IMultiplyOperators<T, T, T> => 76internal readonly struct MultiplyAddOperator<T> : ITernaryOperator<T> where T : IAdditionOperators<T, T, T>, IMultiplyOperators<T, T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Product.cs (1)
86where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T>, IMultiplyOperators<T, T, T>, IMultiplicativeIdentity<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Sum.cs (2)
23where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T> => 68where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T>, IMultiplyOperators<T, T, T> =>
System.Private.CoreLib (52)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (4)
261/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 262static byte IAdditionOperators<byte, byte, byte>.operator +(byte left, byte right) => (byte)(left + right); 264/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_CheckedAddition(TSelf, TOther)" /> 265static byte IAdditionOperators<byte, byte, byte>.operator checked +(byte left, byte right) => checked((byte)(left + right));
src\libraries\System.Private.CoreLib\src\System\Char.cs (4)
1145/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 1146static char IAdditionOperators<char, char, char>.operator +(char left, char right) => (char) (left + right); 1148/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 1149static char IAdditionOperators<char, char, char>.operator checked +(char left, char right) => checked((char)(left + right));
src\libraries\System.Private.CoreLib\src\System\Double.cs (2)
531/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 532static double IAdditionOperators<double, double, double>.operator +(double left, double right) => left + right;
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1190/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
src\libraries\System.Private.CoreLib\src\System\Int128.cs (2)
666/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 679/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
src\libraries\System.Private.CoreLib\src\System\Int16.cs (4)
264/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 265static short IAdditionOperators<short, short, short>.operator +(short left, short right) => (short)(left + right); 267/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 268static short IAdditionOperators<short, short, short>.operator checked +(short left, short right) => checked((short)(left + right));
src\libraries\System.Private.CoreLib\src\System\Int32.cs (4)
279/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 280static int IAdditionOperators<int, int, int>.operator +(int left, int right) => left + right; 282/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 283static int IAdditionOperators<int, int, int>.operator checked +(int left, int right) => checked(left + right);
src\libraries\System.Private.CoreLib\src\System\Int64.cs (4)
276/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 277static long IAdditionOperators<long, long, long>.operator +(long left, long right) => left + right; 279/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 280static long IAdditionOperators<long, long, long>.operator checked +(long left, long right) => checked(left + right);
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (3)
281/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 282static nint IAdditionOperators<nint, nint, nint>.operator +(nint left, nint right) => left + right; 284/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
src\libraries\System.Private.CoreLib\src\System\Numerics\IAdditionOperators.cs (1)
11where TSelf : IAdditionOperators<TSelf, TOther, TResult>?
src\libraries\System.Private.CoreLib\src\System\SByte.cs (4)
267/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 268static sbyte IAdditionOperators<sbyte, sbyte, sbyte>.operator +(sbyte left, sbyte right) => (sbyte)(left + right); 270/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 271static sbyte IAdditionOperators<sbyte, sbyte, sbyte>.operator checked +(sbyte left, sbyte right) => checked((sbyte)(left + right));
src\libraries\System.Private.CoreLib\src\System\Single.cs (2)
526/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 527static float IAdditionOperators<float, float, float>.operator +(float left, float right) => left + right;
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (2)
741/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 754/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (4)
258/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 259static ushort IAdditionOperators<ushort, ushort, ushort>.operator +(ushort left, ushort right) => (ushort)(left + right); 261/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 262static ushort IAdditionOperators<ushort, ushort, ushort>.operator checked +(ushort left, ushort right) => checked((ushort)(left + right));
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (4)
274/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 275static uint IAdditionOperators<uint, uint, uint>.operator +(uint left, uint right) => left + right; 277/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 278static uint IAdditionOperators<uint, uint, uint>.operator checked +(uint left, uint right) => checked(left + right);
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (4)
273/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 274static ulong IAdditionOperators<ulong, ulong, ulong>.operator +(ulong left, ulong right) => left + right; 276/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 277static ulong IAdditionOperators<ulong, ulong, ulong>.operator checked +(ulong left, ulong right) => checked(left + right);
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (3)
277/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 278static nuint IAdditionOperators<nuint, nuint, nuint>.operator +(nuint left, nuint right) => left + right; 280/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
371[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.IAdditionOperators<,,>))]