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

Module Assignable

Provides classes for working with assignables.

Import path

import semmle.code.csharp.Assignable

Imports

csharp

The default C# QL library.

Classes

Assignable

An assignable, that is, an element that can be assigned to. Either a variable (Variable), a property (Property), an indexer (Indexer), or an event (Event).

AssignableDefinition

An assignable definition.

AssignableMember

An assignable that is also a member. Either a field (Field), a property (Property), an indexer (Indexer), or an event (Event).

AssignableMemberAccess

An access to an assignable that is also a member. Either a field access (FieldAccess), a property access (PropertyAccess), an indexer access (IndexerAccess), or an event access (EventAccess).

AssignableRead

An access to an assignable that reads the underlying value. Either a variable read (VariableRead), a property read (PropertyRead), an indexer read (IndexerRead), or an event read (EventRead).

AssignableWrite

An access to an assignable that updates the underlying value. Either a variable write (VariableWrite), a property write (PropertyWrite), an indexer write (IndexerWrite), or an event write (EventWrite).

Modules

AssignableDefinitions

Provides different types of AssignableDefinitions.

AssignableInternal

INTERNAL: Do not use.