Type arguments cannot be applied to the expression '<expression>'
An import alias is defined with an Of clause that passes type arguments to the import alias.
Type arguments are used for generic types, and only classes, structures, interfaces, procedures, and delegates can be generic. Neither namespaces nor import aliases can be generic.
Error ID: BC32058
To correct this error
- Remove the Of clause and its type arguments from the import alias.
See Also
Concepts
References and the Imports Statement
Resolving a Reference When Multiple Variables Have the Same Name