Globalization Rules rule set for managed code
You can use the Microsoft Globalization Rules rule set to focus on problems that might prevent data in your application from appearing correctly in different languages, locales, and cultures. You should include this rule set if your application is localized, globalized, or both.
Rule |
Description |
---|---|
Specify MessageBoxOptions |
|
Avoid duplicate accelerators |
|
Do not hardcode locale specific strings |
|
Do not pass literals as localized parameters |
|
Specify CultureInfo |
|
Specify IFormatProvider |
|
Set locale for data types |
|
Specify StringComparison |
|
Normalize strings to uppercase |
|
Use ordinal StringComparison |
|
Specify marshaling for P/Invoke string arguments |