Hi

On 7月19日, 下午10时25分, "Jb Evain" <[EMAIL PROTECTED]> wrote:
>
> By calling Resolve on the CustomAttribute, it will try to resolve the
> assembly in which the enumeration is defined, so the custom attribute
> is actually decoded.

I tried the CustomAttribute.Resolve method, it resolves
DayOfWeek.Friday to 5 (int).

So I still cannot know the type (System.DayOfWeek) from
CustomAttribute class after calling Resolve method.

It there any way to get the type definition/reference of
System.DayofWeek?
(Indeed it's in internal CustomAttrib class, but I cannot find it in
CustomAttribute class).

Thanks.

Regards
Wicky


--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---

Reply via email to