Class Annotations::ObliviousNullability
A type that is “oblivious”, either because nullability is not applicable, because the code was not compiled in a nullable context, or because the C# language version is less than 8.
Import path
import semmle.code.csharp.AnnotatedTypeDirect supertypes
Indirect supertypes
Known direct subtypes
Inherited fields
Predicates
| getSelfNullability | Gets a string representing the nullability, disregarding child nullability. For example, |
Inherited predicates
| getBit | Gets the bit position in the bit-field, also used to order the annotations in the text format. | from Nullability |
| getPrefix | Gets the string prefixing the type, if any. | from TypeAnnotation |
| getSuffix | Gets the string suffixing the type, if any. | from TypeAnnotation |
| toString | Gets a string representation of this type annotation. | from Nullability |