https://bugzilla.novell.com/show_bug.cgi?id=425345

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=425345#c4


Robert Jordan <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |[EMAIL 
PROTECTED]




--- Comment #4 from Robert Jordan <[EMAIL PROTECTED]>  2008-09-11 07:05:49 MDT 
---
A better test case:

using System;

class Test
{
        static void Main ()
        {
                AppDomain domain = AppDomain.CreateDomain ("foo");
                domain.DoCallBack (Public);
                domain.DoCallBack (NonPublic);
                domain.DoCallBack (delegate { Console.WriteLine ("Anonymous");
});
        }

        public static void Public ()
        {
                Console.WriteLine ("Public");
        }

        static void NonPublic ()
        {
                Console.WriteLine ("Private");
        }
}


MS.NET 2.0 allows serialization of delegates of non public methods,
whereas Mono is blocking them like MS.NET 1.1 with a SerializationException.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to