2 interfaces inheriting from ISubtractionOperators
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Numerics\INumberBase.cs (1)
27
ISubtractionOperators
<TSelf, TSelf, TSelf>,
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\ISimdVector_2.cs (1)
29
ISubtractionOperators
<TSelf, TSelf, TSelf>,
67 references to ISubtractionOperators
System.Numerics.Tensors (14)
System\Numerics\Tensors\netcore\Tensor.cs (6)
5328
where T :
ISubtractionOperators
<T, T, T>
5341
where T :
ISubtractionOperators
<T, T, T>
5354
where T :
ISubtractionOperators
<T, T, T>
5368
where T :
ISubtractionOperators
<T, T, T>
5382
where T :
ISubtractionOperators
<T, T, T>
5396
where T :
ISubtractionOperators
<T, T, T>
System\Numerics\Tensors\netcore\TensorOperation.cs (2)
1950
where T :
ISubtractionOperators
<T, T, T>
2001
where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T>, IMultiplyOperators<T, T, T>,
ISubtractionOperators
<T, T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Distance.cs (1)
46
internal readonly struct SubtractSquaredOperator<T> : IBinaryOperator<T> where T :
ISubtractionOperators
<T, T, T>, IMultiplyOperators<T, T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Product.cs (1)
54
where T :
ISubtractionOperators
<T, T, T>, IMultiplyOperators<T, T, T>, IMultiplicativeIdentity<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Subtract.cs (4)
27
where T :
ISubtractionOperators
<T, T, T> =>
45
where T :
ISubtractionOperators
<T, T, T> =>
63
where T :
ISubtractionOperators
<T, T, T> =>
67
internal readonly struct SubtractOperator<T> : IBinaryOperator<T> where T :
ISubtractionOperators
<T, T, T>
System.Private.CoreLib (52)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (4)
1140
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
1141
static byte
ISubtractionOperators
<byte, byte, byte>.operator -(byte left, byte right) => (byte)(left - right);
1143
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
1144
static byte
ISubtractionOperators
<byte, byte, byte>.operator checked -(byte left, byte right) => checked((byte)(left - right));
src\libraries\System.Private.CoreLib\src\System\Char.cs (4)
1956
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
1957
static char
ISubtractionOperators
<char, char, char>.operator -(char left, char right) => (char)(left - right);
1959
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
1960
static char
ISubtractionOperators
<char, char, char>.operator checked -(char left, char right) => checked((char)(left - right));
src\libraries\System.Private.CoreLib\src\System\Double.cs (2)
1792
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
1793
static double
ISubtractionOperators
<double, double, double>.operator -(double left, double right) => left - right;
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
2210
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
src\libraries\System.Private.CoreLib\src\System\Int128.cs (2)
2062
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
2075
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
src\libraries\System.Private.CoreLib\src\System\Int16.cs (4)
1344
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
1345
static short
ISubtractionOperators
<short, short, short>.operator -(short left, short right) => (short)(left - right);
1347
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
1348
static short
ISubtractionOperators
<short, short, short>.operator checked -(short left, short right) => checked((short)(left - right));
src\libraries\System.Private.CoreLib\src\System\Int32.cs (4)
1386
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
1387
static int
ISubtractionOperators
<int, int, int>.operator -(int left, int right) => left - right;
1389
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
1390
static int
ISubtractionOperators
<int, int, int>.operator checked -(int left, int right) => checked(left - right);
src\libraries\System.Private.CoreLib\src\System\Int64.cs (4)
1389
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
1390
static long
ISubtractionOperators
<long, long, long>.operator -(long left, long right) => left - right;
1392
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
1393
static long
ISubtractionOperators
<long, long, long>.operator checked -(long left, long right) => checked(left - right);
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (3)
1361
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
1362
static nint
ISubtractionOperators
<nint, nint, nint>.operator -(nint left, nint right) => left - right;
1364
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
src\libraries\System.Private.CoreLib\src\System\Numerics\ISubtractionOperators.cs (1)
11
where TSelf :
ISubtractionOperators
<TSelf, TOther, TResult>?
src\libraries\System.Private.CoreLib\src\System\SByte.cs (4)
1307
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
1308
static sbyte
ISubtractionOperators
<sbyte, sbyte, sbyte>.operator -(sbyte left, sbyte right) => (sbyte)(left - right);
1310
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
1311
static sbyte
ISubtractionOperators
<sbyte, sbyte, sbyte>.operator checked -(sbyte left, sbyte right) => checked((sbyte)(left - right));
src\libraries\System.Private.CoreLib\src\System\Single.cs (2)
1708
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
1709
static float
ISubtractionOperators
<float, float, float>.operator -(float left, float right) => left - right;
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (2)
2091
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
2104
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (4)
1159
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
1160
static ushort
ISubtractionOperators
<ushort, ushort, ushort>.operator -(ushort left, ushort right) => (ushort)(left - right);
1162
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
1163
static ushort
ISubtractionOperators
<ushort, ushort, ushort>.operator checked -(ushort left, ushort right) => checked((ushort)(left - right));
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (4)
1204
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
1205
static uint
ISubtractionOperators
<uint, uint, uint>.operator -(uint left, uint right) => left - right;
1207
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
1208
static uint
ISubtractionOperators
<uint, uint, uint>.operator checked -(uint left, uint right) => checked(left - right);
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (4)
1197
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
1198
static ulong
ISubtractionOperators
<ulong, ulong, ulong>.operator -(ulong left, ulong right) => left - right;
1200
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
1201
static ulong
ISubtractionOperators
<ulong, ulong, ulong>.operator checked -(ulong left, ulong right) => checked(left - right);
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (3)
1183
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
1184
static nuint
ISubtractionOperators
<nuint, nuint, nuint>.operator -(nuint left, nuint right) => left - right;
1186
/// <inheritdoc cref="
ISubtractionOperators
{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
398
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.
ISubtractionOperators
<,,>))]