CodeQL library for C#
codeql/csharp-all 0.9.2-dev (changelog, source)
Search

Member predicate NamespaceDeclaration::getAChildNamespaceDeclaration

Gets a child namespace declaration, if any. In the following example, namespace N2 on line 2 is a child namespace declaration of namespace N1 on line 1.

namespace N1 {
  namespace N2 {
    ...
  }
}
NamespaceDeclaration getAChildNamespaceDeclaration()