public static void Assert(bool condition, string message) { try { if (!condition) { DisplayIndent(); OutputPane.Write("Assertion failed: "); OutputPane.WriteLine(message); } } catch (SystemException) { } }