Skip to content

Commit 6537713

Browse files
committed
Remove debug variables
1 parent c292a0e commit 6537713

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

Rubberduck.Parsing/Symbols/DeclarationFinder.cs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -376,23 +376,6 @@ private Declaration FindInReferencedProjectByPriority(Declaration enclosingProje
376376

377377
private IEnumerable<Declaration> FindAllInReferencedProjectByPriority(Declaration enclosingProject, string name, Func<Declaration, bool> predicate)
378378
{
379-
var v =
380-
MatchName(name)
381-
.Where(
382-
p =>
383-
p.DeclarationType.HasFlag(DeclarationType.Property) &&
384-
(Declaration.GetModuleParent(p) == null ||
385-
Declaration.GetModuleParent(p).DeclarationType == DeclarationType.ClassModule) &&
386-
((ClassModuleDeclaration) Declaration.GetModuleParent(p)).IsGlobalClassModule);
387-
388-
var x =
389-
MatchName(name)
390-
.Where(
391-
p =>
392-
p.DeclarationType.HasFlag(DeclarationType.Property) &&
393-
(Declaration.GetModuleParent(p) == null ||
394-
Declaration.GetModuleParent(p).DeclarationType == DeclarationType.ClassModule));
395-
396379
var interprojectMatches = MatchName(name).Where(predicate).ToList();
397380
var projectReferences = ((ProjectDeclaration)enclosingProject).ProjectReferences.ToList();
398381
if (interprojectMatches.Count == 0)

0 commit comments

Comments
 (0)