更新:2007 年 11 月
错误消息
“member function”必须声明主体,因为它未标记为 abstract、extern 或 partial
非抽象方法必须有实现。
下面的示例生成 CS0501:
// CS0501.cs
// compile with: /target:library
public class clx
{
public void f(); // CS0501 declared not defined
public void g() {} // OK
}