Hey Jan, On Mon, Apr 26, 2010 at 8:08 PM, Jan <jan.blessen...@gmail.com> wrote: > TypeReference.IsValueType always return false for unresolved types but > the Resolve() call damages the closed generic types. Is there a way to > implement a TypeReference.IsValueType that returns the right value?
At the module level, a TypeReference doesn't know whether it's a ValueType or not. But most of the time, Cecil has heuristics to know if it's used as such (mostly through signatures). In which case it returns false for a TypeReference that should actually be a ValueType ? -- Jb Evain <j...@nurv.fr> -- -- mono-cecil Subscription settings: http://groups.google.com/group/mono-cecil/subscribe?hl=en