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

User [email protected] added comment
https://bugzilla.novell.com/show_bug.cgi?id=471255#c2


Gert Driesen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]




--- Comment #2 from Gert Driesen <[email protected]>  2009-02-01 11:24:56 
MST ---
Nope, the problem here is related to the fact that you're invoke Type.GetType
using reflection.

I can reproduce it using the following code snippet:

using System;
using System.Globalization;
using System.Reflection;

class Program
{
    static void Main ()
    {
        Type t = typeof (Type);
        MethodInfo m = t.GetMethod ("GetType", 
            BindingFlags.Public | BindingFlags.Static,
            null, new Type [] { typeof (string) }, null);
        object r = m.Invoke (null, BindingFlags.Default, null,
            new object [] { "Program" }, CultureInfo.InvariantCulture);
        Console.WriteLine ("NULL? " + (r == null));
    }
}

-- 
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