By marking the assembly for CLS compliance with [<assembly: CLSCompliant(true)>]
I would expect the compiler to issue a warning if the assembly is not compliant. However, I can compile the following
type public Test() =
member x.intA = 0;
member x.INTA = 2;
member x.MyMethod() = 8;
member x.MYMETHOD() = 10;
without any warning what so ever. Target framework is 4.6 using F# 4.0. Am I missing something, or is it a bug in the compiler? Is there any other way to verify that an assembly generated from F# is compliant?