qtil
advanced-security/qtil-csharp 0.0.3
Search

Class Annotations::AnnotatedNullability

A type with annotated nullability, ?.

Import path

import semmle.code.csharp.AnnotatedType

Direct supertypes

Indirect supertypes

Inherited fields

Predicates

getBit

Gets the bit position in the bit-field, also used to order the annotations in the text format.

getSelfNullability

Gets a string representing the nullability, disregarding child nullability. For example, IDictionary<string!,string?>? has nullability ?.

getSuffix

Gets the string suffixing the type, if any.

Inherited predicates

getPrefix

Gets the string prefixing the type, if any.

from TypeAnnotation
toString

Gets a string representation of this type annotation.

from Nullability

Charpred