[Mono-dev] Handling of generics by Mono compiler
marek.safar at gmail.com
Wed Jan 16 09:52:57 UTC 2013
Please do you know if there is a one-to-one correspondence between
> InflatedTypeSpec in the Mono code and C# constructed types? Or is
> InflatedTypeSpec used for both generic and constructed types?
They are pretty closely matched. Compiled generic types always exist at
least as open (generic) types, usually TypeContainer(s) but can at the same
time exist as InflatedTypeSpec too when accesses from within the type. For
example in the following sample enum parent container will be
public enum E
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list