更新:2007 年 11 月
错误消息
类、结构或接口成员声明中的标记“token”无效任何在类型的前面包含无效修饰符的
下面的示例生成 CS1519:
// CS1519.cs
public class IMyInterface
{
checked void f4(); // CS1519
// Remove "checked" from the line above.
lock void f5(); // CS1519
// Remove "lock" from the line above
namespace; // CS1519
// The line above should be removed entirely.
int i; // OK
} | |