How can I get a PropertyInfo by name using GetType().GetProperty(“MypropName”) of a type which is obfuscated.
How can I get a PropertyInfo by name using GetType().GetProperty(MypropName) of a type which
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to know what the obfuscated name of the property ended up. That is very fragile as it may change from build to build. If you can tell which property is by other means (its type, custom attributes) it would be better.
The obfuscated name will mostly likely be a few non-printable characters or probably just
A. Dotfuscator renames something like 80% of the code toA.