C#


ROSLYN.DOCUMENTATION.CA1200 : Avoid using cref tags with a prefix (C#)

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

要旨

Use of cref tags with prefixes should be avoided, since it prevents the compiler from verifying references and the IDE from updating references during refactorings. It is permissible to suppress this error at a single documentation site if the cref must use a prefix because the type being mentioned is not findable by the compiler. For example, if a cref is mentioning a special attribute in the full framework but you're in a file that compiles against the portable framework, or if you want to reference a type at higher layer of Roslyn, you should suppress the error. You should not suppress the error just because you want to take a shortcut and avoid using the full syntax.

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

プロパティ

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

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

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