projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[bcl] Remove more NET_2_0 checks from class libs
[mono.git]
/
mcs
/
class
/
corlib
/
Test
/
System
/
ConvertTest.cs
diff --git
a/mcs/class/corlib/Test/System/ConvertTest.cs
b/mcs/class/corlib/Test/System/ConvertTest.cs
index 8aee8a9cc657db1a0dc9cdd3bdeb26f77da10970..feb4cf69e567d733d1cbfaf096949a2088bb3033 100644
(file)
--- a/
mcs/class/corlib/Test/System/ConvertTest.cs
+++ b/
mcs/class/corlib/Test/System/ConvertTest.cs
@@
-786,11
+786,7
@@
namespace MonoTests.System {
Assert.Fail ();
}
catch (Exception e) {
-#if NET_2_0
Assert.AreEqual (typeof(FormatException), e.GetType(), "#G28");
-#else
- Assert.AreEqual (typeof(ArgumentOutOfRangeException), e.GetType(), "#G28");
-#endif
}
try {