1713 {
1714 if (typeof(T) == typeof(byte))
1715 {
1716 return (byte)(object)left >= (byte)(object)right;
1717 }
1718 if (typeof(T) == typeof(sbyte))
1719 {
1720 return (sbyte)(object)left >= (sbyte)(object)right;
1721 }
1722 if (typeof(T) == typeof(ushort))
1723 {
1724 return (ushort)(object)left >= (ushort)(object)right;
1725 }
1726 if (typeof(T) == typeof(short))
1727 {
1728 return (short)(object)left >= (short)(object)right;
1729 }
1730 if (typeof(T) == typeof(uint))
1731 {
1732 return (uint)(object)left >= (uint)(object)right;
1733 }
1734 if (typeof(T) == typeof(int))
1735 {
1736 return (int)(object)left >= (int)(object)right;
1737 }
1738 if (typeof(T) == typeof(ulong))
1739 {
1740 return (ulong)(object)left >= (ulong)(object)right;
1741 }
1742 if (typeof(T) == typeof(long))
1743 {
1744 return (long)(object)left >= (long)(object)right;
1745 }
1746 if (typeof(T) == typeof(float))
1747 {
1748 return (float)(object)left >= (float)(object)right;
1749 }
1750 if (typeof(T) == typeof(double))
1751 {
1752 return (double)(object)left >= (double)(object)right;
1753 }
1754 if (typeof(T) == typeof(UIntPtr))
1755 {
1756 return (nuint)(
UIntPtr)(
object)left >= (nuint)(UIntPtr)(object)right;
1757 }
1758 if (typeof(T) == typeof(IntPtr))
1759 {
1760 return (nint)(
IntPtr)(
object)left >= (nint)(IntPtr)(object)right;
1761 }
1762 throw new NotSupportedException(SR.Arg_TypeNotSupported);
1763 }