CodeQL library for C#
codeql/csharp-all 3.1.1 (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()