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

Module Using

Provides all using directive classes.

All using directives have the common base class UsingDirective.

Import path

import semmle.code.csharp.Using

Imports

Element

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

Classes

UsingDirective

A using directive. Either a namespace using directive (UsingNamespaceDirective) or a type using directive (UsingStaticDirective).

UsingNamespaceDirective

A namespace using directive, for example using System.

UsingStaticDirective

A type using directive, for example using static System.Console.