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() { } }