I haven't looked recently (i.e. with .NET 4.0) but the last I heard
was the Refection API was not really up to date with generics and
you're probably better off getting all the relevant methods (with
GetMethods) and analysing them yourself :-(
I'll bet there is a way, but it will take too long to
I haven't looked recently (i.e. with .NET 4.0) but the last I heard
was the Refection API was not really up to date with generics and
you're probably better off getting all the relevant methods (with
GetMethods) and analysing them yourself :-(
On 7 January 2012 10:50, Greg Keogh wrote:
> Folks, I
Folks, I'm using reflection to get a method of an object, but there are two
methods that look like this:
Foo.CreateObject();
Foo.CreateObject();
I can't figure out how to call GetMethod(???) to get the first one. Anyone
know off the top of their head?!
Greg