更新:2007 年 11 月
错误消息
“declaration”:显式接口声明只能在类或结构中声明在
下面的示例生成 CS0541:
// CS0541.cs
namespace x
{
interface IFace
{
void F();
}
interface IFace2 : IFace
{
void IFace.F(); // CS0541
}
} | |
更新:2007 年 11 月
在
下面的示例生成 CS0541:
// CS0541.cs
namespace x
{
interface IFace
{
void F();
}
interface IFace2 : IFace
{
void IFace.F(); // CS0541
}
} | |