blob: feffcff430e6037efbe7a8bb88c9e5f2cfec9a60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#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;
}
}
|