Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space CBCSHARP and version Publish

...

Ql
import csharp

from SwitchStmt switch, Enum enum, EnumConstant missing
where
  switch.getCondition().getType() = enum and
 and missing.getDeclaringType() = enum and
 and not switch.getAConstCase().getExpr() = missing.getAnAccess() and
 and not exists(switch.getDefaultCase())
select switch
Htmlcomment
hiddentrue
hashconfluence_uploader_hash:2354da890509ac6a2d0f5e79222fa93bf4491615ba3b14f7b9c4c3af9296845da0681cfce129410b