* anonymous.cs: If the anon method is pulled into a helper class,
it needs to be `internal' not `private'. Fixes runtime behavior on
msft. bug #75704
svn path=/trunk/mcs/; revision=48702
+2005-08-22 Ben Maurer <bmaurer@ximian.com>
+
+ * anonymous.cs: If the anon method is pulled into a helper class,
+ it needs to be `internal' not `private'. Fixes runtime behavior on
+ msft. bug #75704
+
2005-08-20 Martin Baulig <martin@ximian.com>
* anonymous.cs (CaptureContext.CaptureThis): Create the topmost
if (type_host == null)
throw new Exception (String.Format ("Type host is null, Scope is {0}", Scope == null ? "null" : "Not null"));
+
+ if (current_type != type_host)
+ method_modifiers = Modifiers.INTERNAL;
if (current_type == type_host && ec.IsStatic){
if (ec.IsStatic){