此浏览器不再受支持。
请升级到 Microsoft Edge 以使用最新的功能、安全更新和技术支持。
更新:2007 年 11 月
意外的预处理器指令
发现了预处理器指令,但它不应出现。
例如,发现了 #endif,但前面没有 #if。
下面的示例生成 CS1028:
// CS1028.cs #endif // CS1028, no matching #if namespace x { public class clx { public static void Main() { } } }