C#


ROSLYN.DESIGN.CA1061 : Do not hide base class methods (C#)

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

要旨

A method in a base type is hidden by an identically named method in a derived type when the parameter signature of the derived method differs only by types that are more weakly derived than the corresponding types in the parameter signature of the base method.

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

プロパティ

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

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

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