C#


ROSLYN.GLOBALIZATION.CA1308 : Normalize strings to uppercase (C#)

See Roslyn-Detected C# Warning Classes for more information.

要旨

Strings should be normalized to uppercase. A small group of characters cannot make a round trip when they are converted to lowercase. To make a round trip means to convert the characters from one locale to another locale that represents character data differently, and then to accurately retrieve the original characters from the converted characters.

この指摘はRoslynのCA1308に該当します。ルール詳細につい ては、下記リンクを参照してください。 CA1308

プロパティ

クラス名 Normalize strings to uppercase (C#)
日本語クラス名 Normalize strings to uppercase (C#)
クラス分類 信頼性 (reliability)
ニーモニック ROSLYN.GLOBALIZATION.CA1308
カテゴリー なし
対応言語 C# で利用可能です。
有効/無効設定 このワーニングクラスのチェックはデフォルトで無効になっています。チェックを有効にするにはプロジェクト設定ファイル (configuration file)に以下の WARNING_FILTER ルールを追加してください。
WARNING_FILTER += allow class="Normalize strings to uppercase (C#)"

関連のある設定ファイルパラメータ

設定ファイルの以下のパラメータがこのワーニングクラスのチェックに影響します。