1 interface inheriting from IAdditiveIdentity
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Numerics\INumberBase.cs (1)
17
IAdditiveIdentity
<TSelf, TSelf>,
61 references to IAdditiveIdentity
System.Numerics.Tensors (19)
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.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 (37)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (2)
271
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
272
static byte
IAdditiveIdentity
<byte, byte>.AdditiveIdentity => AdditiveIdentity;
src\libraries\System.Private.CoreLib\src\System\Char.cs (2)
1155
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
1156
static char
IAdditiveIdentity
<char, char>.AdditiveIdentity => (char)0;
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (2)
1113
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
1114
static decimal
IAdditiveIdentity
<decimal, decimal>.AdditiveIdentity => AdditiveIdentity;
src\libraries\System.Private.CoreLib\src\System\Double.cs (2)
538
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
539
static double
IAdditiveIdentity
<double, double>.AdditiveIdentity => AdditiveIdentity;
src\libraries\System.Private.CoreLib\src\System\Half.cs (2)
1197
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
1198
static Half
IAdditiveIdentity
<Half, Half>.AdditiveIdentity => new Half(PositiveZeroBits);
src\libraries\System.Private.CoreLib\src\System\Int128.cs (2)
704
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
705
static Int128
IAdditiveIdentity
<Int128, Int128>.AdditiveIdentity => default;
src\libraries\System.Private.CoreLib\src\System\Int16.cs (2)
274
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
275
static short
IAdditiveIdentity
<short, short>.AdditiveIdentity => AdditiveIdentity;
src\libraries\System.Private.CoreLib\src\System\Int32.cs (2)
289
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
290
static int
IAdditiveIdentity
<int, int>.AdditiveIdentity => AdditiveIdentity;
src\libraries\System.Private.CoreLib\src\System\Int64.cs (2)
286
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
287
static long
IAdditiveIdentity
<long, long>.AdditiveIdentity => AdditiveIdentity;
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (2)
291
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
292
static nint
IAdditiveIdentity
<nint, nint>.AdditiveIdentity => 0;
src\libraries\System.Private.CoreLib\src\System\Numerics\IAdditiveIdentity.cs (1)
10
where TSelf :
IAdditiveIdentity
<TSelf, TResult>?
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (2)
869
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
870
static NFloat
IAdditiveIdentity
<NFloat, NFloat>.AdditiveIdentity => new NFloat(NativeType.AdditiveIdentity);
src\libraries\System.Private.CoreLib\src\System\SByte.cs (2)
277
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
278
static sbyte
IAdditiveIdentity
<sbyte, sbyte>.AdditiveIdentity => AdditiveIdentity;
src\libraries\System.Private.CoreLib\src\System\Single.cs (2)
533
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
534
static float
IAdditiveIdentity
<float, float>.AdditiveIdentity => AdditiveIdentity;
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (2)
771
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
772
static UInt128
IAdditiveIdentity
<UInt128, UInt128>.AdditiveIdentity => default;
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (2)
268
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
269
static ushort
IAdditiveIdentity
<ushort, ushort>.AdditiveIdentity => AdditiveIdentity;
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (2)
284
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
285
static uint
IAdditiveIdentity
<uint, uint>.AdditiveIdentity => AdditiveIdentity;
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (2)
283
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
284
static ulong
IAdditiveIdentity
<ulong, ulong>.AdditiveIdentity => AdditiveIdentity;
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (2)
287
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
288
static nuint
IAdditiveIdentity
<nuint, nuint>.AdditiveIdentity => 0;
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
372
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.
IAdditiveIdentity
<,>))]
System.Runtime.Numerics (4)
System\Numerics\BigInteger.cs (2)
3153
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
3154
static BigInteger
IAdditiveIdentity
<BigInteger, BigInteger>.AdditiveIdentity => Zero;
System\Numerics\Complex.cs (2)
900
/// <inheritdoc cref="
IAdditiveIdentity
{TSelf, TResult}.AdditiveIdentity" />
901
static Complex
IAdditiveIdentity
<Complex, Complex>.AdditiveIdentity => new Complex(0.0, 0.0);