Skip to content

GetType, Equals, GetHashCode on interfaces #30

@GoogleCodeExporter

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions