I'm trying to emit a class that dynamically overrides the following
class signature:
public class ClassWithGenericTypeDefinitionReturnType
{
public virtual List<T> DoSomething<T>()
{
return new List<T>();
}
}
I don't know why, but the problem is that I can't seem to import the
List<T> type as a type reference..
On Apr 1, 2:01 am, Jb Evain <[email protected]> wrote:
> Hey Philip,
>
> On 3/31/09, Philip_L <[email protected]> wrote:
>
> > Yes, I'm using the SVN head. Do you get the same error on your end
> > when you try to import an open generic type?
>
> Sadly, nope. I tried in two different configurations: importing in an
> assembly which already contains a reference to the type, and into
> another one which doesn't contain a reference to the type.
>
> Is there any way I can setup something to reproduce the exception?
>
> --
> Jb Evain <[email protected]>
--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---