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 2fa14f9 commit 222730bCopy full SHA for 222730b
Rubberduck.VBEEditor/ComManagement/TypeLibs/Utility/VarDescExtensions.cs
@@ -32,7 +32,7 @@ public static bool IsValidVBAConstant(this VARDESC varDesc)
32
33
return (varDesc.memid & _ourConstantsDispatchMemberIDRangeBitmaskCheck) >= _ourConstantsDispatchMemberIDRangeStart
34
&& varDesc.varkind == VARKIND.VAR_STATIC
35
- && varDesc.desc.lpvarValue != IntPtr.Zero;
+ && varDesc.desc.oInst != 0;
36
}
37
38
0 commit comments