Skip to content

Commit 35a2520

Browse files
committed
removed code accidentally committed
1 parent 74c9d4c commit 35a2520

File tree

3 files changed

+35
-29
lines changed

3 files changed

+35
-29
lines changed

RubberduckCodeAnalysis/InspectionXmlDocAnalyzer.cs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,14 @@
77

88
namespace RubberduckCodeAnalysis
99
{
10-
[DiagnosticAnalyzer(LanguageNames.CSharp)]
11-
public class ParsingXmlDocAnalyzer : DiagnosticAnalyzer
12-
{
13-
public const string
14-
}
15-
1610
[DiagnosticAnalyzer(LanguageNames.CSharp)]
1711
public class InspectionXmlDocAnalyzer : DiagnosticAnalyzer
1812
{
1913
public const string MissingInspectionSummaryElement = "MissingInspectionSummaryElement";
2014
private static readonly DiagnosticDescriptor MissingSummaryElementRule = new DiagnosticDescriptor(
2115
MissingInspectionSummaryElement,
22-
new LocalizableResourceString(nameof(Resources.MissingInspectionSummaryElement), Resources.ResourceManager, typeof(Resources)),
23-
new LocalizableResourceString(nameof(Resources.MissingInspectionSummaryElementMessageFormat), Resources.ResourceManager, typeof(Resources)),
16+
new LocalizableResourceString(nameof(Resources.MissingSummaryElement), Resources.ResourceManager, typeof(Resources)),
17+
new LocalizableResourceString(nameof(Resources.MissingSummaryElementMessageFormat), Resources.ResourceManager, typeof(Resources)),
2418
new LocalizableResourceString(nameof(Resources.XmlDocAnalyzerCategory), Resources.ResourceManager, typeof(Resources)).ToString(),
2519
DiagnosticSeverity.Error,
2620
true,

RubberduckCodeAnalysis/Resources.Designer.cs

Lines changed: 28 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

RubberduckCodeAnalysis/Resources.resx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,13 +195,13 @@
195195
<data name="MissingInspectionReferenceElementMessageFormat" xml:space="preserve">
196196
<value>XML documentation for type '{0}' is missing a 'reference' element.</value>
197197
</data>
198-
<data name="MissingInspectionSummaryElement" xml:space="preserve">
198+
<data name="MissingSummaryElement" xml:space="preserve">
199199
<value>Missing xml-doc 'summary' element</value>
200200
</data>
201201
<data name="MissingInspectionSummaryElementDescription" xml:space="preserve">
202202
<value>All inspections must have a short &lt;summary&gt; xml-doc comment describing what the inspection is looking for, that reads comfortably in IntelliSense.</value>
203203
</data>
204-
<data name="MissingInspectionSummaryElementMessageFormat" xml:space="preserve">
204+
<data name="MissingSummaryElementMessageFormat" xml:space="preserve">
205205
<value>XML documentation for type '{0}' is missing a &lt;summary&gt; element.</value>
206206
</data>
207207
<data name="MissingInspectionWhyElement" xml:space="preserve">
@@ -312,4 +312,7 @@
312312
<data name="MissingInspectionHostAppElementMessageFormat" xml:space="preserve">
313313
<value>XML documentation for type '{0}' is missing a 'hostApp' element.</value>
314314
</data>
315+
<data name="MissingAnnotationSummaryElementDescription" xml:space="preserve">
316+
<value>All annotations must have a short &lt;summary&gt; xml-doc comment describing what the annotation is used for, that reads comfortably in IntelliSense.</value>
317+
</data>
315318
</root>

0 commit comments

Comments
 (0)