2 interfaces inheriting from ISubtractionOperators
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\INumberBase.cs (1)
27ISubtractionOperators<TSelf, TSelf, TSelf>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\ISimdVector_2.cs (1)
29ISubtractionOperators<TSelf, TSelf, TSelf>,
74 references to ISubtractionOperators
System.Numerics.Tensors (18)
System\Numerics\Tensors\netcore\Tensor.op_Subtraction.cs (9)
15where T : ISubtractionOperators<T, T, T> 28where T : ISubtractionOperators<T, T, T> 41where T : ISubtractionOperators<T, T, T> 56where T : ISubtractionOperators<T, T, T> 71where T : ISubtractionOperators<T, T, T> 86where T : ISubtractionOperators<T, T, T> 95where TScalar : ISubtractionOperators<TScalar, TScalar, TScalar> 119where TScalar : ISubtractionOperators<TScalar, TScalar, TScalar> 140where TScalar : ISubtractionOperators<TScalar, TScalar, TScalar>
System\Numerics\Tensors\netcore\TensorOperation.cs (3)
2047where T : ISubtractionOperators<T, T, T> 2098where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T>, IMultiplyOperators<T, T, T>, ISubtractionOperators<T, T, T> 2128where T : IAdditionOperators<T, T, T>, IAdditiveIdentity<T, T>, IMultiplyOperators<T, T, T>, ISubtractionOperators<T, T, T>, INumberBase<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Distance.cs (1)
46internal readonly struct SubtractSquaredOperator<T> : IBinaryOperator<T> where T : ISubtractionOperators<T, T, T>, IMultiplyOperators<T, T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Product.cs (1)
54where T : ISubtractionOperators<T, T, T>, IMultiplyOperators<T, T, T>, IMultiplicativeIdentity<T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Subtract.cs (4)
27where T : ISubtractionOperators<T, T, T> 52where T : ISubtractionOperators<T, T, T> 77where T : ISubtractionOperators<T, T, T> 88internal readonly struct SubtractOperator<T> : IBinaryOperator<T> where T : ISubtractionOperators<T, T, T>
System.Private.CoreLib (55)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (4)
1156/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" /> 1157static byte ISubtractionOperators<byte, byte, byte>.operator -(byte left, byte right) => (byte)(left - right); 1159/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" /> 1160static byte ISubtractionOperators<byte, byte, byte>.operator checked -(byte left, byte right) => checked((byte)(left - right));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (4)
2049/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" /> 2050static char ISubtractionOperators<char, char, char>.operator -(char left, char right) => (char)(left - right); 2052/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" /> 2053static char ISubtractionOperators<char, char, char>.operator checked -(char left, char right) => checked((char)(left - right));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (2)
1845/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" /> 1846static double ISubtractionOperators<double, double, double>.operator -(double left, double right) => left - right;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
2294/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (2)
2063/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" /> 2076/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (4)
1362/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" /> 1363static short ISubtractionOperators<short, short, short>.operator -(short left, short right) => (short)(left - right); 1365/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" /> 1366static short ISubtractionOperators<short, short, short>.operator checked -(short left, short right) => checked((short)(left - right));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (4)
1413/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" /> 1414static int ISubtractionOperators<int, int, int>.operator -(int left, int right) => left - right; 1416/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" /> 1417static int ISubtractionOperators<int, int, int>.operator checked -(int left, int right) => checked(left - right);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (4)
1416/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" /> 1417static long ISubtractionOperators<long, long, long>.operator -(long left, long right) => left - right; 1419/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" /> 1420static long ISubtractionOperators<long, long, long>.operator checked -(long left, long right) => checked(left - right);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (4)
1419/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" /> 1420static nint ISubtractionOperators<nint, nint, nint>.operator -(nint left, nint right) => left - right; 1422/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" /> 1423static nint ISubtractionOperators<nint, nint, nint>.operator checked -(nint left, nint right) => checked(left - right);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
2016/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\ISubtractionOperators.cs (1)
11where TSelf : ISubtractionOperators<TSelf, TOther, TResult>?
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (4)
1341/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" /> 1342static sbyte ISubtractionOperators<sbyte, sbyte, sbyte>.operator -(sbyte left, sbyte right) => (sbyte)(left - right); 1344/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" /> 1345static sbyte ISubtractionOperators<sbyte, sbyte, sbyte>.operator checked -(sbyte left, sbyte right) => checked((sbyte)(left - right));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (2)
1761/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" /> 1762static float ISubtractionOperators<float, float, float>.operator -(float left, float right) => left - right;
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (2)
2145/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" /> 2158/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (4)
1161/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" /> 1162static ushort ISubtractionOperators<ushort, ushort, ushort>.operator -(ushort left, ushort right) => (ushort)(left - right); 1164/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" /> 1165static ushort ISubtractionOperators<ushort, ushort, ushort>.operator checked -(ushort left, ushort right) => checked((ushort)(left - right));
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (4)
1232/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" /> 1233static uint ISubtractionOperators<uint, uint, uint>.operator -(uint left, uint right) => left - right; 1235/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" /> 1236static uint ISubtractionOperators<uint, uint, uint>.operator checked -(uint left, uint right) => checked(left - right);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (4)
1233/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" /> 1234static ulong ISubtractionOperators<ulong, ulong, ulong>.operator -(ulong left, ulong right) => left - right; 1236/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" /> 1237static ulong ISubtractionOperators<ulong, ulong, ulong>.operator checked -(ulong left, ulong right) => checked(left - right);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (4)
1218/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" /> 1219static nuint ISubtractionOperators<nuint, nuint, nuint>.operator -(nuint left, nuint right) => left - right; 1221/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" /> 1222static nuint ISubtractionOperators<nuint, nuint, nuint>.operator checked -(nuint left, nuint right) => checked(left - right);
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
410[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.ISubtractionOperators<,,>))]