BuildOptions.ForceEnableAssertions

切换到手册

描述

在构建中包含断言。默认情况下,断言仅包含在开发版中。