Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 1
    I think you've confused "CLR-compliant" with "CLS-compliant". If something were non-CLR compliant, it wouldn't compile. CLS is just a warning that it may not be compatible with other languages, and basically only affects public members (technically, things visible outside of your assembly). Commented Aug 15, 2011 at 20:22
  • @Joel - You're correct. This question deals with it: stackoverflow.com/questions/1195030/… Commented Aug 15, 2011 at 21:02
  • 2
    I still use the "m_" prefix... Commented Aug 16, 2011 at 10:05
  • 5
    +1 "for you do not have to do everything that MS tells you to do". Think for yourselves! Commented Aug 16, 2011 at 11:39
  • 1
    It's only not CLS-Compliant if the field is protected, not private Commented Aug 17, 2011 at 14:12