http://bugzilla.novell.com/show_bug.cgi?id=566511

http://bugzilla.novell.com/show_bug.cgi?id=566511#c1


--- Comment #1 from Marek Safar <[email protected]> 2009-12-21 21:10:50 UTC ---
using System;

using System.Linq.Expressions;



namespace FieldInfoBug

{

    public class MonoRuntime

    {

        public static void Main ()

        {

            // This constructor throws ArgumentException: 

            // The field handle and the type handle are incompatible.

            new GenericClass<object>("value");

        }

    }



    public class GenericClass<T>

    {

        public GenericClass(string argument)

        {

            Expression<Func<string>> expression = () => argument;

        }

    }

}

-- 
Configure bugmail: http://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