From bde316736c49b0f917f43e8543b33d30c5806790 Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Mon, 18 Sep 2017 22:30:24 -0400 Subject: [PATCH] Address PR feedback --- src/mscorlib/shared/System/ParseNumbers.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/mscorlib/shared/System/ParseNumbers.cs b/src/mscorlib/shared/System/ParseNumbers.cs index b0fac36..f59bc32 100644 --- a/src/mscorlib/shared/System/ParseNumbers.cs +++ b/src/mscorlib/shared/System/ParseNumbers.cs @@ -651,16 +651,9 @@ namespace System return (int)result; } - [MethodImpl(MethodImplOptions.NoInlining)] private static void ThrowOverflowInt32Exception() => throw new OverflowException(SR.Overflow_Int32); - - [MethodImpl(MethodImplOptions.NoInlining)] private static void ThrowOverflowInt64Exception() => throw new OverflowException(SR.Overflow_Int64); - - [MethodImpl(MethodImplOptions.NoInlining)] private static void ThrowOverflowUInt32Exception() => throw new OverflowException(SR.Overflow_UInt32); - - [MethodImpl(MethodImplOptions.NoInlining)] private static void ThrowOverflowUInt64Exception() => throw new OverflowException(SR.Overflow_UInt64); [MethodImpl(MethodImplOptions.AggressiveInlining)] -- 2.7.4