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 CS3003

Type of 'variable' is not CLS-compliant

A public or protected variable cannot be of a type that is not compliant with the Common Language Subset (CLS).

The following sample generates CS3003:

[assembly:System.CLSCompliant(true)]
public class a {
   public ushort a1;      // CS3003, public variable
   public static void Main() {
   }
}