CodeQL library for C#
codeql/csharp-all 3.0.1-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)