src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (4)
255/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
256static byte IAdditionOperators<byte, byte, byte>.operator +(byte left, byte right) => (byte)(left + right);
258/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_CheckedAddition(TSelf, TOther)" />
259static byte IAdditionOperators<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)
1212/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
1213static char IAdditionOperators<char, char, char>.operator +(char left, char right) => (char) (left + right);
1215/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
1216static char IAdditionOperators<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)
258/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
259static short IAdditionOperators<short, short, short>.operator +(short left, short right) => (short)(left + right);
261/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
262static short IAdditionOperators<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)
273/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
274static int IAdditionOperators<int, int, int>.operator +(int left, int right) => left + right;
276/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
277static int IAdditionOperators<int, int, int>.operator checked +(int left, int right) => checked(left + right);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (4)
270/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
271static long IAdditionOperators<long, long, long>.operator +(long left, long right) => left + right;
273/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
274static long IAdditionOperators<long, long, long>.operator checked +(long left, long right) => checked(left + right);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (4)
303/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
304static nint IAdditionOperators<nint, nint, nint>.operator +(nint left, nint right) => left + right;
306/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
307static nint IAdditionOperators<nint, nint, nint>.operator checked +(nint left, nint right) => checked(left + right);
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (4)
261/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
262static sbyte IAdditionOperators<sbyte, sbyte, sbyte>.operator +(sbyte left, sbyte right) => (sbyte)(left + right);
264/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
265static sbyte IAdditionOperators<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)
252/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
253static ushort IAdditionOperators<ushort, ushort, ushort>.operator +(ushort left, ushort right) => (ushort)(left + right);
255/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
256static ushort IAdditionOperators<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)
268/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
269static uint IAdditionOperators<uint, uint, uint>.operator +(uint left, uint right) => left + right;
271/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
272static uint IAdditionOperators<uint, uint, uint>.operator checked +(uint left, uint right) => checked(left + right);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (4)
267/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
268static ulong IAdditionOperators<ulong, ulong, ulong>.operator +(ulong left, ulong right) => left + right;
270/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
271static ulong IAdditionOperators<ulong, ulong, ulong>.operator checked +(ulong left, ulong right) => checked(left + right);
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (4)
299/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
300static nuint IAdditionOperators<nuint, nuint, nuint>.operator +(nuint left, nuint right) => left + right;
302/// <inheritdoc cref="IAdditionOperators{TSelf, TOther, TResult}.op_Addition(TSelf, TOther)" />
303static nuint IAdditionOperators<nuint, nuint, nuint>.operator checked +(nuint left, nuint right) => checked(left + right);