18 lines
361 B
C#
Raw Normal View History

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;
}
}