Author: martin
Date: 2006-09-27 06:12:20 -0400 (Wed, 27 Sep 2006)
New Revision: 65956

Modified:
   branches/martin/anonymous-methods/mcs/decl.cs
Log:
Anonymous methods ...

Modified: branches/martin/anonymous-methods/mcs/decl.cs
===================================================================
--- branches/martin/anonymous-methods/mcs/decl.cs       2006-09-27 10:12:04 UTC 
(rev 65955)
+++ branches/martin/anonymous-methods/mcs/decl.cs       2006-09-27 10:12:20 UTC 
(rev 65956)
@@ -832,7 +832,7 @@
                public bool CheckAccessLevel (Type check_type)
                {
                        TypeBuilder tb;
-                       if ((this is GenericMethod) || (this is Iterator))
+                       if (this is GenericMethod)
                                tb = Parent.TypeBuilder;
                        else
                                tb = TypeBuilder;

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

Reply via email to