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

Member predicate TypeMention::getParent

Gets the parent of this type mention, if any. For example, the parent of int is IEnumerable<int> in

void M(IEnumerable<int> p) {
  ...
}
TypeMention getParent()