Skip to content

Commit

Permalink
Fix RCS0043 (#1389)
Browse files Browse the repository at this point in the history
  • Loading branch information
josefpihrt authored Feb 7, 2024
1 parent 972b3f7 commit 83a2d7c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ dotnet_diagnostic.RCS0011.severity = suggestion
dotnet_diagnostic.RCS0013.severity = suggestion
dotnet_diagnostic.RCS0015.severity = suggestion
dotnet_diagnostic.RCS0016.severity = suggestion
dotnet_diagnostic.RCS0020.severity = suggestion
dotnet_diagnostic.RCS0021.severity = suggestion
dotnet_diagnostic.RCS0022.severity = suggestion
dotnet_diagnostic.RCS0023.severity = suggestion
Expand All @@ -72,7 +73,6 @@ dotnet_diagnostic.RCS0038.severity = suggestion
dotnet_diagnostic.RCS0039.severity = suggestion
dotnet_diagnostic.RCS0041.severity = suggestion
dotnet_diagnostic.RCS0042.severity = suggestion
dotnet_diagnostic.RCS0043.severity = suggestion
dotnet_diagnostic.RCS0046.severity = suggestion
dotnet_diagnostic.RCS0048.severity = silent
dotnet_diagnostic.RCS0049.severity = suggestion
Expand Down
2 changes: 1 addition & 1 deletion src/Analyzers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,7 @@ else if (y)
<Id>RCS0043</Id>
<Identifier>FormatAccessorBracesOnSingleLineWhenExpressionIsOnSingleLine</Identifier>
<Status>Obsolete</Status>
<ObsoleteMessage>Use RCS0020 with option 'roslynator_accessor_braces_style = single_line_when_expression_is_on_single_line</ObsoleteMessage>
<ObsoleteMessage>Use RCS0020 with option 'roslynator_accessor_braces_style = single_line_when_expression_is_on_single_line'</ObsoleteMessage>
<Title>Format accessor's braces on a single line when expression is on single line</Title>
<MessageFormat>Format braces on a single line</MessageFormat>
<DefaultSeverity>Info</DefaultSeverity>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ public static partial class DiagnosticRules
public static readonly DiagnosticDescriptor FormatAccessorBracesOnSingleLineWhenExpressionIsOnSingleLine = DiagnosticDescriptorFactory.Create(
id: DiagnosticIdentifiers.FormatAccessorBracesOnSingleLineWhenExpressionIsOnSingleLine,
title: "[deprecated] Format accessor's braces on a single line when expression is on single line",
messageFormat: "([deprecated] Use RCS0020 with option 'roslynator_accessor_braces_style = single_line_when_expression_is_on_single_line) Format braces on a single line",
messageFormat: "([deprecated] Use RCS0020 with option 'roslynator_accessor_braces_style = single_line_when_expression_is_on_single_line') Format braces on a single line",
category: DiagnosticCategories.Roslynator,
defaultSeverity: DiagnosticSeverity.Info,
isEnabledByDefault: false,
Expand Down

0 comments on commit 83a2d7c

Please sign in to comment.