Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove trailing dot from analyzer title #1298

Merged
merged 3 commits into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- Improve refactoring 'Remove comment' [RR0098](https://josefpihrt.github.io/docs/roslynator/refactorings/RR0098) ([PR](https://github.com/dotnet/roslynator/pull/1284))
- Remove trailing dot from analyzer's title ([PR](https://github.com/dotnet/roslynator/pull/1298))

### Fixed

Expand Down
874 changes: 437 additions & 437 deletions src/Analyzers.xml

Large diffs are not rendered by default.

200 changes: 100 additions & 100 deletions src/Analyzers/CSharp/DiagnosticRules.Deprecated.Generated.cs

Large diffs are not rendered by default.

840 changes: 420 additions & 420 deletions src/Analyzers/CSharp/DiagnosticRules.Generated.cs

Large diffs are not rendered by default.

44 changes: 22 additions & 22 deletions src/CodeAnalysis.Analyzers/CSharp/DiagnosticRules.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public static partial class DiagnosticRules
/// <summary>RCS9001</summary>
public static readonly DiagnosticDescriptor UsePatternMatching = DiagnosticDescriptorFactory.Create(
id: DiagnosticIdentifiers.UsePatternMatching,
title: "Use pattern matching.",
messageFormat: "Use pattern matching.",
title: "Use pattern matching",
messageFormat: "Use pattern matching",
category: DiagnosticCategories.Roslynator,
defaultSeverity: DiagnosticSeverity.Hidden,
isEnabledByDefault: true,
Expand All @@ -24,8 +24,8 @@ public static partial class DiagnosticRules
/// <summary>RCS9002</summary>
public static readonly DiagnosticDescriptor UsePropertySyntaxNodeSpanStart = DiagnosticDescriptorFactory.Create(
id: DiagnosticIdentifiers.UsePropertySyntaxNodeSpanStart,
title: "Use property SyntaxNode.SpanStart.",
messageFormat: "Use property SyntaxNode.SpanStart.",
title: "Use property SyntaxNode.SpanStart",
messageFormat: "Use property SyntaxNode.SpanStart",
category: DiagnosticCategories.Roslynator,
defaultSeverity: DiagnosticSeverity.Info,
isEnabledByDefault: true,
Expand All @@ -36,8 +36,8 @@ public static partial class DiagnosticRules
/// <summary>RCS9003</summary>
public static readonly DiagnosticDescriptor UnnecessaryConditionalAccess = DiagnosticDescriptorFactory.Create(
id: DiagnosticIdentifiers.UnnecessaryConditionalAccess,
title: "Unnecessary conditional access.",
messageFormat: "Unnecessary conditional access.",
title: "Unnecessary conditional access",
messageFormat: "Unnecessary conditional access",
category: DiagnosticCategories.Roslynator,
defaultSeverity: DiagnosticSeverity.Info,
isEnabledByDefault: true,
Expand All @@ -50,8 +50,8 @@ public static partial class DiagnosticRules
/// <summary>RCS9004</summary>
public static readonly DiagnosticDescriptor CallAnyInsteadOfAccessingCount = DiagnosticDescriptorFactory.Create(
id: DiagnosticIdentifiers.CallAnyInsteadOfAccessingCount,
title: "Call 'Any' instead of accessing 'Count'.",
messageFormat: "Call 'Any' instead of accessing 'Count'.",
title: "Call 'Any' instead of accessing 'Count'",
messageFormat: "Call 'Any' instead of accessing 'Count'",
category: DiagnosticCategories.Roslynator,
defaultSeverity: DiagnosticSeverity.Info,
isEnabledByDefault: true,
Expand All @@ -62,8 +62,8 @@ public static partial class DiagnosticRules
/// <summary>RCS9005</summary>
public static readonly DiagnosticDescriptor UnnecessaryNullCheck = DiagnosticDescriptorFactory.Create(
id: DiagnosticIdentifiers.UnnecessaryNullCheck,
title: "Unnecessary null check.",
messageFormat: "Unnecessary null check.",
title: "Unnecessary null check",
messageFormat: "Unnecessary null check",
category: DiagnosticCategories.Roslynator,
defaultSeverity: DiagnosticSeverity.Info,
isEnabledByDefault: true,
Expand All @@ -74,8 +74,8 @@ public static partial class DiagnosticRules
/// <summary>RCS9006</summary>
public static readonly DiagnosticDescriptor UseElementAccess = DiagnosticDescriptorFactory.Create(
id: DiagnosticIdentifiers.UseElementAccess,
title: "Use element access.",
messageFormat: "Use element access.",
title: "Use element access",
messageFormat: "Use element access",
category: DiagnosticCategories.Roslynator,
defaultSeverity: DiagnosticSeverity.Info,
isEnabledByDefault: true,
Expand All @@ -86,8 +86,8 @@ public static partial class DiagnosticRules
/// <summary>RCS9007</summary>
public static readonly DiagnosticDescriptor UseReturnValue = DiagnosticDescriptorFactory.Create(
id: DiagnosticIdentifiers.UseReturnValue,
title: "Use return value.",
messageFormat: "Use return value.",
title: "Use return value",
messageFormat: "Use return value",
category: DiagnosticCategories.Roslynator,
defaultSeverity: DiagnosticSeverity.Warning,
isEnabledByDefault: true,
Expand All @@ -98,8 +98,8 @@ public static partial class DiagnosticRules
/// <summary>RCS9008</summary>
public static readonly DiagnosticDescriptor CallLastInsteadOfUsingElementAccess = DiagnosticDescriptorFactory.Create(
id: DiagnosticIdentifiers.CallLastInsteadOfUsingElementAccess,
title: "Call 'Last' instead of using [].",
messageFormat: "Call 'Last' instead of using [].",
title: "Call 'Last' instead of using []",
messageFormat: "Call 'Last' instead of using []",
category: DiagnosticCategories.Roslynator,
defaultSeverity: DiagnosticSeverity.Info,
isEnabledByDefault: true,
Expand All @@ -110,8 +110,8 @@ public static partial class DiagnosticRules
/// <summary>RCS9009</summary>
public static readonly DiagnosticDescriptor UnknownLanguageName = DiagnosticDescriptorFactory.Create(
id: DiagnosticIdentifiers.UnknownLanguageName,
title: "Unknown language name.",
messageFormat: "Unknown language name.",
title: "Unknown language name",
messageFormat: "Unknown language name",
category: DiagnosticCategories.Roslynator,
defaultSeverity: DiagnosticSeverity.Warning,
isEnabledByDefault: true,
Expand All @@ -122,8 +122,8 @@ public static partial class DiagnosticRules
/// <summary>RCS9010</summary>
public static readonly DiagnosticDescriptor SpecifyExportCodeRefactoringProviderAttributeName = DiagnosticDescriptorFactory.Create(
id: DiagnosticIdentifiers.SpecifyExportCodeRefactoringProviderAttributeName,
title: "Specify ExportCodeRefactoringProviderAttribute.Name.",
messageFormat: "Specify ExportCodeRefactoringProviderAttribute.Name.",
title: "Specify ExportCodeRefactoringProviderAttribute.Name",
messageFormat: "Specify ExportCodeRefactoringProviderAttribute.Name",
category: DiagnosticCategories.Roslynator,
defaultSeverity: DiagnosticSeverity.Hidden,
isEnabledByDefault: true,
Expand All @@ -134,8 +134,8 @@ public static partial class DiagnosticRules
/// <summary>RCS9011</summary>
public static readonly DiagnosticDescriptor SpecifyExportCodeFixProviderAttributeName = DiagnosticDescriptorFactory.Create(
id: DiagnosticIdentifiers.SpecifyExportCodeFixProviderAttributeName,
title: "Specify ExportCodeFixProviderAttribute.Name.",
messageFormat: "Specify ExportCodeFixProviderAttribute.Name.",
title: "Specify ExportCodeFixProviderAttribute.Name",
messageFormat: "Specify ExportCodeFixProviderAttribute.Name",
category: DiagnosticCategories.Roslynator,
defaultSeverity: DiagnosticSeverity.Hidden,
isEnabledByDefault: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public static partial class DiagnosticRules
[Obsolete("", error: true)]
internal static readonly DiagnosticDescriptor AddEmptyLineBeforeClosingBraceOfDoStatement = DiagnosticDescriptorFactory.Create(
id: DiagnosticIdentifiers.AddEmptyLineBeforeClosingBraceOfDoStatement,
title: "Add empty line before closing brace of 'do' statement.",
messageFormat: "Add empty line before closing brace of 'do' statement.",
title: "Add empty line before closing brace of 'do' statement",
messageFormat: "Add empty line before closing brace of 'do' statement",
category: DiagnosticCategories.Roslynator,
defaultSeverity: DiagnosticSeverity.Info,
isEnabledByDefault: false,
Expand All @@ -24,8 +24,8 @@ public static partial class DiagnosticRules
[Obsolete("", error: true)]
internal static readonly DiagnosticDescriptor AddNewLineAfterBinaryOperatorInsteadOfBeforeIt2 = DiagnosticDescriptorFactory.Create(
id: DiagnosticIdentifiers.AddNewLineAfterBinaryOperatorInsteadOfBeforeIt2,
title: "Add new line after binary operator instead of before it.",
messageFormat: "Add new line after binary operator instead of before it.",
title: "Add new line after binary operator instead of before it",
messageFormat: "Add new line after binary operator instead of before it",
category: DiagnosticCategories.Roslynator,
defaultSeverity: DiagnosticSeverity.Info,
isEnabledByDefault: false,
Expand All @@ -36,8 +36,8 @@ public static partial class DiagnosticRules
[Obsolete("", error: true)]
internal static readonly DiagnosticDescriptor AddNewLineAfterConditionalOperatorInsteadOfBeforeIt2 = DiagnosticDescriptorFactory.Create(
id: DiagnosticIdentifiers.AddNewLineAfterConditionalOperatorInsteadOfBeforeIt2,
title: "Add new line after conditional operator instead of before it.",
messageFormat: "Add new line after conditional operator instead of before it.",
title: "Add new line after conditional operator instead of before it",
messageFormat: "Add new line after conditional operator instead of before it",
category: DiagnosticCategories.Roslynator,
defaultSeverity: DiagnosticSeverity.Info,
isEnabledByDefault: false,
Expand All @@ -48,8 +48,8 @@ public static partial class DiagnosticRules
[Obsolete("", error: true)]
internal static readonly DiagnosticDescriptor AddNewLineAfterExpressionBodyArrowInsteadOfBeforeIt2 = DiagnosticDescriptorFactory.Create(
id: DiagnosticIdentifiers.AddNewLineAfterExpressionBodyArrowInsteadOfBeforeIt2,
title: "Add new line after expression body arrow instead of before it.",
messageFormat: "Add new line after expression body arrow instead of before it.",
title: "Add new line after expression body arrow instead of before it",
messageFormat: "Add new line after expression body arrow instead of before it",
category: DiagnosticCategories.Roslynator,
defaultSeverity: DiagnosticSeverity.Info,
isEnabledByDefault: false,
Expand All @@ -60,8 +60,8 @@ public static partial class DiagnosticRules
[Obsolete("", error: true)]
internal static readonly DiagnosticDescriptor RemoveEmptyLineBetweenSingleLineAccessors2 = DiagnosticDescriptorFactory.Create(
id: DiagnosticIdentifiers.RemoveEmptyLineBetweenSingleLineAccessors2,
title: "Remove empty line between single-line accessors.",
messageFormat: "Remove empty line between single-line accessors.",
title: "Remove empty line between single-line accessors",
messageFormat: "Remove empty line between single-line accessors",
category: DiagnosticCategories.Roslynator,
defaultSeverity: DiagnosticSeverity.Info,
isEnabledByDefault: false,
Expand All @@ -72,8 +72,8 @@ public static partial class DiagnosticRules
[Obsolete("", error: true)]
internal static readonly DiagnosticDescriptor RemoveEmptyLineBetweenUsingDirectivesWithDifferentRootNamespace2 = DiagnosticDescriptorFactory.Create(
id: DiagnosticIdentifiers.RemoveEmptyLineBetweenUsingDirectivesWithDifferentRootNamespace2,
title: "Remove empty line between using directives with different root namespace.",
messageFormat: "Remove empty line between using directives with different root namespace.",
title: "Remove empty line between using directives with different root namespace",
messageFormat: "Remove empty line between using directives with different root namespace",
category: DiagnosticCategories.Roslynator,
defaultSeverity: DiagnosticSeverity.Info,
isEnabledByDefault: false,
Expand All @@ -84,8 +84,8 @@ public static partial class DiagnosticRules
[Obsolete("", error: true)]
internal static readonly DiagnosticDescriptor RemoveNewLineBetweenClosingBraceAndWhileKeyword2 = DiagnosticDescriptorFactory.Create(
id: DiagnosticIdentifiers.RemoveNewLineBetweenClosingBraceAndWhileKeyword2,
title: "Remove new line between closing brace and 'while' keyword.",
messageFormat: "Remove new line between closing brace and 'while' keyword.",
title: "Remove new line between closing brace and 'while' keyword",
messageFormat: "Remove new line between closing brace and 'while' keyword",
category: DiagnosticCategories.Roslynator,
defaultSeverity: DiagnosticSeverity.Info,
isEnabledByDefault: false,
Expand Down
Loading