更新:2007 年 11 月
错误消息
意外的预处理器指令发现了
例如,发现了 #endif,但前面没有 #if。
下面的示例生成 CS1028:
// CS1028.cs
#endif   // CS1028, no matching #if
namespace x
{
   public class clx
   {
      public static void Main()
      {
      }
   }
} | |
更新:2007 年 11 月
发现了
例如,发现了 #endif,但前面没有 #if。
下面的示例生成 CS1028:
// CS1028.cs
#endif   // CS1028, no matching #if
namespace x
{
   public class clx
   {
      public static void Main()
      {
      }
   }
} | |