Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
An Imports statement follows a declaration statement within a source file.
The Imports statement imports namespace names from referenced projects and assemblies, as well as namespace names defined within the same project as the one in which it appears. Imports statements must be placed in a source file before any references to identifiers.
Error ID: BC30465
To correct this error
- Move the
Importsstatement to the top of the source file, before any declaration statements.
See also
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.