Hi all, 

so I was wondering if Mono.Cecil has a solution to this 
<http://stackoverflow.com/questions/5473455/c-sharp-get-fieldinfos-propertyinfos-in-the-original-order>problem.
 
Is there something like typeDef.GetMembers(Order.Original);? you get my 
point...

If not, I thought I could somehow read the class code, parse it, use regex 
to get the fields/properties names and just use plain reflection 
type.GetMember(name)
But I'm not sure how to get the class code in a string. Maybe MC could 
help? ir not.. maybe I could read from the class's file or ...?

Please let me know if you know of a better way to do it other than what I 
mentioned.

Any help is appreciated!
Cheers!

-- 
-- 
--
mono-cecil
--- 
You received this message because you are subscribed to the Google Groups 
"mono-cecil" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to