Skip to content

Commit 4b8087b

Browse files
committed
Incorporate 4882 input
1 parent 629deec commit 4b8087b

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

Rubberduck.Resources/Inspections/InspectionInfo.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Rubberduck.Resources/Inspections/InspectionInfo.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ If the parameter can be null, ignore this inspection result; passing a null valu
305305
<value>Empty modules and classes either point to not yet implemented functionality or represent unnecessary baggage that can hurt the maintainability of a project.</value>
306306
</data>
307307
<data name="UnreachableCaseInspection" xml:space="preserve">
308-
<value>Detects Case Clauses that will never execute. </value>
308+
<value>A 'Case' condition either always evaluates to False, causes a run-time error, or the cumulative effect of prior 'Case' statements represents all possible values or a superset of the 'Case' statement's values. As a result, the 'Case' block will never execute and is "dead code", or the 'Case' statement is a run-time error waiting to happen. Consider removing, reordering, or modifying the 'Case' statement.</value>
309309
</data>
310310
<data name="UnhandledOnErrorResumeNextInspection" xml:space="preserve">
311311
<value>Error handling should be restored after using 'On Error Resume Next'.</value>

Rubberduck.Resources/Inspections/InspectionResults.Designer.cs

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

Rubberduck.Resources/Inspections/InspectionResults.resx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -321,13 +321,13 @@
321321
<value>Case clause '{0}' cannot be reached.</value>
322322
</data>
323323
<data name="UnreachableCaseInspection_CaseElse" xml:space="preserve">
324-
<value>Unreachable Case Else: all matches exist within prior Case statement(s).</value>
324+
<value>'Case Else' statement is unreachable</value>
325325
</data>
326326
<data name="UnreachableCaseInspection_TypeMismatch" xml:space="preserve">
327-
<value>Unreachable: Case Statement will cause a Run-time error 13 (Mismatch).</value>
327+
<value>'Case' statement will cause run-time error 13 (type mismatch).</value>
328328
</data>
329329
<data name="UnreachableCaseInspection_Unreachable" xml:space="preserve">
330-
<value>Unreachable: Never matches or is equivalent to a prior Case statement.</value>
330+
<value>'Case' statement is unreachable</value>
331331
</data>
332332
<data name="UnhandledOnErrorResumeNextInspection" xml:space="preserve">
333333
<value>Errors are ignored but never handled again.</value>
@@ -353,10 +353,10 @@
353353
<comment>{0} Procedure name</comment>
354354
</data>
355355
<data name="UnreachableCaseInspection_InherentlyUnreachable" xml:space="preserve">
356-
<value>Unreachable: Case Statement contains invalid range clause(s).</value>
356+
<value>'Case' statement Range Clauses must be expressed '[x] To [y]' where [x] is less than or equal to [y]'</value>
357357
</data>
358358
<data name="UnreachableCaseInspection_Overflow" xml:space="preserve">
359-
<value>Unreachable: Case Statement will cause a Run-time error 6 (Overflow).</value>
359+
<value>'Case' statement will cause run-time error 6 (Overflow)</value>
360360
</data>
361361
<data name="DuplicatedAnnotationInspection" xml:space="preserve">
362362
<value>Annotation '{0}' is duplicated.</value>

0 commit comments

Comments
 (0)