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

Predicate signature Make0::InputSig1::matchAll

Holds if case c matches all possible values, for example, if it is a match-all pattern like Object o.

A match-all case can still ultimately fail to match if it has a guard.

Default cases are handled automatically. The final case in an exhaustive switch should not be handled here but through isExhaustive.

signature predicate matchAll(Case c)