This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
9.4 Namespace members
A namespace-member-declaration is either a namespace-declaration (§9.2) or a type-declaration (§9.5).
- namespace-member-declarations:
- namespace-member-declaration
namespace-member-declarations namespace-member-declaration
- namespace-member-declaration:
- namespace-declaration
type-declaration
A compilation unit or a namespace body can contain namespace-member-declarations, and such declarations contribute new members to the underlying declaration space of the containing compilation unit or namespace body.