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

Module Collections

Provides classes for collections.

Import path

import semmle.code.csharp.commons.Collections

Imports

Collections

Provides definitions related to the namespace System.Collections.

csharp

The default C# QL library.

Predicates

isCollectionType

Holds if t is a collection type.

Classes

CollectionModificationAccess

An access that modifies a collection.

CollectionType

A collection type.

EmptyCollectionCreation

An object creation that creates an empty collection.

EmptyInitializationAccess

An access that initializes an empty collection.

ModifierMethodCall

A method call that modifies a collection.

NoAddAccess

An access that does not add items to a collection.