@@ -15,24 +15,18 @@ namespace StyleCop.Analyzers.DocumentationRules
1515 /// <c><inheritdoc></c> has been used on an element that doesn't inherit from a base class or implement an
1616 /// interface.
1717 /// </summary>
18- /// <remarks>
19- /// <para>Verifies that an <c>inheritdoc</c> tag is not used when the class or interface does not inherit from a
20- /// base class or interface.</para>
21- ///
22- /// <para>A violation of this rule occurs when the element having the <c>inheritdoc</c> tag doesn't inherit from a
23- /// base case or implement an interface.</para>
24- /// </remarks>
18+ /// <seealso href="https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1648.md">SA1648</seealso>
2519 [ DiagnosticAnalyzer ( LanguageNames . CSharp ) ]
2620 internal class SA1648InheritDocMustBeUsedWithInheritingClass : DiagnosticAnalyzer
2721 {
2822 /// <summary>
2923 /// The ID for diagnostics produced by the <see cref="SA1648InheritDocMustBeUsedWithInheritingClass"/> analyzer.
3024 /// </summary>
3125 public const string DiagnosticId = "SA1648" ;
32- private const string Title = "inheritdoc must be used with inheriting class" ;
33- private const string MessageFormat = "inheritdoc must be used with inheriting class" ;
34- private const string Description = "<inheritdoc> has been used on an element that doesn't inherit from a base class or implement an interface." ;
35- private const string HelpLink = "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1648.md" ;
26+ private static readonly LocalizableString Title = new LocalizableResourceString ( nameof ( DocumentationResources . SA1648Title ) , DocumentationResources . ResourceManager , typeof ( DocumentationResources ) ) ;
27+ private static readonly LocalizableString MessageFormat = new LocalizableResourceString ( nameof ( DocumentationResources . SA1648MessageFormat ) , DocumentationResources . ResourceManager , typeof ( DocumentationResources ) ) ;
28+ private static readonly LocalizableString Description = new LocalizableResourceString ( nameof ( DocumentationResources . SA1648Description ) , DocumentationResources . ResourceManager , typeof ( DocumentationResources ) ) ;
29+ private static readonly string HelpLink = "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1648.md" ;
3630
3731 private static readonly DiagnosticDescriptor Descriptor =
3832 new DiagnosticDescriptor ( DiagnosticId , Title , MessageFormat , AnalyzerCategory . DocumentationRules , DiagnosticSeverity . Warning , AnalyzerConstants . EnabledByDefault , Description , HelpLink ) ;
0 commit comments