Class TypeMention
A type mention, that is, any mention of a type in a source code file.
For example, int is mentioned in int M() { return 1; }.
Import path
import semmle.code.csharp.TypeDirect supertypes
Predicates
| getLocation | Gets the location of this type mention. |
| getParent | Gets the parent of this type mention, if any. For example, the parent of |
| getTarget | Gets the element to which this type mention belongs, if any. For example, |
| getType | Gets the type being mentioned. |
| toString | Gets a textual representation of this type mention. |