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

Module Variable

Provides classes for variables.

Import path

import semmle.code.cil.Variable

Classes

Field

A field.

LocalVariable

A local variable.

MethodParameter

A method parameter.

Parameter

A parameter of a Method or FunctionPointerType.

StackVariable

A stack variable. Either a local variable (LocalVariable) or a parameter (Parameter).

ThisParameter

A parameter corresponding to this.

Variable

A variable. Either a stack variable (StackVariable) or a field (Field).