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
- Remove the
Of
clause and its type arguments from the import alias.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: