2008-09-18 Miguel de Icaza <miguel@novell.com>
authorMiguel de Icaza <miguel@gnome.org>
Thu, 18 Sep 2008 05:14:43 +0000 (05:14 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Thu, 18 Sep 2008 05:14:43 +0000 (05:14 -0000)
* eval.cs: Remove warning, keep reference to driver around.

* Hide fields that do not need to be public.

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

mcs/mcs/ChangeLog
mcs/mcs/eval.cs

index c25b1b27047490980be5b493a3a95df7bdbd1363..7d1a66ac06803ae18d8a20fc84ed4916b9315bdb 100644 (file)
@@ -1,3 +1,9 @@
+2008-09-18  Miguel de Icaza  <miguel@novell.com>
+
+       * eval.cs: Remove warning, keep reference to driver around.
+
+       * Hide fields that do not need to be public.
+
 2008-09-17  Marek Safar  <marek.safar@gmail.com>
 
        A fix for bug #426385
index 8e3daf131b97f9687ab94de13ddf11a78127ed32..59e79d1f222f92763010ebe00c56c1d438c61ee1 100644 (file)
@@ -40,9 +40,9 @@ namespace Mono.CSharp {
                static int count;
                static Thread invoke_thread;
                
-               static public ArrayList using_alias_list = new ArrayList ();
-               static public ArrayList using_list = new ArrayList ();
-               static public Hashtable fields = new Hashtable ();
+               static ArrayList using_alias_list = new ArrayList ();
+               static ArrayList using_list = new ArrayList ();
+               static Hashtable fields = new Hashtable ();
 
                static Type   interactive_base_class = typeof (InteractiveBase);
                static Driver driver;
@@ -67,7 +67,7 @@ namespace Mono.CSharp {
                                return;
 
                        RootContext.Version = LanguageVersion.Default;
-                       Driver driver = Driver.Create (args, false);
+                       driver = Driver.Create (args, false);
                        if (driver == null)
                                throw new Exception ("Failed to create compiler driver with the given arguments");