18 lines
361 B
C#
18 lines
361 B
C#
|
using System;
|
||
|
using System.Diagnostics;
|
||
|
|
||
|
class TestClass {
|
||
|
[Conditional ("UNDEFINED_CONDITION")]
|
||
|
static void ConditionalMethod ()
|
||
|
{
|
||
|
Environment.Exit (1);
|
||
|
}
|
||
|
|
||
|
public static int Main()
|
||
|
{
|
||
|
ConditionalMethod ();
|
||
|
Console.WriteLine ("Succeeded");
|
||
|
return 0;
|
||
|
}
|
||
|
}
|