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

Predicate isCollectionType

Holds if t is a collection type.

Import path

import semmle.code.csharp.commons.Collections
predicate isCollectionType(ValueOrRefType t)