Skip to content

GetType, Equals, GetHashCode on interfaces #30

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions