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

Predicate Annotations::getChildNullability

Gets the ith child of nullability n. Returns n if the nullability is not explicitly stored in the database, since many type annotations will have consistent nullability.

Import path

import csharp
Nullability getChildNullability(Nullability n, int i)