On Thu, Aug 4, 2011 at 4:50 PM, Timwi <[email protected]> wrote:
> Is this behaviour intentional?

Yes, that's how boxing is represented.

> I think the preferred behaviour would be what it used to be: the
> “Type” field should specify only the *argument* type (in this case,
> MyEnum). The *parameter* type can always be retrieved by looking at
> CustomAttribute.Constructor.Parameters[i].ParameterType.

It doesn't work for properties and fields arguments.

Jb

-- 
--
mono-cecil

Reply via email to