You can use multiple comma separated conditional attributes like
[Conditional("DEBUG"), Conditional("BAR")]
and it will be exactly your desired behaviour – they will be logically ORed together.
See MSDN for reference.
You can use multiple comma separated conditional attributes like
[Conditional("DEBUG"), Conditional("BAR")]
and it will be exactly your desired behaviour – they will be logically ORed together.
See MSDN for reference.