2002-08-01 Miguel de Icaza <miguel@ximian.com>
authorMiguel de Icaza <miguel@gnome.org>
Thu, 1 Aug 2002 23:50:10 +0000 (23:50 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Thu, 1 Aug 2002 23:50:10 +0000 (23:50 -0000)
* rootcontext.cs (ResolveCore): Also include System.Exception

svn path=/trunk/mcs/; revision=6344

mcs/mcs/ChangeLog
mcs/mcs/class.cs
mcs/mcs/rootcontext.cs

index 00cceed479137417f47c07b0386658771d8dac9c..9fc30aec19c3b614c2a2dab49eb036a8cba79179 100755 (executable)
@@ -1,5 +1,7 @@
 2002-08-01  Miguel de Icaza  <miguel@ximian.com>
 
+       * rootcontext.cs (ResolveCore): Also include System.Exception
+
        * statement.cs (Block.Emit): Do not emit the dead-code warnings if
        we reach an EmptyStatement.
 
index c9c5220df9f00b68ca4b57accce90f99238e7cd0..af219faf6120a45d86304364004d201012f9f053 100755 (executable)
@@ -729,7 +729,7 @@ namespace Mono.CSharp {
                                return null;
                        
                        InTransit = true;
-                       
+
                        if (this is Class)
                                is_class = true;
                        else
index dbc251e47533d02a06ae0c076dfee11f4ed87c2d..9de9670cf926bc4198463bb0d70c6c8ec406c931 100755 (executable)
@@ -334,6 +334,7 @@ namespace Mono.CSharp {
                        string [] classes_second_stage = {
                                "System.Reflection.MemberInfo",
                                "System.Type",
+                               "System.Exception",
 
                                //
                                // These are not really important in the order, but they