Reflecting C# attributes

  • Thread starter Thread starter jim
  • Start date Start date
J

jim

Is it possible to reflect information about c# standard
attributes? i'm well aware that
FieldInfo.GetCustomAttributes() is available - but what
about system attribs such as MarshalAs? I would like to
pull out info from attached MarshalAs attributes (such as
the value of SizeConst) rather than add my own custom
attrib in addition to MarshalAs.
 
but what about system attribs such as MarshalAs?

In v1.x, no. In v2.0, yes.



Mattias
 
Back
Top