Is there a way to see what conditional compilation symbols were set during runtime or is this information lost at compile time?
Is there a way to see what conditional compilation symbols were set during runtime
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.
Other than side effects they may have, no, there’s nothing in the metadata for it. They only have an affect at compile time. Easy enough to make it have such a side effect, you could wrap a dummy class with it and then at runtime use Reflection to see if it’s there.