1 // cs1618-2.cs: Cannot create delegate with `System.Diagnostics.Debug.Assert(bool)' because it has a Conditional attribute
5 using System
.Diagnostics
;
7 delegate void assert_t (bool condition
);
8 assert_t assert
= new assert_t (Debug
.Assert
);
19 if (new Bar ().assert
== null)
20 throw new Exception ("Didn't resolve Debug.Assert?");