@@ -200,12 +200,12 @@ within the enclosing project other than the enclosing module.
200
200
{
201
201
return new SimpleNameExpression ( accessibleConstant , ExpressionClassification . Variable , _context ) ;
202
202
}
203
- var accessibleType = _declarationFinder . FindMemberEnclosedProjectWithoutEnclosingModule ( _project , _module , _parent , _name , DeclarationType . Enumeration ) ;
203
+ var accessibleType = _declarationFinder . FindMemberEnclosedProjectWithoutEnclosingModule ( _project , _module , _parent , _name , DeclarationType . EnumerationMember ) ;
204
204
if ( IsValidMatch ( accessibleType , _name ) )
205
205
{
206
206
return new SimpleNameExpression ( accessibleType , ExpressionClassification . Type , _context ) ;
207
207
}
208
- var accessibleMember = _declarationFinder . FindMemberEnclosedProjectWithoutEnclosingModule ( _project , _module , _parent , _name , DeclarationType . EnumerationMember ) ;
208
+ var accessibleMember = _declarationFinder . FindMemberEnclosedProjectWithoutEnclosingModule ( _project , _module , _parent , _name , DeclarationType . Enumeration ) ;
209
209
if ( IsValidMatch ( accessibleMember , _name ) )
210
210
{
211
211
return new SimpleNameExpression ( accessibleMember , ExpressionClassification . Value , _context ) ;
@@ -328,6 +328,7 @@ private IBoundExpression ResolveModuleReferencedProjectNamespace()
328
328
{
329
329
return new SimpleNameExpression ( globalClassModuleSubroutine , ExpressionClassification . Subroutine , _context ) ;
330
330
}
331
+
331
332
return null ;
332
333
}
333
334
@@ -354,7 +355,7 @@ private bool IsValidMatch(Declaration match, string name)
354
355
{
355
356
return true ;
356
357
}
357
- if ( ( ( IDeclarationWithParameter ) match ) . Parameters . Count ( ) > 0 )
358
+ if ( ( ( IDeclarationWithParameter ) match ) . Parameters . Any ( ) )
358
359
{
359
360
return true ;
360
361
}
0 commit comments