By the way, I searched for such threads but I'm having difficulties
finding one that actually talks about my issue: injecting a field in a
generic class & injecting code to call this field in the generic class
methods.

Thanks

On 8 juil, 15:56, "Indiefreaks.com" <[email protected]> wrote:
> I will Jb. Thanks for pointing that out.
>
> On 8 juil, 14:57, Jb Evain <[email protected]> wrote:
>
>
>
> > On Fri, Jul 8, 2011 at 2:54 PM, Indiefreaks.com
>
> > <[email protected]> wrote:
> > >> Make a FieldReference and use that instead of a FieldDefinition in
> > >> whatever place you're getting the error.
>
> > > But then I won't be able to add it to theclassFields collection: how
> > > can I let theclasstype know of its existence then?
>
> > > Since FieldDefinition inherits from FieldReference, casting to
> > > FieldReference should work, shouldn't it?
>
> > We have nice threads in this group about how to deal with generics.
> > Look them up.
>
> > Jb- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -

-- 
--
mono-cecil

Reply via email to