2 interfaces inheriting from IAdditionOperators
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\INumberBase.cs (1)
16: IAdditionOperators<TSelf, TSelf, TSelf>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\ISimdVector_2.cs (1)
14: IAdditionOperators<TSelf, TSelf, TSelf>,
89 references to IAdditionOperators
System.Linq (1)
System\Linq\InfiniteSequence.cs (1)
19public static IEnumerable<T> InfiniteSequence<T>(T start, T step) where T : IAdditionOperators<T, T, T>
System.Linq.AsyncEnumerable (1)
System\Linq\InfiniteSequence.cs (1)
19public static IAsyncEnumerable<T> InfiniteSequence<T>(T start, T step) where T : IAdditionOperators<T, T, T>
System.Numerics.Tensors (31)
System\Numerics\Tensors\netcore\Tensor.cs (3)
3336where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T>, IMultiplicativeIdentity<T, T>, IMultiplyOperators<T, T, T> 5022where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T> 5037where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T>, IMultiplyOperators<T, T, T>
System\Numerics\Tensors\netcore\Tensor.op_Addition.cs (7)
15where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T> 28where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T> 43where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T> 58where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T> 67where TScalar : IAdditionOperators<TScalar, TScalar, TScalar>, IAdditiveIdentity<TScalar, TScalar> 91where TScalar : IAdditionOperators<TScalar, TScalar, TScalar>, IAdditiveIdentity<TScalar, TScalar> 112where TScalar : IAdditionOperators<TScalar, TScalar, TScalar>, IAdditiveIdentity<TScalar, TScalar>
System\Numerics\Tensors\netcore\TensorOperation.cs (6)
579where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T> 1041where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T>, IMultiplicativeIdentity<T, T>, IMultiplyOperators<T, T, T> 2082where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T> 2098where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T>, IMultiplyOperators<T, T, T>, ISubtractionOperators<T, T, T> 2128where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T>, IMultiplyOperators<T, T, T>, ISubtractionOperators<T, T, T>, INumberBase<T> 2149where 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> 52where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T> 63internal 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> 57where T : IAdditionOperators<T, T, T>, IMultiplyOperators<T, T, T> 85where T : IAdditionOperators<T, T, T>, IMultiplyOperators<T, T, T> 96internal 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> 58where T : IAdditionOperators<T, T, T>, IMultiplyOperators<T, T, T> 86where T : IAdditionOperators<T, T, T>, IMultiplyOperators<T, T, T> 97internal 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 (55)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (4)
255/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 256static byte IAdditionOperators<byte, byte, byte>.operator +(byte left, byte right) => (byte)(left + right); 258/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_CheckedAddition(TSelf, TOther)" /> 259static byte IAdditionOperators<byte, byte, byte>.operator checked +(byte left, byte right) => checked((byte)(left + right));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (4)
1212/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 1213static char IAdditionOperators<char, char, char>.operator +(char left, char right) => (char) (left + right); 1215/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 1216static char IAdditionOperators<char, char, char>.operator checked +(char left, char right) => checked((char)(left + right));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (2)
529/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 530static double IAdditionOperators<double, double, double>.operator +(double left, double right) => left + right;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1219/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (2)
660/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 673/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (4)
258/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 259static short IAdditionOperators<short, short, short>.operator +(short left, short right) => (short)(left + right); 261/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 262static short IAdditionOperators<short, short, short>.operator checked +(short left, short right) => checked((short)(left + right));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (4)
273/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 274static int IAdditionOperators<int, int, int>.operator +(int left, int right) => left + right; 276/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 277static int IAdditionOperators<int, int, int>.operator checked +(int left, int right) => checked(left + right);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (4)
270/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 271static long IAdditionOperators<long, long, long>.operator +(long left, long right) => left + right; 273/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 274static long IAdditionOperators<long, long, long>.operator checked +(long left, long right) => checked(left + right);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (4)
303/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 304static nint IAdditionOperators<nint, nint, nint>.operator +(nint left, nint right) => left + right; 306/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 307static nint IAdditionOperators<nint, nint, nint>.operator checked +(nint left, nint right) => checked(left + right);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
851/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IAdditionOperators.cs (1)
11where TSelf : IAdditionOperators<TSelf, TOther, TResult>?
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (4)
261/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 262static sbyte IAdditionOperators<sbyte, sbyte, sbyte>.operator +(sbyte left, sbyte right) => (sbyte)(left + right); 264/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 265static sbyte IAdditionOperators<sbyte, sbyte, sbyte>.operator checked +(sbyte left, sbyte right) => checked((sbyte)(left + right));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (2)
522/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 523static float IAdditionOperators<float, float, float>.operator +(float left, float right) => left + right;
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (2)
735/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 748/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (4)
252/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 253static ushort IAdditionOperators<ushort, ushort, ushort>.operator +(ushort left, ushort right) => (ushort)(left + right); 255/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 256static ushort IAdditionOperators<ushort, ushort, ushort>.operator checked +(ushort left, ushort right) => checked((ushort)(left + right));
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (4)
268/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 269static uint IAdditionOperators<uint, uint, uint>.operator +(uint left, uint right) => left + right; 271/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 272static uint IAdditionOperators<uint, uint, uint>.operator checked +(uint left, uint right) => checked(left + right);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (4)
267/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 268static ulong IAdditionOperators<ulong, ulong, ulong>.operator +(ulong left, ulong right) => left + right; 270/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 271static ulong IAdditionOperators<ulong, ulong, ulong>.operator checked +(ulong left, ulong right) => checked(left + right);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (4)
299/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 300static nuint IAdditionOperators<nuint, nuint, nuint>.operator +(nuint left, nuint right) => left + right; 302/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" /> 303static nuint IAdditionOperators<nuint, nuint, nuint>.operator checked +(nuint left, nuint right) => checked(left + right);
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
382[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.IAdditionOperators<,,>))]