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

Predicate Cached::convConstantExpr

INTERNAL: Do not use.

Holds if there is a constant expression conversion from fromType to toType.

6.1.9: Implicit constant expression conversions.

Import path

import semmle.code.csharp.Conversion
predicate convConstantExpr(SignedIntegralConstantExpr e, SimpleType toType)