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