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.
2 parents f65094b + b4f2beb commit 12f50e5Copy full SHA for 12f50e5
Rubberduck.Parsing/Symbols/Declaration.cs
@@ -529,7 +529,7 @@ internal set
529
{
530
_asTypeDeclaration = value;
531
IsSelfAssigned = IsSelfAssigned || (DeclarationType == DeclarationType.Variable &&
532
- AsTypeDeclaration.DeclarationType == DeclarationType.UserDefinedType);
+ AsTypeDeclaration?.DeclarationType == DeclarationType.UserDefinedType);
533
}
534
535
0 commit comments