Cosmos C# IL2CPU 调用时出错?

Cosmos C# IL2CPU Error While invoking?

我一直在使用 c# 中的 cosmos 编写 OS。它有 350 行长。我刚收到一条错误消息 "Error Occurred while invoking IL2CPU"

找到原因,需要移除

console.beep();

console.beep 不是 userkit 安装的一部分。仅在 Devkit 安装中。