Commit 1dff900
committed
C#: Speed up
The `definitelyHandles()` predicate calculates the relation for all exception
types, not just the ones that can actually be thrown (no automatic magic).
This commit inlines the definition of `definitelyHandles()` to get the proper
context (manual magic).throwMayBeUncaught() by not relying on definitelyHandles()
1 parent 4684bc9 commit 1dff900
File tree
1 file changed
+7
-1
lines changed- csharp/ql/src/semmle/code/csharp/controlflow
1 file changed
+7
-1
lines changedLines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1714 | 1714 | | |
1715 | 1715 | | |
1716 | 1716 | | |
1717 | | - | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
1718 | 1724 | | |
1719 | 1725 | | |
1720 | 1726 | | |
| |||
0 commit comments