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

Member predicate AnnotatedType::getUnderlyingType

Gets the underlying type, for example string in string? or int in int?. This also gets the underlying type of nullable value types (System.Nullable).

Type getUnderlyingType()