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 CS1037

Overloadable operator expected

When specifying a comment with /doc, the compiler encountered an invalid link.

The following sample generates CS1037:

public class A {
   public static A operator / (A a1, A a2) { 
      return null;
   }

   /// <seealso cref="A.operator@"/>   // CS1037
   // try the following line instead
   // /// <seealso cref="A.operator/"/>
   public static A Divide(A a1, A a2) { 
      return a1 / a2; 
   }
   
   public static void Main() {
   }
}