Skip to content

Commit 56c43dc

Browse files
committed
Add resources for ExcelMemberMayReturnNothingInspection.
1 parent 6284ead commit 56c43dc

File tree

6 files changed

+282
-245
lines changed

6 files changed

+282
-245
lines changed

Rubberduck.Resources/Inspections/InspectionInfo.Designer.cs

Lines changed: 89 additions & 80 deletions
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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,4 +349,7 @@ If the parameter can be null, ignore this inspection result; passing a null valu
349349
<data name="AssignmentNotUsedInspection" xml:space="preserve">
350350
<value>An assignment is immediately overridden by another assignment or is never referenced.</value>
351351
</data>
352+
<data name="ExcelMemberMayReturnNothingInspection" xml:space="preserve">
353+
<value>A Function or Property returning a reference type that can be 'Nothing' should not have the return value used with a test for 'Is Nothing'. If the member does not return a valid object, attempting to use the return value will result in a run-time error 91 - "Object variable or With block variable not set".</value>
354+
</data>
352355
</root>

0 commit comments

Comments
 (0)