编译器错误 CS1576

更新:2007 年 11 月

错误消息

为 #line 指令指定的行号缺少或无效

编译器检测到传递给 #line 指令的值有错误。

下面的示例生成 CS1576:

// CS1576.cs
public class MyClass
{
   static void Main()
   {
      #line "abc.sc"         // CS1576
      // try the following line instead
      //#line  101 "abc.sc"
      intt i;  // error will be reported on line 101
   }
}