2 using System
.Diagnostics
;
7 [Conditional ("AAXXAA")]
8 public virtual void ConditionalMethod ()
14 class TestClass
: BaseClass
16 public override void ConditionalMethod ()
18 base.ConditionalMethod ();
24 public static int Main()
26 TestClass ts
= new TestClass ();
27 ts
.ConditionalMethod ();
28 Console
.WriteLine ("Succeeded");