Module Annotations
Import path
import semmle.code.csharp.AnnotatedTypePredicates
| elementTypeAnnotations | Holds if the type annotations |
| getChild | Gets the |
| getChildNullability | Gets the |
| getNoFlagsNullability | Gets the nullability with no additional flags. |
| getNullability |
Classes
| AnnotatedNullability | A type with annotated nullability, |
| NoNullability | A type that is “fully” oblivious. The type itself is oblivious and all type arguments are oblivious. |
| NotAnnotatedNullability | A ref type not annotated with |
| Nullability | A structured type annotation representing type nullability. For example, |
| 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. |
| OutType | An annotation indicating that the parameter is |
| ReadonlyRefType | An annotation indicating that the type is a readonly reference. |
| RefTypeAnnotation | An annotation indicating that the variable or return is by |
| TypeAnnotation | An annotation on a type. |
| TypeAnnotations | A collection of type annotations. |