Author: martin
Date: 2005-03-17 07:56:45 -0500 (Thu, 17 Mar 2005)
New Revision: 41946

Modified:
   trunk/mcs/gmcs/ChangeLog
   trunk/mcs/gmcs/anonymous.cs
Log:
2005-03-17  Martin Baulig  <[EMAIL PROTECTED]>

        * anonymous.cs (AnonymousMethod.method_modifiers): Change default
        from `Modifiers.INTERNAL' to `Modifiers.PRIVATE'.  Fixes #73260.



Modified: trunk/mcs/gmcs/ChangeLog
===================================================================
--- trunk/mcs/gmcs/ChangeLog    2005-03-17 12:55:59 UTC (rev 41945)
+++ trunk/mcs/gmcs/ChangeLog    2005-03-17 12:56:45 UTC (rev 41946)
@@ -1,5 +1,10 @@
 2005-03-17  Martin Baulig  <[EMAIL PROTECTED]>
 
+       * anonymous.cs (AnonymousMethod.method_modifiers): Change default
+       from `Modifiers.INTERNAL' to `Modifiers.PRIVATE'.  Fixes #73260.
+
+2005-03-17  Martin Baulig  <[EMAIL PROTECTED]>
+
        * anonymous.cs (AnonymousMethod.EmitMethod): Changed return type
        to bool so we can return an error condition.
        (AnonymousDelegate.Emit): Check whether AnonymousMethod.EmitMethod()

Modified: trunk/mcs/gmcs/anonymous.cs
===================================================================
--- trunk/mcs/gmcs/anonymous.cs 2005-03-17 12:55:59 UTC (rev 41945)
+++ trunk/mcs/gmcs/anonymous.cs 2005-03-17 12:56:45 UTC (rev 41946)
@@ -52,7 +52,7 @@
                //
                // The modifiers applied to the method, we aggregate them
                //
-               int method_modifiers = Modifiers.INTERNAL;
+               int method_modifiers = Modifiers.PRIVATE;
                
                //
                // During the resolve stage of the anonymous method body,

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to