Is it possible using an "AND" operator for "ConditionalAttribute"?

Is it possible to use anAND-operator like this [Conditional("DEBUG")&& Conditional("ANNA")] ?

Using an OR-operator works: [Conditional("DEBUG"),Conditional("ANNA")].

Jon Skeet
people
quotationmark

No, that isn't supported as far as I'm aware. I would suggest just defining a third symbol in that case. (I'd also try to do all of this really, really sparingly...)

people

See more on this question at Stackoverflow