Skip to content

Commit 81110dc

Browse files
committed
C#: Add new test for switch statements.
1 parent 4780952 commit 81110dc

File tree

9 files changed

+211
-0
lines changed

9 files changed

+211
-0
lines changed

csharp/ql/test/library-tests/controlflow/graph/BasicBlock.expected

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,11 @@
555555
| Switch.cs:131:40:131:40 | access to local variable s | Switch.cs:131:40:131:40 | access to local variable s | 1 |
556556
| Switch.cs:131:43:131:51 | ... => ... | Switch.cs:131:48:131:51 | null | 3 |
557557
| Switch.cs:131:56:131:66 | call to method ToString | Switch.cs:131:56:131:66 | call to method ToString | 1 |
558+
| Switch.cs:134:9:134:11 | enter M13 | Switch.cs:134:9:134:11 | exit M13 | 9 |
559+
| Switch.cs:144:9:144:11 | enter M14 | Switch.cs:148:18:148:18 | 1 | 6 |
560+
| Switch.cs:144:9:144:11 | exit M14 | Switch.cs:144:9:144:11 | exit M14 | 1 |
561+
| Switch.cs:148:28:148:28 | 1 | Switch.cs:148:21:148:29 | return ...; | 2 |
562+
| Switch.cs:149:13:149:20 | default: | Switch.cs:149:22:149:31 | return ...; | 4 |
558563
| TypeAccesses.cs:3:10:3:10 | enter M | TypeAccesses.cs:7:13:7:22 | ... is ... | 14 |
559564
| TypeAccesses.cs:7:25:7:25 | ; | TypeAccesses.cs:7:25:7:25 | ; | 1 |
560565
| TypeAccesses.cs:8:9:8:28 | ... ...; | TypeAccesses.cs:3:10:3:10 | exit M | 4 |

csharp/ql/test/library-tests/controlflow/graph/Condition.expected

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,8 @@ conditionBlock
603603
| Switch.cs:129:12:129:14 | enter M12 | Switch.cs:131:43:131:51 | ... => ... | false |
604604
| Switch.cs:129:12:129:14 | enter M12 | Switch.cs:131:56:131:66 | call to method ToString | true |
605605
| Switch.cs:131:40:131:40 | access to local variable s | Switch.cs:131:56:131:66 | call to method ToString | false |
606+
| Switch.cs:144:9:144:11 | enter M14 | Switch.cs:148:28:148:28 | 1 | true |
607+
| Switch.cs:144:9:144:11 | enter M14 | Switch.cs:149:13:149:20 | default: | false |
606608
| TypeAccesses.cs:3:10:3:10 | enter M | TypeAccesses.cs:7:25:7:25 | ; | true |
607609
| VarDecls.cs:19:7:19:8 | enter M3 | VarDecls.cs:25:24:25:24 | access to local variable x | true |
608610
| VarDecls.cs:19:7:19:8 | enter M3 | VarDecls.cs:25:28:25:28 | access to local variable y | false |

csharp/ql/test/library-tests/controlflow/graph/Dominance.expected

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2249,6 +2249,25 @@ dominance
22492249
| Switch.cs:131:40:131:40 | access to local variable s | Switch.cs:131:56:131:66 | call to method ToString |
22502250
| Switch.cs:131:43:131:43 | _ | Switch.cs:131:48:131:51 | null |
22512251
| Switch.cs:131:43:131:51 | ... => ... | Switch.cs:131:43:131:43 | _ |
2252+
| Switch.cs:134:9:134:11 | enter M13 | Switch.cs:135:5:142:5 | {...} |
2253+
| Switch.cs:135:5:142:5 | {...} | Switch.cs:136:9:141:9 | switch (...) {...} |
2254+
| Switch.cs:136:9:141:9 | switch (...) {...} | Switch.cs:136:17:136:17 | access to parameter i |
2255+
| Switch.cs:136:17:136:17 | access to parameter i | Switch.cs:138:13:138:20 | default: |
2256+
| Switch.cs:138:13:138:20 | default: | Switch.cs:138:30:138:30 | 1 |
2257+
| Switch.cs:138:22:138:31 | return ...; | Switch.cs:134:9:134:11 | exit M13 |
2258+
| Switch.cs:138:29:138:30 | -... | Switch.cs:138:22:138:31 | return ...; |
2259+
| Switch.cs:138:30:138:30 | 1 | Switch.cs:138:29:138:30 | -... |
2260+
| Switch.cs:144:9:144:11 | enter M14 | Switch.cs:145:5:152:5 | {...} |
2261+
| Switch.cs:145:5:152:5 | {...} | Switch.cs:146:9:151:9 | switch (...) {...} |
2262+
| Switch.cs:146:9:151:9 | switch (...) {...} | Switch.cs:146:17:146:17 | access to parameter i |
2263+
| Switch.cs:146:17:146:17 | access to parameter i | Switch.cs:148:13:148:19 | case ...: |
2264+
| Switch.cs:148:13:148:19 | case ...: | Switch.cs:148:18:148:18 | 1 |
2265+
| Switch.cs:148:18:148:18 | 1 | Switch.cs:148:28:148:28 | 1 |
2266+
| Switch.cs:148:18:148:18 | 1 | Switch.cs:149:13:149:20 | default: |
2267+
| Switch.cs:148:28:148:28 | 1 | Switch.cs:148:21:148:29 | return ...; |
2268+
| Switch.cs:149:13:149:20 | default: | Switch.cs:149:30:149:30 | 1 |
2269+
| Switch.cs:149:29:149:30 | -... | Switch.cs:149:22:149:31 | return ...; |
2270+
| Switch.cs:149:30:149:30 | 1 | Switch.cs:149:29:149:30 | -... |
22522271
| TypeAccesses.cs:3:10:3:10 | enter M | TypeAccesses.cs:4:5:9:5 | {...} |
22532272
| TypeAccesses.cs:4:5:9:5 | {...} | TypeAccesses.cs:5:9:5:26 | ... ...; |
22542273
| TypeAccesses.cs:5:9:5:26 | ... ...; | TypeAccesses.cs:5:25:5:25 | access to parameter o |
@@ -5092,6 +5111,25 @@ postDominance
50925111
| Switch.cs:131:28:131:40 | ... => ... | Switch.cs:131:17:131:17 | access to parameter o |
50935112
| Switch.cs:131:43:131:43 | _ | Switch.cs:131:43:131:51 | ... => ... |
50945113
| Switch.cs:131:48:131:51 | null | Switch.cs:131:43:131:43 | _ |
5114+
| Switch.cs:134:9:134:11 | exit M13 | Switch.cs:138:22:138:31 | return ...; |
5115+
| Switch.cs:135:5:142:5 | {...} | Switch.cs:134:9:134:11 | enter M13 |
5116+
| Switch.cs:136:9:141:9 | switch (...) {...} | Switch.cs:135:5:142:5 | {...} |
5117+
| Switch.cs:136:17:136:17 | access to parameter i | Switch.cs:136:9:141:9 | switch (...) {...} |
5118+
| Switch.cs:138:13:138:20 | default: | Switch.cs:136:17:136:17 | access to parameter i |
5119+
| Switch.cs:138:22:138:31 | return ...; | Switch.cs:138:29:138:30 | -... |
5120+
| Switch.cs:138:29:138:30 | -... | Switch.cs:138:30:138:30 | 1 |
5121+
| Switch.cs:138:30:138:30 | 1 | Switch.cs:138:13:138:20 | default: |
5122+
| Switch.cs:144:9:144:11 | exit M14 | Switch.cs:148:21:148:29 | return ...; |
5123+
| Switch.cs:144:9:144:11 | exit M14 | Switch.cs:149:22:149:31 | return ...; |
5124+
| Switch.cs:145:5:152:5 | {...} | Switch.cs:144:9:144:11 | enter M14 |
5125+
| Switch.cs:146:9:151:9 | switch (...) {...} | Switch.cs:145:5:152:5 | {...} |
5126+
| Switch.cs:146:17:146:17 | access to parameter i | Switch.cs:146:9:151:9 | switch (...) {...} |
5127+
| Switch.cs:148:13:148:19 | case ...: | Switch.cs:146:17:146:17 | access to parameter i |
5128+
| Switch.cs:148:18:148:18 | 1 | Switch.cs:148:13:148:19 | case ...: |
5129+
| Switch.cs:148:21:148:29 | return ...; | Switch.cs:148:28:148:28 | 1 |
5130+
| Switch.cs:149:22:149:31 | return ...; | Switch.cs:149:29:149:30 | -... |
5131+
| Switch.cs:149:29:149:30 | -... | Switch.cs:149:30:149:30 | 1 |
5132+
| Switch.cs:149:30:149:30 | 1 | Switch.cs:149:13:149:20 | default: |
50955133
| TypeAccesses.cs:3:10:3:10 | exit M | TypeAccesses.cs:8:13:8:27 | Type t = ... |
50965134
| TypeAccesses.cs:4:5:9:5 | {...} | TypeAccesses.cs:3:10:3:10 | enter M |
50975135
| TypeAccesses.cs:5:9:5:26 | ... ...; | TypeAccesses.cs:4:5:9:5 | {...} |
@@ -7350,6 +7388,14 @@ blockDominance
73507388
| Switch.cs:131:40:131:40 | access to local variable s | Switch.cs:131:56:131:66 | call to method ToString |
73517389
| Switch.cs:131:43:131:51 | ... => ... | Switch.cs:131:43:131:51 | ... => ... |
73527390
| Switch.cs:131:56:131:66 | call to method ToString | Switch.cs:131:56:131:66 | call to method ToString |
7391+
| Switch.cs:134:9:134:11 | enter M13 | Switch.cs:134:9:134:11 | enter M13 |
7392+
| Switch.cs:144:9:144:11 | enter M14 | Switch.cs:144:9:144:11 | enter M14 |
7393+
| Switch.cs:144:9:144:11 | enter M14 | Switch.cs:144:9:144:11 | exit M14 |
7394+
| Switch.cs:144:9:144:11 | enter M14 | Switch.cs:148:28:148:28 | 1 |
7395+
| Switch.cs:144:9:144:11 | enter M14 | Switch.cs:149:13:149:20 | default: |
7396+
| Switch.cs:144:9:144:11 | exit M14 | Switch.cs:144:9:144:11 | exit M14 |
7397+
| Switch.cs:148:28:148:28 | 1 | Switch.cs:148:28:148:28 | 1 |
7398+
| Switch.cs:149:13:149:20 | default: | Switch.cs:149:13:149:20 | default: |
73537399
| TypeAccesses.cs:3:10:3:10 | enter M | TypeAccesses.cs:3:10:3:10 | enter M |
73547400
| TypeAccesses.cs:3:10:3:10 | enter M | TypeAccesses.cs:7:25:7:25 | ; |
73557401
| TypeAccesses.cs:3:10:3:10 | enter M | TypeAccesses.cs:8:9:8:28 | ... ...; |
@@ -9031,6 +9077,14 @@ postBlockDominance
90319077
| Switch.cs:131:40:131:40 | access to local variable s | Switch.cs:131:40:131:40 | access to local variable s |
90329078
| Switch.cs:131:43:131:51 | ... => ... | Switch.cs:131:43:131:51 | ... => ... |
90339079
| Switch.cs:131:56:131:66 | call to method ToString | Switch.cs:131:56:131:66 | call to method ToString |
9080+
| Switch.cs:134:9:134:11 | enter M13 | Switch.cs:134:9:134:11 | enter M13 |
9081+
| Switch.cs:144:9:144:11 | enter M14 | Switch.cs:144:9:144:11 | enter M14 |
9082+
| Switch.cs:144:9:144:11 | exit M14 | Switch.cs:144:9:144:11 | enter M14 |
9083+
| Switch.cs:144:9:144:11 | exit M14 | Switch.cs:144:9:144:11 | exit M14 |
9084+
| Switch.cs:144:9:144:11 | exit M14 | Switch.cs:148:28:148:28 | 1 |
9085+
| Switch.cs:144:9:144:11 | exit M14 | Switch.cs:149:13:149:20 | default: |
9086+
| Switch.cs:148:28:148:28 | 1 | Switch.cs:148:28:148:28 | 1 |
9087+
| Switch.cs:149:13:149:20 | default: | Switch.cs:149:13:149:20 | default: |
90349088
| TypeAccesses.cs:3:10:3:10 | enter M | TypeAccesses.cs:3:10:3:10 | enter M |
90359089
| TypeAccesses.cs:7:25:7:25 | ; | TypeAccesses.cs:7:25:7:25 | ; |
90369090
| TypeAccesses.cs:8:9:8:28 | ... ...; | TypeAccesses.cs:3:10:3:10 | enter M |

csharp/ql/test/library-tests/controlflow/graph/EnclosingCallable.expected

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2432,6 +2432,28 @@ nodeEnclosing
24322432
| Switch.cs:131:43:131:51 | ... => ... | Switch.cs:129:12:129:14 | M12 |
24332433
| Switch.cs:131:48:131:51 | null | Switch.cs:129:12:129:14 | M12 |
24342434
| Switch.cs:131:56:131:66 | call to method ToString | Switch.cs:129:12:129:14 | M12 |
2435+
| Switch.cs:134:9:134:11 | enter M13 | Switch.cs:134:9:134:11 | M13 |
2436+
| Switch.cs:134:9:134:11 | exit M13 | Switch.cs:134:9:134:11 | M13 |
2437+
| Switch.cs:135:5:142:5 | {...} | Switch.cs:134:9:134:11 | M13 |
2438+
| Switch.cs:136:9:141:9 | switch (...) {...} | Switch.cs:134:9:134:11 | M13 |
2439+
| Switch.cs:136:17:136:17 | access to parameter i | Switch.cs:134:9:134:11 | M13 |
2440+
| Switch.cs:138:13:138:20 | default: | Switch.cs:134:9:134:11 | M13 |
2441+
| Switch.cs:138:22:138:31 | return ...; | Switch.cs:134:9:134:11 | M13 |
2442+
| Switch.cs:138:29:138:30 | -... | Switch.cs:134:9:134:11 | M13 |
2443+
| Switch.cs:138:30:138:30 | 1 | Switch.cs:134:9:134:11 | M13 |
2444+
| Switch.cs:144:9:144:11 | enter M14 | Switch.cs:144:9:144:11 | M14 |
2445+
| Switch.cs:144:9:144:11 | exit M14 | Switch.cs:144:9:144:11 | M14 |
2446+
| Switch.cs:145:5:152:5 | {...} | Switch.cs:144:9:144:11 | M14 |
2447+
| Switch.cs:146:9:151:9 | switch (...) {...} | Switch.cs:144:9:144:11 | M14 |
2448+
| Switch.cs:146:17:146:17 | access to parameter i | Switch.cs:144:9:144:11 | M14 |
2449+
| Switch.cs:148:13:148:19 | case ...: | Switch.cs:144:9:144:11 | M14 |
2450+
| Switch.cs:148:18:148:18 | 1 | Switch.cs:144:9:144:11 | M14 |
2451+
| Switch.cs:148:21:148:29 | return ...; | Switch.cs:144:9:144:11 | M14 |
2452+
| Switch.cs:148:28:148:28 | 1 | Switch.cs:144:9:144:11 | M14 |
2453+
| Switch.cs:149:13:149:20 | default: | Switch.cs:144:9:144:11 | M14 |
2454+
| Switch.cs:149:22:149:31 | return ...; | Switch.cs:144:9:144:11 | M14 |
2455+
| Switch.cs:149:29:149:30 | -... | Switch.cs:144:9:144:11 | M14 |
2456+
| Switch.cs:149:30:149:30 | 1 | Switch.cs:144:9:144:11 | M14 |
24352457
| TypeAccesses.cs:3:10:3:10 | enter M | TypeAccesses.cs:3:10:3:10 | M |
24362458
| TypeAccesses.cs:3:10:3:10 | exit M | TypeAccesses.cs:3:10:3:10 | M |
24372459
| TypeAccesses.cs:4:5:9:5 | {...} | TypeAccesses.cs:3:10:3:10 | M |
@@ -3698,6 +3720,11 @@ blockEnclosing
36983720
| Switch.cs:131:40:131:40 | access to local variable s | Switch.cs:129:12:129:14 | M12 |
36993721
| Switch.cs:131:43:131:51 | ... => ... | Switch.cs:129:12:129:14 | M12 |
37003722
| Switch.cs:131:56:131:66 | call to method ToString | Switch.cs:129:12:129:14 | M12 |
3723+
| Switch.cs:134:9:134:11 | enter M13 | Switch.cs:134:9:134:11 | M13 |
3724+
| Switch.cs:144:9:144:11 | enter M14 | Switch.cs:144:9:144:11 | M14 |
3725+
| Switch.cs:144:9:144:11 | exit M14 | Switch.cs:144:9:144:11 | M14 |
3726+
| Switch.cs:148:28:148:28 | 1 | Switch.cs:144:9:144:11 | M14 |
3727+
| Switch.cs:149:13:149:20 | default: | Switch.cs:144:9:144:11 | M14 |
37013728
| TypeAccesses.cs:3:10:3:10 | enter M | TypeAccesses.cs:3:10:3:10 | M |
37023729
| TypeAccesses.cs:7:25:7:25 | ; | TypeAccesses.cs:3:10:3:10 | M |
37033730
| TypeAccesses.cs:8:9:8:28 | ... ...; | TypeAccesses.cs:3:10:3:10 | M |

csharp/ql/test/library-tests/controlflow/graph/EntryElement.expected

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1756,6 +1756,36 @@
17561756
| Switch.cs:131:43:131:51 | ... => ... | Switch.cs:131:43:131:51 | ... => ... |
17571757
| Switch.cs:131:48:131:51 | null | Switch.cs:131:48:131:51 | null |
17581758
| Switch.cs:131:56:131:66 | call to method ToString | Switch.cs:131:17:131:53 | ... switch { ... } |
1759+
| Switch.cs:135:5:142:5 | {...} | Switch.cs:135:5:142:5 | {...} |
1760+
| Switch.cs:136:9:141:9 | switch (...) {...} | Switch.cs:136:9:141:9 | switch (...) {...} |
1761+
| Switch.cs:136:17:136:17 | access to parameter i | Switch.cs:136:17:136:17 | access to parameter i |
1762+
| Switch.cs:138:13:138:20 | default: | Switch.cs:138:13:138:20 | default: |
1763+
| Switch.cs:138:22:138:31 | return ...; | Switch.cs:138:30:138:30 | 1 |
1764+
| Switch.cs:138:29:138:30 | -... | Switch.cs:138:30:138:30 | 1 |
1765+
| Switch.cs:138:30:138:30 | 1 | Switch.cs:138:30:138:30 | 1 |
1766+
| Switch.cs:139:13:139:19 | case ...: | Switch.cs:139:13:139:19 | case ...: |
1767+
| Switch.cs:139:18:139:18 | 1 | Switch.cs:139:18:139:18 | 1 |
1768+
| Switch.cs:139:21:139:29 | return ...; | Switch.cs:139:28:139:28 | 1 |
1769+
| Switch.cs:139:28:139:28 | 1 | Switch.cs:139:28:139:28 | 1 |
1770+
| Switch.cs:140:13:140:19 | case ...: | Switch.cs:140:13:140:19 | case ...: |
1771+
| Switch.cs:140:18:140:18 | 2 | Switch.cs:140:18:140:18 | 2 |
1772+
| Switch.cs:140:21:140:29 | return ...; | Switch.cs:140:28:140:28 | 2 |
1773+
| Switch.cs:140:28:140:28 | 2 | Switch.cs:140:28:140:28 | 2 |
1774+
| Switch.cs:145:5:152:5 | {...} | Switch.cs:145:5:152:5 | {...} |
1775+
| Switch.cs:146:9:151:9 | switch (...) {...} | Switch.cs:146:9:151:9 | switch (...) {...} |
1776+
| Switch.cs:146:17:146:17 | access to parameter i | Switch.cs:146:17:146:17 | access to parameter i |
1777+
| Switch.cs:148:13:148:19 | case ...: | Switch.cs:148:13:148:19 | case ...: |
1778+
| Switch.cs:148:18:148:18 | 1 | Switch.cs:148:18:148:18 | 1 |
1779+
| Switch.cs:148:21:148:29 | return ...; | Switch.cs:148:28:148:28 | 1 |
1780+
| Switch.cs:148:28:148:28 | 1 | Switch.cs:148:28:148:28 | 1 |
1781+
| Switch.cs:149:13:149:20 | default: | Switch.cs:149:13:149:20 | default: |
1782+
| Switch.cs:149:22:149:31 | return ...; | Switch.cs:149:30:149:30 | 1 |
1783+
| Switch.cs:149:29:149:30 | -... | Switch.cs:149:30:149:30 | 1 |
1784+
| Switch.cs:149:30:149:30 | 1 | Switch.cs:149:30:149:30 | 1 |
1785+
| Switch.cs:150:13:150:19 | case ...: | Switch.cs:150:13:150:19 | case ...: |
1786+
| Switch.cs:150:18:150:18 | 2 | Switch.cs:150:18:150:18 | 2 |
1787+
| Switch.cs:150:21:150:29 | return ...; | Switch.cs:150:28:150:28 | 2 |
1788+
| Switch.cs:150:28:150:28 | 2 | Switch.cs:150:28:150:28 | 2 |
17591789
| TypeAccesses.cs:4:5:9:5 | {...} | TypeAccesses.cs:4:5:9:5 | {...} |
17601790
| TypeAccesses.cs:5:9:5:26 | ... ...; | TypeAccesses.cs:5:9:5:26 | ... ...; |
17611791
| TypeAccesses.cs:5:13:5:25 | String s = ... | TypeAccesses.cs:5:25:5:25 | access to parameter o |

csharp/ql/test/library-tests/controlflow/graph/ExitElement.expected

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2433,6 +2433,56 @@
24332433
| Switch.cs:131:56:131:66 | call to method ToString | Switch.cs:131:40:131:40 | access to local variable s | null |
24342434
| Switch.cs:131:56:131:66 | call to method ToString | Switch.cs:131:48:131:51 | null | null |
24352435
| Switch.cs:131:56:131:66 | call to method ToString | Switch.cs:131:56:131:66 | call to method ToString | normal |
2436+
| Switch.cs:135:5:142:5 | {...} | Switch.cs:138:22:138:31 | return ...; | return |
2437+
| Switch.cs:135:5:142:5 | {...} | Switch.cs:139:21:139:29 | return ...; | return |
2438+
| Switch.cs:135:5:142:5 | {...} | Switch.cs:140:18:140:18 | 2 | no-match |
2439+
| Switch.cs:135:5:142:5 | {...} | Switch.cs:140:21:140:29 | return ...; | return |
2440+
| Switch.cs:136:9:141:9 | switch (...) {...} | Switch.cs:138:22:138:31 | return ...; | return |
2441+
| Switch.cs:136:9:141:9 | switch (...) {...} | Switch.cs:139:21:139:29 | return ...; | return |
2442+
| Switch.cs:136:9:141:9 | switch (...) {...} | Switch.cs:140:18:140:18 | 2 | no-match |
2443+
| Switch.cs:136:9:141:9 | switch (...) {...} | Switch.cs:140:21:140:29 | return ...; | return |
2444+
| Switch.cs:136:17:136:17 | access to parameter i | Switch.cs:136:17:136:17 | access to parameter i | normal |
2445+
| Switch.cs:138:13:138:20 | default: | Switch.cs:138:22:138:31 | return ...; | return |
2446+
| Switch.cs:138:22:138:31 | return ...; | Switch.cs:138:22:138:31 | return ...; | return |
2447+
| Switch.cs:138:29:138:30 | -... | Switch.cs:138:29:138:30 | -... | normal |
2448+
| Switch.cs:138:30:138:30 | 1 | Switch.cs:138:30:138:30 | 1 | normal |
2449+
| Switch.cs:139:13:139:19 | case ...: | Switch.cs:139:18:139:18 | 1 | no-match |
2450+
| Switch.cs:139:13:139:19 | case ...: | Switch.cs:139:21:139:29 | return ...; | return |
2451+
| Switch.cs:139:18:139:18 | 1 | Switch.cs:139:18:139:18 | 1 | match |
2452+
| Switch.cs:139:18:139:18 | 1 | Switch.cs:139:18:139:18 | 1 | no-match |
2453+
| Switch.cs:139:21:139:29 | return ...; | Switch.cs:139:21:139:29 | return ...; | return |
2454+
| Switch.cs:139:28:139:28 | 1 | Switch.cs:139:28:139:28 | 1 | normal |
2455+
| Switch.cs:140:13:140:19 | case ...: | Switch.cs:140:18:140:18 | 2 | no-match |
2456+
| Switch.cs:140:13:140:19 | case ...: | Switch.cs:140:21:140:29 | return ...; | return |
2457+
| Switch.cs:140:18:140:18 | 2 | Switch.cs:140:18:140:18 | 2 | match |
2458+
| Switch.cs:140:18:140:18 | 2 | Switch.cs:140:18:140:18 | 2 | no-match |
2459+
| Switch.cs:140:21:140:29 | return ...; | Switch.cs:140:21:140:29 | return ...; | return |
2460+
| Switch.cs:140:28:140:28 | 2 | Switch.cs:140:28:140:28 | 2 | normal |
2461+
| Switch.cs:145:5:152:5 | {...} | Switch.cs:148:21:148:29 | return ...; | return |
2462+
| Switch.cs:145:5:152:5 | {...} | Switch.cs:149:22:149:31 | return ...; | return |
2463+
| Switch.cs:145:5:152:5 | {...} | Switch.cs:150:18:150:18 | 2 | no-match |
2464+
| Switch.cs:145:5:152:5 | {...} | Switch.cs:150:21:150:29 | return ...; | return |
2465+
| Switch.cs:146:9:151:9 | switch (...) {...} | Switch.cs:148:21:148:29 | return ...; | return |
2466+
| Switch.cs:146:9:151:9 | switch (...) {...} | Switch.cs:149:22:149:31 | return ...; | return |
2467+
| Switch.cs:146:9:151:9 | switch (...) {...} | Switch.cs:150:18:150:18 | 2 | no-match |
2468+
| Switch.cs:146:9:151:9 | switch (...) {...} | Switch.cs:150:21:150:29 | return ...; | return |
2469+
| Switch.cs:146:17:146:17 | access to parameter i | Switch.cs:146:17:146:17 | access to parameter i | normal |
2470+
| Switch.cs:148:13:148:19 | case ...: | Switch.cs:148:18:148:18 | 1 | no-match |
2471+
| Switch.cs:148:13:148:19 | case ...: | Switch.cs:148:21:148:29 | return ...; | return |
2472+
| Switch.cs:148:18:148:18 | 1 | Switch.cs:148:18:148:18 | 1 | match |
2473+
| Switch.cs:148:18:148:18 | 1 | Switch.cs:148:18:148:18 | 1 | no-match |
2474+
| Switch.cs:148:21:148:29 | return ...; | Switch.cs:148:21:148:29 | return ...; | return |
2475+
| Switch.cs:148:28:148:28 | 1 | Switch.cs:148:28:148:28 | 1 | normal |
2476+
| Switch.cs:149:13:149:20 | default: | Switch.cs:149:22:149:31 | return ...; | return |
2477+
| Switch.cs:149:22:149:31 | return ...; | Switch.cs:149:22:149:31 | return ...; | return |
2478+
| Switch.cs:149:29:149:30 | -... | Switch.cs:149:29:149:30 | -... | normal |
2479+
| Switch.cs:149:30:149:30 | 1 | Switch.cs:149:30:149:30 | 1 | normal |
2480+
| Switch.cs:150:13:150:19 | case ...: | Switch.cs:150:18:150:18 | 2 | no-match |
2481+
| Switch.cs:150:13:150:19 | case ...: | Switch.cs:150:21:150:29 | return ...; | return |
2482+
| Switch.cs:150:18:150:18 | 2 | Switch.cs:150:18:150:18 | 2 | match |
2483+
| Switch.cs:150:18:150:18 | 2 | Switch.cs:150:18:150:18 | 2 | no-match |
2484+
| Switch.cs:150:21:150:29 | return ...; | Switch.cs:150:21:150:29 | return ...; | return |
2485+
| Switch.cs:150:28:150:28 | 2 | Switch.cs:150:28:150:28 | 2 | normal |
24362486
| TypeAccesses.cs:4:5:9:5 | {...} | TypeAccesses.cs:8:13:8:27 | Type t = ... | normal |
24372487
| TypeAccesses.cs:5:9:5:26 | ... ...; | TypeAccesses.cs:5:13:5:25 | String s = ... | normal |
24382488
| TypeAccesses.cs:5:13:5:25 | String s = ... | TypeAccesses.cs:5:13:5:25 | String s = ... | normal |

0 commit comments

Comments
 (0)