"Also, why if class 'c' has method 'Foo', the 'Foo' declaring type is
generic type with two generic parameters (T,M) and not just one?"

Because the method foo is:

X<T>.c<M>::Foo()

On Mon, Feb 22, 2016 at 1:53 PM, Dudi Keleti <[email protected]> wrote:
> I have this code:
>
>     static class x<T> where T : class, new()
>     {
>         private class c<M>
>         {
>         }
>     }
>
> I want to remove the generic definition from class 'c'.
>
> I tried some weaving methods but without success.
>
> I always get in the end (when I try to write the assembly) exception "Value
> does not fall within the expected range."
>
> If I'll delete the original type and then I'll add a new non generic type,
> is it help? Is it possible at all?
>
> Also, why if class 'c' has method 'Foo', the 'Foo' declaring type is generic
> type with two generic parameters (T,M) and not just one?
>
> Thanks,
> Dudi
>
> --
> --
> --
> mono-cecil
> ---
> You received this message because you are subscribed to the Google Groups
> "mono-cecil" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.



-- 
Studying for the Turing test

-- 
-- 
--
mono-cecil
--- 
You received this message because you are subscribed to the Google Groups 
"mono-cecil" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to