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

Predicate convNumeric

INTERNAL: Do not use.

Holds if there is an implicit numeric conversion from fromType to toType.

6.1.2: Implicit numeric conversions.

Import path

import semmle.code.csharp.Conversion
predicate convNumeric(SimpleType fromType, SimpleType toType)