- 
                Notifications
    
You must be signed in to change notification settings  - Fork 316
 
Closed
Labels
bugIdentifies work items for known bugsIdentifies work items for known bugsfeature-inspectionsinspection-false-positiveA bug where an inspection result appears, even though it is incorrect.A bug where an inspection result appears, even though it is incorrect.resolverIssue is easier to resolve with knowledge of the internal resolver API and the Antlr4 parse trees.Issue is easier to resolve with knowledge of the internal resolver API and the Antlr4 parse trees.
Description
Rubberduck version information
Version 2.5.2.5958
OS: Microsoft Windows NT 10.0.19043.0, x64
Host Product: Microsoft Office x64
Host Version: 16.0.14228.20226
Host Executable: WINWORD.EXE
Description
Enumeration values used as parameters or as default values for method parameters are triggering the following code inspections
• UnassignedVariableUsageInspection
• UndeclaredVariableInspection
• VariableNotAssignedInspection
The affected public enumerations sit in Class definitions. Moving the enum declaration to a Module eliminates the code inspections.
Metadata
Metadata
Assignees
Labels
bugIdentifies work items for known bugsIdentifies work items for known bugsfeature-inspectionsinspection-false-positiveA bug where an inspection result appears, even though it is incorrect.A bug where an inspection result appears, even though it is incorrect.resolverIssue is easier to resolve with knowledge of the internal resolver API and the Antlr4 parse trees.Issue is easier to resolve with knowledge of the internal resolver API and the Antlr4 parse trees.