NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error CS0538

'name' in explicit interface declaration is not an interface

An attempt was made to explicitly declare an interface, but an interface was not specified.

The following sample generates CS0538:

namespace x {
   interface IMyFace {
      void F();
   }
   public class CMyClass {
      public void G();
   }
   class C: IMyFace {
      void IMyFace.F() {
      }
      void CMyClass.G() {   // CS0538, CMyClass not an interface
      }
   }
}