We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 444ccc1 commit 1b3b59eCopy full SHA for 1b3b59e
Rubberduck.Inspections/Abstract/InspectionResultBase.cs
@@ -37,7 +37,7 @@ protected InspectionResultBase(IInspection inspection, QualifiedModuleName quali
37
38
private QualifiedMemberName? GetQualifiedMemberName(Declaration target)
39
{
40
- if (string.IsNullOrEmpty(target.QualifiedName.QualifiedModuleName.ComponentName))
+ if (string.IsNullOrEmpty(target?.QualifiedName.QualifiedModuleName.ComponentName))
41
42
return null;
43
}
0 commit comments