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 CS1020

Overloadable binary operator expected

An attempt was made to define an operator overload, but the operator was not a binary operator (taking two parameters).

The following sample generates CS1020:

public class iii {
   public static int operator ++(iii aa, int bb) {   // CS1020, change ++ to +
      return 0;
   }
   public static void Main() {
   }   
}