To call one of these methods I need to cast my object to typeof(object).
Example:
Operand l=g.Local(typeof(IList),Exp.New(typeof(List<int>())));
g.If(l.Invoke("GetType")==typeof(List<int>));
{
...
}
g.End();
But works only:
g.If(l.Cast(typeof(object)).Invoke("GetType")==typeof(List<int>));
Original issue reported on code.google.com by vlad....@gmail.com on 19 Jan 2013 at 8:02
Original issue reported on code.google.com by
vlad....@gmail.com
on 19 Jan 2013 at 8:02