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 CS0567

Interfaces cannot contain operators

Operators are not permitted in interface definitions.

The following sample generates CS0567:

namespace x {
   interface iii {
      int operator compare(int aa, int bb) {   // CS0567
         return 0;
      }
   }

   public class a {
      public static void Main() {
      }
   }
}