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 CS0115

'function' : no suitable method found to override

A method was marked as an override, but the compiler found no method to override.

The following sample generates CS0115:

namespace x 
{
   abstract public class clu 
   {
      public abstract int f();
   }

   abstract public class clx 
   {
      public override int f()   // CS0115
      {
         return 0;
      }
      public static void Main()
      {
      }
   } 
}

You can resolve CS0115 in one of two ways: