Hi

Is it expected that TypeReference.GetElementType and
ArrayType.ElementType are returning different results.

I have an unresolved TypeReference  to sbyte?[].
TypeReference.GetElementType returns a Nullable'1, if I cast to
ArrayType and call ArrayType.ElementType it returns the right info:
sbyte?.

It is a little confusion when I have to call Resolve, when I have to
cast and when I can use GetElementType directly.

Jan

-- 
--
mono-cecil

Subscription settings: http://groups.google.com/group/mono-cecil/subscribe?hl=en

Reply via email to