Author: martin
Date: 2005-08-02 12:33:16 -0400 (Tue, 02 Aug 2005)
New Revision: 47921

Modified:
   trunk/mcs/gmcs/ChangeLog
   trunk/mcs/gmcs/ecore.cs
Log:
Reverting Carlos's latest changes - please test your stuff before
committing.


Modified: trunk/mcs/gmcs/ChangeLog
===================================================================
--- trunk/mcs/gmcs/ChangeLog    2005-08-02 16:26:27 UTC (rev 47920)
+++ trunk/mcs/gmcs/ChangeLog    2005-08-02 16:33:16 UTC (rev 47921)
@@ -1,11 +1,3 @@
-2005-07-27  Carlos Alberto Cortez <[EMAIL PROTECTED]>
-
-       Fix #75417
-       * ecore.cs (Expression.IsAccessorAccessible): Change the check for
-       Private accessor case, using TypeManager.IsPrivateAccessible instead of
-       invocation_type == mi.DeclaringType, since the first one also checks
-       other condition used by generic instances.
-       
 2005-07-27  Martin Baulig  <[EMAIL PROTECTED]>
 
        * anonymous.cs (CaptureContext.AddField): Added

Modified: trunk/mcs/gmcs/ecore.cs
===================================================================
--- trunk/mcs/gmcs/ecore.cs     2005-08-02 16:26:27 UTC (rev 47920)
+++ trunk/mcs/gmcs/ecore.cs     2005-08-02 16:33:16 UTC (rev 47921)
@@ -191,7 +191,7 @@
                        // If only accessible to the current class or children
                        //
                        if (ma == MethodAttributes.Private)
-                               return TypeManager.IsPrivateAccessible 
(invocation_type, mi.DeclaringType) ||
+                               return invocation_type == mi.DeclaringType ||
                                        TypeManager.IsNestedChildOf 
(invocation_type, mi.DeclaringType);
 
                        if (mi.DeclaringType.Assembly == 
invocation_type.Assembly) {

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

Reply via email to