#else
Assert.Fail ("ArgumentException is expected: char[]");
#endif
- } catch (ArgumentException ae) {
-#if NET_2_0
- throw ae;
-#endif
+ } catch (ArgumentException) {
}
string s = "\uD800";
#else
Assert.Fail ("ArgumentException is expected: string");
#endif
- } catch (ArgumentException ae) {
-#if NET_2_0
- throw ae;
-#endif
+ } catch (ArgumentException) {
}
}