File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed
Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -3553,22 +3553,30 @@ if (x == null) // [|Id|]
35533553 <Title >Parameter name differs from base name.</Title >
35543554 <MessageFormat >Parameter name '{0}' differs from base name '{1}'.</MessageFormat >
35553555 <Category >Maintainability</Category >
3556- <DefaultSeverity >Warning </DefaultSeverity >
3556+ <DefaultSeverity >Hidden </DefaultSeverity >
35573557 <IsEnabledByDefault >true</IsEnabledByDefault >
35583558 <SupportsFadeOut >false</SupportsFadeOut >
35593559 <SupportsFadeOutAnalyzer >false</SupportsFadeOutAnalyzer >
35603560 <Samples >
35613561 <Sample >
3562- <Before ><![CDATA[ public interface IFoo
3562+ <Before ><![CDATA[ interface IFoo
35633563{
35643564 string Bar(object parameter);
35653565}
35663566
3567- public abstract class Foo : IFoo
3567+ abstract class Foo : IFoo
35683568{
35693569 public abstract string Bar(object value); // [|Id|]
35703570}]]> </Before >
3571- <After ><![CDATA[ public abstract string Bar(object parameter);]]> </After >
3571+ <After ><![CDATA[ interface IFoo
3572+ {
3573+ string Bar(object parameter);
3574+ }
3575+
3576+ abstract class Foo : IFoo
3577+ {
3578+ public abstract string Bar(object parameter)
3579+ };]]> </After >
35723580 </Sample >
35733581 </Samples >
35743582 </Analyzer >
Original file line number Diff line number Diff line change @@ -1749,7 +1749,7 @@ public static partial class DiagnosticDescriptors
17491749 title : "Parameter name differs from base name." ,
17501750 messageFormat : "Parameter name '{0}' differs from base name '{1}'." ,
17511751 category : DiagnosticCategories . Maintainability ,
1752- defaultSeverity : DiagnosticSeverity . Warning ,
1752+ defaultSeverity : DiagnosticSeverity . Hidden ,
17531753 isEnabledByDefault : true ,
17541754 description : null ,
17551755 helpLinkUri : $ "{ HelpLinkUriRoot } { DiagnosticIdentifiers . ParameterNameDiffersFromBase } ",
You can’t perform that action at this time.
0 commit comments