We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffed248 commit e39ef56Copy full SHA for e39ef56
1 file changed
csharp/ql/lib/semmle/code/csharp/controlflow/internal/Splitting.qll
@@ -40,14 +40,16 @@ private module Cached {
40
success in [false, true]
41
} or
42
TFinallySplit(FinallySplitting::FinallySplitType type, int nestLevel) {
43
- nestLevel = any(Statements::TryStmtTree t).nestLevel()
+ nestLevel = any(Statements::TryStmtTree t).nestLevel() and
44
+ none()
45
46
TExceptionHandlerSplit(ExceptionClass ec) or
47
TBooleanSplit(BooleanSplitting::BooleanSplitSubKind kind, boolean branch) {
48
kind.startsSplit(_) and
- branch in [false, true]
49
+ branch in [false, true] and
50
51
- TLoopSplit(LoopSplitting::AnalyzableLoopStmt loop)
52
+ TLoopSplit(LoopSplitting::AnalyzableLoopStmt loop) { none() }
53
}
54
55
import Cached
0 commit comments