2009-10-13 23 views
0

我只是在我的项目中有一个简单的接口定义,我还没有使用它。但是当我尝试构建项目时,出现此错误:VB.Net IEquatable,拒绝访问

访问被拒绝:'System.IEquatable`1 [Reactor.IOptions]'。

下面是接口:

Interface IOptions 
      Inherits Xml.Serialization.IXmlSerializable    ' Optoins Should Serialize to XML 
      Inherits System.Runtime.Serialization.ISerializable  ' Options should implement .net Serialization 
      Inherits System.ICloneable        ' Must be able to copy options 
      Inherits System.IEquatable(Of IOptions)     ' Must be able to compare opitons 
    End Interface 

什么想法?

回答

0

不知道发生了什么,但改变了一堆东西,然后把它改回错误的方式自己。一定是Visual Studio的呃逆。