Expected one of 'Dim', 'Const', 'Public', 'Private', 'Protected', 'Friend', 'Shadows', 'ReadOnly' or 'Shared'
A declaration statement is missing a declaration keyword. One possible cause is that an attribute declaration calls a method.
Error ID: BC30195
To correct this error
Check to see if a method is declared inside an attribute declaration.
Start the statement with the appropriate declaration keyword.
See Also
Reference
Arrays cannot be declared with 'New'