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)
2656
where T :
IAdditionOperators
<T, T, T>, IAdditiveIdentity<T, T>
2669
where T :
IAdditionOperators
<T, T, T>, IAdditiveIdentity<T, T>
2683
where T :
IAdditionOperators
<T, T, T>, IAdditiveIdentity<T, T>
2697
where T :
IAdditionOperators
<T, T, T>, IAdditiveIdentity<T, T>
3617
where T :
IAdditionOperators
<T, T, T>, IAdditiveIdentity<T, T>, IMultiplicativeIdentity<T, T>, IMultiplyOperators<T, T, T>
5411
where T :
IAdditionOperators
<T, T, T>, IAdditiveIdentity<T, T>
5426
where T :
IAdditionOperators
<T, T, T>, IAdditiveIdentity<T, T>, IMultiplyOperators<T, T, T>
System\Numerics\Tensors\netcore\TensorOperation.cs (5)
559
where T :
IAdditionOperators
<T, T, T>, IAdditiveIdentity<T, T>
1005
where T :
IAdditionOperators
<T, T, T>, IAdditiveIdentity<T, T>, IMultiplicativeIdentity<T, T>, IMultiplyOperators<T, T, T>
1985
where T :
IAdditionOperators
<T, T, T>, IAdditiveIdentity<T, T>
2001
where T :
IAdditionOperators
<T, T, T>, IAdditiveIdentity<T, T>, IMultiplyOperators<T, T, T>, ISubtractionOperators<T, T, T>
2031
where T :
IAdditionOperators
<T, T, T>, IAdditiveIdentity<T, T>, IMultiplyOperators<T, T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Add.cs (3)
27
where T :
IAdditionOperators
<T, T, T>, IAdditiveIdentity<T, T> =>
45
where T :
IAdditionOperators
<T, T, T>, IAdditiveIdentity<T, T> =>
49
internal readonly struct AddOperator<T> : IAggregationOperator<T> where T :
IAdditionOperators
<T, T, T>, IAdditiveIdentity<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.AddMultiply.cs (4)
29
where T :
IAdditionOperators
<T, T, T>, IMultiplyOperators<T, T, T> =>
50
where T :
IAdditionOperators
<T, T, T>, IMultiplyOperators<T, T, T> =>
71
where T :
IAdditionOperators
<T, T, T>, IMultiplyOperators<T, T, T> =>
75
internal readonly struct AddMultiplyOperator<T> : ITernaryOperator<T> where T :
IAdditionOperators
<T, T, T>, IMultiplyOperators<T, T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Dot.cs (1)
32
where T :
IAdditionOperators
<T, T, T>, IAdditiveIdentity<T, T>, IMultiplyOperators<T, T, T>, IMultiplicativeIdentity<T, T> =>
System\Numerics\Tensors\netcore\TensorPrimitives.MultiplyAdd.cs (4)
29
where T :
IAdditionOperators
<T, T, T>, IMultiplyOperators<T, T, T> =>
51
where T :
IAdditionOperators
<T, T, T>, IMultiplyOperators<T, T, T> =>
72
where T :
IAdditionOperators
<T, T, T>, IMultiplyOperators<T, T, T> =>
76
internal readonly struct MultiplyAddOperator<T> : ITernaryOperator<T> where T :
IAdditionOperators
<T, T, T>, IMultiplyOperators<T, T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Product.cs (1)
86
where T :
IAdditionOperators
<T, T, T>, IAdditiveIdentity<T, T>, IMultiplyOperators<T, T, T>, IMultiplicativeIdentity<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Sum.cs (2)
23
where T :
IAdditionOperators
<T, T, T>, IAdditiveIdentity<T, T> =>
68
where 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)" />
262
static byte
IAdditionOperators
<byte, byte, byte>.operator +(byte left, byte right) => (byte)(left + right);
264
/// <inheritdoc cref="
IAdditionOperators
{TSelf, TOther, TResult}.op_CheckedAddition(TSelf, TOther)" />
265
static 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)" />
1146
static char
IAdditionOperators
<char, char, char>.operator +(char left, char right) => (char) (left + right);
1148
/// <inheritdoc cref="
IAdditionOperators
{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
1149
static 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)" />
532
static 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)" />
265
static short
IAdditionOperators
<short, short, short>.operator +(short left, short right) => (short)(left + right);
267
/// <inheritdoc cref="
IAdditionOperators
{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
268
static 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)" />
280
static int
IAdditionOperators
<int, int, int>.operator +(int left, int right) => left + right;
282
/// <inheritdoc cref="
IAdditionOperators
{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
283
static 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)" />
277
static long
IAdditionOperators
<long, long, long>.operator +(long left, long right) => left + right;
279
/// <inheritdoc cref="
IAdditionOperators
{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
280
static 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)" />
282
static 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)
11
where 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)" />
268
static sbyte
IAdditionOperators
<sbyte, sbyte, sbyte>.operator +(sbyte left, sbyte right) => (sbyte)(left + right);
270
/// <inheritdoc cref="
IAdditionOperators
{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
271
static 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)" />
527
static 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)" />
259
static ushort
IAdditionOperators
<ushort, ushort, ushort>.operator +(ushort left, ushort right) => (ushort)(left + right);
261
/// <inheritdoc cref="
IAdditionOperators
{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
262
static 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)" />
275
static uint
IAdditionOperators
<uint, uint, uint>.operator +(uint left, uint right) => left + right;
277
/// <inheritdoc cref="
IAdditionOperators
{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
278
static 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)" />
274
static ulong
IAdditionOperators
<ulong, ulong, ulong>.operator +(ulong left, ulong right) => left + right;
276
/// <inheritdoc cref="
IAdditionOperators
{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
277
static 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)" />
278
static 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
<,,>))]