From 2e6266606aea67b027a046c609ff93ec2a0aabd4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gerardo=20Garc=C3=ADa=20Pe=C3=B1a?= Date: Thu, 11 Jul 2013 23:52:35 +0200 Subject: [PATCH] Reverted changes of commit 6ad7f75a3777652a535ef4356e6d193eed4ed612 --- mcs/class/corlib/Test/System.Text/UTF8EncodingTest.cs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/mcs/class/corlib/Test/System.Text/UTF8EncodingTest.cs b/mcs/class/corlib/Test/System.Text/UTF8EncodingTest.cs index 06720ba5165..2601f066cfc 100644 --- a/mcs/class/corlib/Test/System.Text/UTF8EncodingTest.cs +++ b/mcs/class/corlib/Test/System.Text/UTF8EncodingTest.cs @@ -1082,10 +1082,7 @@ namespace MonoTests.System.Text #else Assert.Fail ("ArgumentException is expected: char[]"); #endif - } catch (ArgumentException ae) { -#if NET_2_0 - throw ae; -#endif + } catch (ArgumentException) { } string s = "\uD800"; @@ -1096,10 +1093,7 @@ namespace MonoTests.System.Text #else Assert.Fail ("ArgumentException is expected: string"); #endif - } catch (ArgumentException ae) { -#if NET_2_0 - throw ae; -#endif + } catch (ArgumentException) { } } -- 2.25.1