Ah! I guess it will return anything different than what are the default properties, right? I see that if I try it with different arguments on the attribute, after doing Resolve(), it'll show up > 1 on Properties.Count.
On Sun, Aug 9, 2009 at 12:21 PM, Jorge Freitas Branco < [email protected]> wrote: > Attribute.Resolve returns true, but ConstructorParameters.Count seems to be > always = 0. > > I feel maybe I dont understand well the working of ConstructorParameters. > Its length should be the same as the number of properties of the attribute? > > Thanks > > > On Sun, Aug 9, 2009 at 12:18 PM, Jb Evain <[email protected]> wrote: > >> >> On 8/9/09, Jorge Freitas Branco <[email protected]> wrote: >> > attribute.ConstructorParameters.Count seems to be always = >> > 0. >> > >> > Any help or comment? >> >> It depends on whether the attribute can be resolved or not. >> What does attribute.Resolved says, and what happens if you call >> attribute.Resolve () ? >> >> -- >> Jb Evain <[email protected]> >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ -- mono-cecil -~----------~----~----~----~------~----~------~--~---
