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

Module Element

Provides the Element class, the base class of all C# program elements.

Import path

import semmle.code.csharp.Element

Imports

Location

Provides the Location class to give a location for each program element.

Classes

Element

A program element. Either a control flow element (ControlFlowElement), an attribute (Attribute), a declaration (Declaration), a modifier (Modifier), a namespace (Namespace), a namespace declaration (NamespaceDeclaration), a using directive (UsingDirective), or type parameter constraints (TypeParameterConstraints).

NamedElement

An element that has a name.