更新:2007 年 11 月
错误消息
应输入文件名、单行注释或行尾
在 #line 指令后只能有一个文件名(在双引号中)或单行注释。
下面的示例生成 CS1578:
// CS1578.cs
class MyClass
{
static void Main()
{
#line 101 abc.cs // CS1578
// try the following line instead
//#line 101 "abc.cs"
intt i; // error will be reported on line 101
}
}