Gets a sequence of namespaces declared in this scope. If this code element is declared in (or is) a third-party assembly, gets only methods used by the application.
If this is an assembly: - Gets a sequence of namespaces declared in this application assembly. For a third-party assembly, gets only namespaces used by the application. - Notice that if N assemblies declare the same namespace, there are NINamespace objects with a common Name value, one object for each assembly that declares the namespace. If this is a namespace: - The anonymous namespace doesn't have any child namespace. - See: INamespace.DirectChildNamespaces, INamespace.ParentNamespaces, INamespace.ParentNamespace This property getter has a O(this.ChildNamespaces.Count) time complexity. If this is a type returns an empty sequence. If this is a ICodeBase, return the same sequence as ICodeBaseView.ICodeBaseView.Namespaces.
Requirements
Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed