deedee <[email protected]> wrote:
> Is there a way to fetch more information from a fieldDefinition? 
> For example, I am trying to look for all the MenuItems in a type, so for a
> given field name '_menuItem1' and it's fieldDefinition, can I obtain some 
> more information - like the properties of that MenuItem (Text, Visible, 
> etc)?

You can get the name and type of the properties you mentioned, but not the 
actual values. These are assigned at runtime and as you already stated in your 
other mail, you'll have to iterate all instructions (e.g. in 
InitializeComponent()) to find out the assigned values if you want to do this 
with cecil.

Simon

-- 
--
mono-cecil

Reply via email to