Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
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 |
|---|---|
| CA1303 | Do not pass literals as localized parameters |
| CA1304 | Specify CultureInfo |
| CA1305 | Specify IFormatProvider |
| CA1307 | Specify StringComparison for clarity |
| CA1308 | Normalize strings to uppercase |
| CA1309 | Use ordinal StringComparison |
| CA1310 | Specify StringComparison for correctness |
| CA2101 | Specify marshaling for P/Invoke string arguments |