Skip to content

Commit

Permalink
Merge pull request #5573 from bclothier/RemoveComProjectFlag
Browse files Browse the repository at this point in the history
Remove com project flag
  • Loading branch information
MDoerner committed Sep 17, 2020
2 parents a110623 + 222730b commit 8695c05
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions Rubberduck.Parsing/VBA/ParseCoordinator.cs
Expand Up @@ -340,9 +340,6 @@ private void ExecuteCommonParseActivities(IReadOnlyCollection<QualifiedModuleNam
token.ThrowIfCancellationRequested();
}

//TODO: Remove the conditional compilation after loading from typelibs actually works.
//TODO: Improve the handling to avoid host crashing. See https://github.com/rubberduck-vba/Rubberduck/issues/5217
[Conditional("LOAD_USER_COM_PROJECTS")]
private void ProcessUserComProjects(ref CancellationToken token, ref IReadOnlyCollection<QualifiedModuleName> toParse, ref HashSet<QualifiedModuleName> toReresolveReferences, ref IReadOnlyCollection<string> newProjectIds)
{
RefreshUserComProjects(toParse, newProjectIds);
Expand Down
Expand Up @@ -32,7 +32,7 @@ public static bool IsValidVBAConstant(this VARDESC varDesc)

return (varDesc.memid & _ourConstantsDispatchMemberIDRangeBitmaskCheck) >= _ourConstantsDispatchMemberIDRangeStart
&& varDesc.varkind == VARKIND.VAR_STATIC
&& varDesc.desc.lpvarValue != IntPtr.Zero;
&& varDesc.desc.oInst != 0;
}
}
}

0 comments on commit 8695c05

Please sign in to comment.