projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2007-10-17 Jonathan Pobst <monkey@jpobst.com>
[mono.git]
/
mcs
/
tests
/
test-240.cs
1
#define C2
2
3
using System;
4
using System.Diagnostics;
5
6
class TestClass {
7
static int return_code = 1;
8
9
[Conditional("C1"), Conditional("C2")]
10
public static void ConditionalMethod()
11
{
12
Console.WriteLine ("Succeeded");
13
return_code = 0;
14
}
15
16
static int Main()
17
{
18
ConditionalMethod ();
19
return return_code;
20
}
21
}