更新:2007 年 11 月
错误消息
不能在文件的第一个标记之后,定义或取消定义预处理器符号#define 和 #undef 
下面的示例生成 CS1032:
// CS1032.cs
namespace x
{
   public class clx
   {
      #define a   // CS1032, put before namespace
      public static void Main()
      {
      }
   }
} | |
更新:2007 年 11 月
#define 和 #undef 
下面的示例生成 CS1032:
// CS1032.cs
namespace x
{
   public class clx
   {
      #define a   // CS1032, put before namespace
      public static void Main()
      {
      }
   }
} | |