Skip to content

Commit af6741e

Browse files
Removed some outdated comments.
1 parent d3805dd commit af6741e

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

StyleCop.Analyzers/StyleCop.Analyzers/DocumentationRules/PropertySummaryDocumentationAnalyzer.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,19 +139,17 @@ private static void AnalyzeSummaryElement(SyntaxNodeAnalysisContext context, Xml
139139
{
140140
if (!getter.Modifiers.Any() && !setter.Modifiers.Any())
141141
{
142-
// Case 1: The getter and setter have the same declared accessibility
142+
// The getter and setter have the same declared accessibility
143143
getterVisible = true;
144144
setterVisible = true;
145145
}
146146
else if (getter.Modifiers.Any(SyntaxKind.PrivateKeyword))
147147
{
148-
// Case 3
149148
getterVisible = false;
150149
setterVisible = true;
151150
}
152151
else if (setter.Modifiers.Any(SyntaxKind.PrivateKeyword))
153152
{
154-
// Case 3
155153
getterVisible = true;
156154
setterVisible = false;
157155
}
@@ -163,7 +161,7 @@ private static void AnalyzeSummaryElement(SyntaxNodeAnalysisContext context, Xml
163161
|| propertyAccessibility == Accessibility.Private;
164162
if (propertyOnlyInternal)
165163
{
166-
// Case 2: Property only internal and no accessor is explicitly private
164+
// Property only internal and no accessor is explicitly private
167165
getterVisible = true;
168166
setterVisible = true;
169167
}
@@ -177,7 +175,6 @@ private static void AnalyzeSummaryElement(SyntaxNodeAnalysisContext context, Xml
177175
case Accessibility.Public:
178176
case Accessibility.ProtectedOrInternal:
179177
case Accessibility.Protected:
180-
// Case 4
181178
getterVisible = true;
182179
break;
183180

@@ -195,7 +192,6 @@ private static void AnalyzeSummaryElement(SyntaxNodeAnalysisContext context, Xml
195192
case Accessibility.Public:
196193
case Accessibility.ProtectedOrInternal:
197194
case Accessibility.Protected:
198-
// Case 4
199195
setterVisible = true;
200196
break;
201197

0 commit comments

Comments
 (0)