public static void Assert(bool condition, string message = "Internal framework error.") { if (!condition) throw new Exception(message); } }