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