Skip to content

Commit ce18bea

Browse files
committed
Update inspection info.
1 parent 8094b70 commit ce18bea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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
@@ -350,6 +350,6 @@ If the parameter can be null, ignore this inspection result; passing a null valu
350350
<value>An assignment is immediately overridden by another assignment or is never referenced.</value>
351351
</data>
352352
<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>
353+
<value>A procedure that returns an object may return 'Nothing'. That will cause a runtime error 91 - "Object variable or With block variable not set" on subsequent member access. Perform an 'Is Nothing' check after the 'Set' assignment to guard against runtime errors.</value>
354354
</data>
355355
</root>

0 commit comments

Comments
 (0)