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 CS0536

'class' does not implement interface member 'interface member'. 'class member' is static, not public, or has the wrong return type

The compiler did not detect an interface member implementation. A declaration may be present that almost implements the interface member. Check for the following syntax errors in the declaration for the interface member:

The following sample generates CS0536:

namespace x
{
   public interface a
   {
      void f();
   }

   public class b : a
   {
      public static int f()   // CS0536
      {
      }
      // try, public void f(){}
      public static void Main()
      {
      }
   }
}