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 CS0056

Inconsistent accessibility: return type 'type' is less accessible than operator 'operator'

A public construct must return a publicly accessible object.

The following sample generates CS0056:

class ii {
// try the following line instead
// public class ii {
}

public class a {
   public static implicit operator ii(a aa) { // CS0056
      return new ii();
   }
   public static void Main() {
   }
}