1 interface inheriting from IAdditiveIdentity
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\INumberBase.cs (1)
17
IAdditiveIdentity
<TSelf, TSelf>,
75 references to IAdditiveIdentity
System.Numerics.Tensors (23)
System\Numerics\Tensors\netcore\Tensor.cs (3)
3336
where T : IAdditionOperators<T, T, T>,
IAdditiveIdentity
<T, T>, IMultiplicativeIdentity<T, T>, IMultiplyOperators<T, T, T>
5022
where T : IAdditionOperators<T, T, T>,
IAdditiveIdentity
<T, T>
5037
where T : IAdditionOperators<T, T, T>,
IAdditiveIdentity
<T, T>, IMultiplyOperators<T, T, T>
System\Numerics\Tensors\netcore\Tensor.op_Addition.cs (7)
15
where T : IAdditionOperators<T, T, T>,
IAdditiveIdentity
<T, T>
28
where T : IAdditionOperators<T, T, T>,
IAdditiveIdentity
<T, T>
43
where T : IAdditionOperators<T, T, T>,
IAdditiveIdentity
<T, T>
58
where T : IAdditionOperators<T, T, T>,
IAdditiveIdentity
<T, T>
67
where TScalar : IAdditionOperators<TScalar, TScalar, TScalar>,
IAdditiveIdentity
<TScalar, TScalar>
91
where TScalar : IAdditionOperators<TScalar, TScalar, TScalar>,
IAdditiveIdentity
<TScalar, TScalar>
112
where TScalar : IAdditionOperators<TScalar, TScalar, TScalar>,
IAdditiveIdentity
<TScalar, TScalar>
System\Numerics\Tensors\netcore\TensorOperation.cs (6)
579
where T : IAdditionOperators<T, T, T>,
IAdditiveIdentity
<T, T>
1041
where T : IAdditionOperators<T, T, T>,
IAdditiveIdentity
<T, T>, IMultiplicativeIdentity<T, T>, IMultiplyOperators<T, T, T>
2082
where T : IAdditionOperators<T, T, T>,
IAdditiveIdentity
<T, T>
2098
where T : IAdditionOperators<T, T, T>,
IAdditiveIdentity
<T, T>, IMultiplyOperators<T, T, T>, ISubtractionOperators<T, T, T>
2128
where T : IAdditionOperators<T, T, T>,
IAdditiveIdentity
<T, T>, IMultiplyOperators<T, T, T>, ISubtractionOperators<T, T, T>, INumberBase<T>
2149
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>
52
where T : IAdditionOperators<T, T, T>,
IAdditiveIdentity
<T, T>
63
internal readonly struct AddOperator<T> : IAggregationOperator<T> where T : IAdditionOperators<T, T, T>,
IAdditiveIdentity
<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.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 (45)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (2)
265
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
266
static byte
IAdditiveIdentity
<byte, byte>.AdditiveIdentity => AdditiveIdentity;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (2)
1222
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
1223
static char
IAdditiveIdentity
<char, char>.AdditiveIdentity => (char)0;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (2)
1108
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
1109
static decimal
IAdditiveIdentity
<decimal, decimal>.AdditiveIdentity => AdditiveIdentity;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (2)
536
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
537
static double
IAdditiveIdentity
<double, double>.AdditiveIdentity => AdditiveIdentity;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (2)
1227
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
1228
static Half
IAdditiveIdentity
<Half, Half>.AdditiveIdentity => new Half(PositiveZeroBits);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (2)
694
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
695
static Int128
IAdditiveIdentity
<Int128, Int128>.AdditiveIdentity => default;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (2)
268
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
269
static short
IAdditiveIdentity
<short, short>.AdditiveIdentity => AdditiveIdentity;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (2)
283
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
284
static int
IAdditiveIdentity
<int, int>.AdditiveIdentity => AdditiveIdentity;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (2)
280
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
281
static long
IAdditiveIdentity
<long, long>.AdditiveIdentity => AdditiveIdentity;
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (2)
313
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
314
static nint
IAdditiveIdentity
<nint, nint>.AdditiveIdentity => 0;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (2)
858
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
859
static BFloat16
IAdditiveIdentity
<BFloat16, BFloat16>.AdditiveIdentity => new BFloat16(PositiveZeroBits);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal128.cs (2)
1297
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
1298
static Decimal128
IAdditiveIdentity
<Decimal128, Decimal128>.AdditiveIdentity => Zero;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal32.cs (2)
1308
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
1309
static Decimal32
IAdditiveIdentity
<Decimal32, Decimal32>.AdditiveIdentity => Zero;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal64.cs (2)
1301
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
1302
static Decimal64
IAdditiveIdentity
<Decimal64, Decimal64>.AdditiveIdentity => Zero;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IAdditiveIdentity.cs (1)
10
where TSelf :
IAdditiveIdentity
<TSelf, TResult>?
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (2)
868
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
869
static NFloat
IAdditiveIdentity
<NFloat, NFloat>.AdditiveIdentity => new NFloat(NativeType.AdditiveIdentity);
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (2)
271
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
272
static sbyte
IAdditiveIdentity
<sbyte, sbyte>.AdditiveIdentity => AdditiveIdentity;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (2)
529
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
530
static float
IAdditiveIdentity
<float, float>.AdditiveIdentity => AdditiveIdentity;
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (2)
765
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
766
static UInt128
IAdditiveIdentity
<UInt128, UInt128>.AdditiveIdentity => default;
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (2)
262
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
263
static ushort
IAdditiveIdentity
<ushort, ushort>.AdditiveIdentity => AdditiveIdentity;
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (2)
278
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
279
static uint
IAdditiveIdentity
<uint, uint>.AdditiveIdentity => AdditiveIdentity;
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (2)
277
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
278
static ulong
IAdditiveIdentity
<ulong, ulong>.AdditiveIdentity => AdditiveIdentity;
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (2)
309
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
310
static nuint
IAdditiveIdentity
<nuint, nuint>.AdditiveIdentity => 0;
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
383
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.
IAdditiveIdentity
<,>))]
System.Runtime.Numerics (6)
System\Numerics\BigInteger.cs (2)
3328
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
3329
static BigInteger
IAdditiveIdentity
<BigInteger, BigInteger>.AdditiveIdentity => Zero;
System\Numerics\Complex.cs (2)
485
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
486
static Complex
IAdditiveIdentity
<Complex, Complex>.AdditiveIdentity => new(0.0, 0.0);
System\Numerics\Complex.Generic.cs (2)
1153
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
1154
static Complex<T>
IAdditiveIdentity
<Complex<T>, Complex<T>>.AdditiveIdentity => Zero;