src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (4)
1141/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
1142static byte ISubtractionOperators<byte, byte, byte>.operator -(byte left, byte right) => (byte)(left - right);
1144/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
1145static 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)
1995/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
1996static char ISubtractionOperators<char, char, char>.operator -(char left, char right) => (char)(left - right);
1998/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
1999static char ISubtractionOperators<char, char, char>.operator checked -(char left, char right) => checked((char)(left - right));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (4)
1338/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
1339static short ISubtractionOperators<short, short, short>.operator -(short left, short right) => (short)(left - right);
1341/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
1342static 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)
1405/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
1406static int ISubtractionOperators<int, int, int>.operator -(int left, int right) => left - right;
1408/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
1409static 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)
1408/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
1409static long ISubtractionOperators<long, long, long>.operator -(long left, long right) => left - right;
1411/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
1412static 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)
1398/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
1399static nint ISubtractionOperators<nint, nint, nint>.operator -(nint left, nint right) => left - right;
1401/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
1402static nint ISubtractionOperators<nint, nint, nint>.operator checked -(nint left, nint right) => checked(left - right);
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (4)
1317/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
1318static sbyte ISubtractionOperators<sbyte, sbyte, sbyte>.operator -(sbyte left, sbyte right) => (sbyte)(left - right);
1320/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
1321static sbyte ISubtractionOperators<sbyte, sbyte, sbyte>.operator checked -(sbyte left, sbyte right) => checked((sbyte)(left - right));
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (4)
1146/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
1147static ushort ISubtractionOperators<ushort, ushort, ushort>.operator -(ushort left, ushort right) => (ushort)(left - right);
1149/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
1150static 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)
1217/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
1218static uint ISubtractionOperators<uint, uint, uint>.operator -(uint left, uint right) => left - right;
1220/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
1221static 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)
1218/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
1219static ulong ISubtractionOperators<ulong, ulong, ulong>.operator -(ulong left, ulong right) => left - right;
1221/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
1222static 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)
1190/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_Subtraction(TSelf, TOther)" />
1191static nuint ISubtractionOperators<nuint, nuint, nuint>.operator -(nuint left, nuint right) => left - right;
1193/// <inheritdoc cref="ISubtractionOperators{TSelf, TOther, TResult}.op_CheckedSubtraction(TSelf, TOther)" />
1194static nuint ISubtractionOperators<nuint, nuint, nuint>.operator checked -(nuint left, nuint right) => checked(left - right);