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

Predicate isCollectionType

Holds if t is a collection type.

Import path

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