下記のコードはTRIALが定義されている場合のみ、Trialメソッドが動く。 #define TRIAL class ConditionalDemo{ [Conditional("TRIAL")] void Trial(){ } }