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

Member predicate Cast::stripCasts

Gets an expression that is the result of stripping (recursively) all implicit and explicit casts from this expression, if any. For example, the result is reader if this expression is either (IDisposable)reader or reader as IDisposable.

Expr stripCasts()