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 CS0555

User-defined operator cannot take an object of the enclosing type and convert to an object of the enclosing type

User-defined conversions to values of the enclosing class are not allowed; you do not need such an operator.

The following sample generates CS0555:

public class MyClass {
   // delete the following operator to resolve this CS0555
   public static implicit operator ii(ii aa) { // CS0555 
      return new ii();
   }

   public static void Main() {
   }
}