a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
22 lines
423 B
C#
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;
|
|
}
|
|
}
|