Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

22 lines
423 B
C#

#define C2
using System;
using System.Diagnostics;
class TestClass {
static int return_code = 1;
[Conditional("C1"), Conditional("C2")]
public static void ConditionalMethod()
{
Console.WriteLine ("Succeeded");
return_code = 0;
}
public static int Main()
{
ConditionalMethod ();
return return_code;
}
}