We follow the guidelines published here: http://msdn2.microsoft.com/en-us/library/ms229042.aspx
If you see discrepancies, please let us know (submit a patch with a fix).
One class per file?
- We try to stick with this principle as much as possible.
- If you are certain that a simple enumeration only needs to exist in a single class, you may include it in the same file. If, however, you end up using an enumeration elsewhere, please extract the enumeration and put it in its own file.