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