From 4fabde3f8fa6e35eb13cff3489154755bb3c12da Mon Sep 17 00:00:00 2001 From: Tom Hvitved Date: Thu, 3 Dec 2026 10:03:45 +0100 Subject: [PATCH 01/11] Java: Add more nullness tests --- java/ql/test/query-tests/Nullness/A.java | 9 ++++++ .../query-tests/Nullness/NullAlways.expected | 28 +++++++++---------- .../query-tests/Nullness/NullMaybe.expected | 10 +++---- 3 files changed, 28 insertions(+), 19 deletions(-) diff --git a/java/ql/test/query-tests/Nullness/A.java b/java/ql/test/query-tests/Nullness/A.java index c40f6e898d50..b3d8a970a170 100644 --- a/java/ql/test/query-tests/Nullness/A.java +++ b/java/ql/test/query-tests/Nullness/A.java @@ -56,6 +56,15 @@ public void assertTrueTest() { String assertTrue_ok = maybe() ? null : ""; assertTrue(assertTrue_ok != null); assertTrue_ok.toString(); + + String s1 = 1 > 2 ? null : ""; + assertTrue(s1 instanceof String); + s1.toString(); + + String s2 = 1 > 2 ? null : ""; + Boolean s2IsString = s2 instanceof String; + assertTrue(s2IsString); + s2.toString(); } public void assertFalseTest() { diff --git a/java/ql/test/query-tests/Nullness/NullAlways.expected b/java/ql/test/query-tests/Nullness/NullAlways.expected index 8520353a1c69..b2b7fbaa30ef 100644 --- a/java/ql/test/query-tests/Nullness/NullAlways.expected +++ b/java/ql/test/query-tests/Nullness/NullAlways.expected @@ -1,16 +1,16 @@ | A.java:15:7:15:9 | not | Variable $@ is always null at this dereference. | A.java:13:5:13:22 | Object not | not | -| A.java:97:18:97:36 | synchronized_always | Variable $@ is always null at this dereference. | A.java:96:5:96:38 | Object synchronized_always | synchronized_always | -| A.java:161:26:161:34 | do_always | Variable $@ is always null at this dereference. | A.java:159:5:159:28 | String do_always | do_always | -| A.java:167:26:167:34 | do_maybe1 | Variable $@ is always null at this dereference. | A.java:165:5:165:28 | String do_maybe1 | do_maybe1 | -| A.java:187:26:187:37 | while_always | Variable $@ is always null at this dereference. | A.java:185:5:185:31 | String while_always | while_always | -| A.java:207:26:207:34 | if_always | Variable $@ is always null at this dereference. | A.java:205:5:205:28 | String if_always | if_always | -| A.java:223:24:223:29 | for_ok | Variable $@ is always null at this dereference. | A.java:219:5:219:19 | String for_ok | for_ok | -| A.java:226:26:226:35 | for_always | Variable $@ is always null at this dereference. | A.java:225:10:225:33 | String for_always | for_always | -| A.java:236:5:236:14 | array_null | Variable $@ is always null at this dereference. | A.java:235:5:235:28 | int[] array_null | array_null | -| A.java:248:24:248:34 | arrayaccess | Variable $@ is always null at this dereference. | A.java:244:5:244:29 | int[] arrayaccess | arrayaccess | -| A.java:249:24:249:34 | fieldaccess | Variable $@ is always null at this dereference. | A.java:245:5:245:32 | String[] fieldaccess | fieldaccess | -| A.java:250:24:250:35 | methodaccess | Variable $@ is always null at this dereference. | A.java:246:5:246:31 | Object methodaccess | methodaccess | -| A.java:264:21:264:30 | for_always | Variable $@ is always null at this dereference. | A.java:263:5:263:35 | List for_always | for_always | -| A.java:266:24:266:33 | for_always | Variable $@ is always null at this dereference. | A.java:263:5:263:35 | List for_always | for_always | -| A.java:293:5:293:5 | s | Variable $@ is always null at this dereference. | A.java:291:5:291:33 | Object s | s | +| A.java:106:18:106:36 | synchronized_always | Variable $@ is always null at this dereference. | A.java:105:5:105:38 | Object synchronized_always | synchronized_always | +| A.java:170:26:170:34 | do_always | Variable $@ is always null at this dereference. | A.java:168:5:168:28 | String do_always | do_always | +| A.java:176:26:176:34 | do_maybe1 | Variable $@ is always null at this dereference. | A.java:174:5:174:28 | String do_maybe1 | do_maybe1 | +| A.java:196:26:196:37 | while_always | Variable $@ is always null at this dereference. | A.java:194:5:194:31 | String while_always | while_always | +| A.java:216:26:216:34 | if_always | Variable $@ is always null at this dereference. | A.java:214:5:214:28 | String if_always | if_always | +| A.java:232:24:232:29 | for_ok | Variable $@ is always null at this dereference. | A.java:228:5:228:19 | String for_ok | for_ok | +| A.java:235:26:235:35 | for_always | Variable $@ is always null at this dereference. | A.java:234:10:234:33 | String for_always | for_always | +| A.java:245:5:245:14 | array_null | Variable $@ is always null at this dereference. | A.java:244:5:244:28 | int[] array_null | array_null | +| A.java:257:24:257:34 | arrayaccess | Variable $@ is always null at this dereference. | A.java:253:5:253:29 | int[] arrayaccess | arrayaccess | +| A.java:258:24:258:34 | fieldaccess | Variable $@ is always null at this dereference. | A.java:254:5:254:32 | String[] fieldaccess | fieldaccess | +| A.java:259:24:259:35 | methodaccess | Variable $@ is always null at this dereference. | A.java:255:5:255:31 | Object methodaccess | methodaccess | +| A.java:273:21:273:30 | for_always | Variable $@ is always null at this dereference. | A.java:272:5:272:35 | List for_always | for_always | +| A.java:275:24:275:33 | for_always | Variable $@ is always null at this dereference. | A.java:272:5:272:35 | List for_always | for_always | +| A.java:302:5:302:5 | s | Variable $@ is always null at this dereference. | A.java:300:5:300:33 | Object s | s | | B.java:304:7:304:9 | ioe | Variable $@ is always null at this dereference. | B.java:297:5:297:25 | Exception ioe | ioe | diff --git a/java/ql/test/query-tests/Nullness/NullMaybe.expected b/java/ql/test/query-tests/Nullness/NullMaybe.expected index a9a3dd4913c4..9ffd8e65b90a 100644 --- a/java/ql/test/query-tests/Nullness/NullMaybe.expected +++ b/java/ql/test/query-tests/Nullness/NullMaybe.expected @@ -1,9 +1,9 @@ | A.java:48:5:48:21 | assertNotNull_ok3 | Variable $@ may be null at this access because of $@ assignment. | A.java:46:5:46:61 | Object assertNotNull_ok3 | assertNotNull_ok3 | A.java:46:12:46:60 | assertNotNull_ok3 | this | -| A.java:172:26:172:33 | do_maybe | Variable $@ may be null at this access because of $@ assignment. | A.java:170:5:170:25 | String do_maybe | do_maybe | A.java:173:7:173:21 | ...=... | this | -| A.java:193:26:193:36 | while_maybe | Variable $@ may be null at this access because of $@ assignment. | A.java:191:5:191:28 | String while_maybe | while_maybe | A.java:194:7:194:24 | ...=... | this | -| A.java:215:24:215:31 | if_maybe | Variable $@ may be null at this access because of $@ assignment. | A.java:211:5:211:25 | String if_maybe | if_maybe | A.java:213:7:213:21 | ...=... | this | -| A.java:230:26:230:34 | for_maybe | Variable $@ may be null at this access because of $@ assignment. | A.java:229:10:229:30 | String for_maybe | for_maybe | A.java:229:35:229:50 | ...=... | this | -| A.java:273:24:273:32 | for_maybe | Variable $@ may be null at this access because of $@ assignment. | A.java:268:5:268:63 | List for_maybe | for_maybe | A.java:271:7:271:22 | ...=... | this | +| A.java:181:26:181:33 | do_maybe | Variable $@ may be null at this access because of $@ assignment. | A.java:179:5:179:25 | String do_maybe | do_maybe | A.java:182:7:182:21 | ...=... | this | +| A.java:202:26:202:36 | while_maybe | Variable $@ may be null at this access because of $@ assignment. | A.java:200:5:200:28 | String while_maybe | while_maybe | A.java:203:7:203:24 | ...=... | this | +| A.java:224:24:224:31 | if_maybe | Variable $@ may be null at this access because of $@ assignment. | A.java:220:5:220:25 | String if_maybe | if_maybe | A.java:222:7:222:21 | ...=... | this | +| A.java:239:26:239:34 | for_maybe | Variable $@ may be null at this access because of $@ assignment. | A.java:238:10:238:30 | String for_maybe | for_maybe | A.java:238:35:238:50 | ...=... | this | +| A.java:282:24:282:32 | for_maybe | Variable $@ may be null at this access because of $@ assignment. | A.java:277:5:277:63 | List for_maybe | for_maybe | A.java:280:7:280:22 | ...=... | this | | B.java:16:5:16:9 | param | Variable $@ may be null at this access because of $@ null argument. | B.java:15:23:15:34 | param | param | B.java:11:13:11:16 | null | this | | B.java:23:5:23:9 | param | Variable $@ may be null at this access as suggested by $@ null guard. | B.java:19:23:19:34 | param | param | B.java:20:9:20:21 | ... != ... | this | | B.java:57:7:57:8 | o7 | Variable $@ may be null at this access because of $@ assignment. | B.java:52:5:52:34 | Object o7 | o7 | B.java:52:12:52:33 | o7 | this | From 72fe8d152921e75c7b73ec19da33edc362bf0333 Mon Sep 17 00:00:00 2001 From: Tom Hvitved Date: Mon, 23 Nov 2026 15:28:57 +0100 Subject: [PATCH 02/11] Java: Add pattern guard and flow tests Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../library-tests/guards12/PrintAst.expected | 137 ++++++++++++++++++ java/ql/test/library-tests/guards12/Test.java | 42 ++++++ .../library-tests/guards12/guard.expected | 30 ++++ java/ql/test/library-tests/guards12/guard.ql | 8 + .../Test.java | 2 +- .../test.expected | 1 + 6 files changed, 219 insertions(+), 1 deletion(-) diff --git a/java/ql/test/library-tests/guards12/PrintAst.expected b/java/ql/test/library-tests/guards12/PrintAst.expected index 8920252fb29a..b054397ce39b 100644 --- a/java/ql/test/library-tests/guards12/PrintAst.expected +++ b/java/ql/test/library-tests/guards12/PrintAst.expected @@ -102,3 +102,140 @@ Test.java: # 32| 4: [BreakStmt] break # 33| 5: [DefaultCase] default # 34| 6: [BreakStmt] break +# 38| 3: [Class] R +# 38| 2: [FieldDeclaration] String value; +# 40| 4: [Method] matched +# 40| 3: [TypeAccess] void +#-----| 4: (Parameters) +# 40| 0: [Parameter] value +# 40| 0: [TypeAccess] Object +# 40| 5: [BlockStmt] { ... } +# 41| 5: [Method] unmatched +# 41| 3: [TypeAccess] void +#-----| 4: (Parameters) +# 41| 0: [Parameter] value +# 41| 0: [TypeAccess] Object +# 41| 5: [BlockStmt] { ... } +# 42| 6: [Method] caseNull +# 42| 3: [TypeAccess] void +#-----| 4: (Parameters) +# 42| 0: [Parameter] value +# 42| 0: [TypeAccess] Object +# 42| 5: [BlockStmt] { ... } +# 43| 7: [Method] caseString +# 43| 3: [TypeAccess] void +#-----| 4: (Parameters) +# 43| 0: [Parameter] value +# 43| 0: [TypeAccess] Object +# 43| 5: [BlockStmt] { ... } +# 44| 8: [Method] caseRecord +# 44| 3: [TypeAccess] void +#-----| 4: (Parameters) +# 44| 0: [Parameter] value +# 44| 0: [TypeAccess] Object +# 44| 5: [BlockStmt] { ... } +# 46| 9: [Method] patternChecks +# 46| 3: [TypeAccess] void +#-----| 4: (Parameters) +# 46| 0: [Parameter] value +# 46| 0: [TypeAccess] Object +# 46| 5: [BlockStmt] { ... } +# 47| 0: [IfStmt] if (...) +# 47| 0: [InstanceOfExpr] ...instanceof... +# 47| 0: [VarAccess] value +#-----| 2: (Single Local Variable Declaration) +# 47| 0: [TypeAccess] String +# 47| 1: [LocalVariableDeclExpr] s +# 47| 1: [BlockStmt] { ... } +# 48| 0: [ExprStmt] ; +# 48| 0: [MethodCall] matched(...) +# 48| 0: [VarAccess] value +# 49| 2: [BlockStmt] { ... } +# 50| 0: [ExprStmt] ; +# 50| 0: [MethodCall] unmatched(...) +# 50| 0: [VarAccess] value +# 52| 1: [SwitchStmt] switch (...) +# 52| -1: [VarAccess] value +# 53| 0: [ConstCase] case ... +# 53| -1: [ExprStmt] ; +# 53| 0: [MethodCall] caseNull(...) +# 53| 0: [VarAccess] value +# 53| 0: [NullLiteral] null +# 54| 1: [PatternCase] case +# 54| -1: [ExprStmt] ; +# 54| 0: [MethodCall] caseString(...) +# 54| 0: [VarAccess] value +#-----| 0: (Pattern case declaration) +# 54| 0: [TypeAccess] String +# 54| 1: [LocalVariableDeclExpr] s +# 55| 2: [PatternCase] case +# 55| -1: [ExprStmt] ; +# 55| 0: [MethodCall] caseRecord(...) +# 55| 0: [VarAccess] value +# 55| 0: [RecordPatternExpr] R(...) +# 55| -1: [TypeAccess] String +# 55| 0: [LocalVariableDeclExpr] s +# 56| 3: [DefaultCase] default +# 56| -1: [ExprStmt] ; +# 56| 0: [MethodCall] unmatched(...) +# 56| 0: [VarAccess] value +# 58| 2: [IfStmt] if (...) +# 58| 0: [InstanceOfExpr] ...instanceof... +# 58| 0: [VarAccess] value +# 58| 2: [RecordPatternExpr] R(...) +# 58| -1: [TypeAccess] String +# 58| 0: [LocalVariableDeclExpr] s +# 58| 1: [BlockStmt] { ... } +# 59| 0: [ExprStmt] ; +# 59| 0: [MethodCall] matchedRecord(...) +# 59| 0: [VarAccess] value +# 60| 2: [BlockStmt] { ... } +# 61| 0: [ExprStmt] ; +# 61| 0: [MethodCall] unmatched(...) +# 61| 0: [VarAccess] value +# 65| 10: [Method] matchedRecord +# 65| 3: [TypeAccess] void +#-----| 4: (Parameters) +# 65| 0: [Parameter] value +# 65| 0: [TypeAccess] Object +# 65| 5: [BlockStmt] { ... } +# 67| 11: [Method] patternChecksWithoutNullCase +# 67| 3: [TypeAccess] void +#-----| 4: (Parameters) +# 67| 0: [Parameter] value +# 67| 0: [TypeAccess] Object +# 67| 5: [BlockStmt] { ... } +# 68| 0: [IfStmt] if (...) +# 68| 0: [InstanceOfExpr] ...instanceof... +# 68| 0: [VarAccess] value +# 68| 2: [RecordPatternExpr] R(...) +# 68| -1: [TypeAccess] String +# 68| 0: [LocalVariableDeclExpr] s +# 68| 1: [BlockStmt] { ... } +# 69| 0: [ExprStmt] ; +# 69| 0: [MethodCall] matchedRecord(...) +# 69| 0: [VarAccess] value +# 70| 2: [BlockStmt] { ... } +# 71| 0: [ExprStmt] ; +# 71| 0: [MethodCall] unmatched(...) +# 71| 0: [VarAccess] value +# 73| 1: [SwitchStmt] switch (...) +# 73| -1: [VarAccess] value +# 74| 0: [PatternCase] case +# 74| -1: [ExprStmt] ; +# 74| 0: [MethodCall] caseString(...) +# 74| 0: [VarAccess] value +#-----| 0: (Pattern case declaration) +# 74| 0: [TypeAccess] String +# 74| 1: [LocalVariableDeclExpr] s +# 75| 1: [PatternCase] case +# 75| -1: [ExprStmt] ; +# 75| 0: [MethodCall] caseRecord(...) +# 75| 0: [VarAccess] value +# 75| 0: [RecordPatternExpr] R(...) +# 75| -1: [TypeAccess] String +# 75| 0: [LocalVariableDeclExpr] s +# 76| 2: [DefaultCase] default +# 76| -1: [ExprStmt] ; +# 76| 0: [MethodCall] unmatched(...) +# 76| 0: [VarAccess] value diff --git a/java/ql/test/library-tests/guards12/Test.java b/java/ql/test/library-tests/guards12/Test.java index 2c777467d4a7..8ce204ddd0b4 100644 --- a/java/ql/test/library-tests/guards12/Test.java +++ b/java/ql/test/library-tests/guards12/Test.java @@ -34,4 +34,46 @@ void foo(String s, boolean unknown) { break; } } + + record R(String value) {} + + void matched(Object value) {} + void unmatched(Object value) {} + void caseNull(Object value) {} + void caseString(Object value) {} + void caseRecord(Object value) {} + + void patternChecks(Object value) { + if (value instanceof String s) { + matched(value); + } else { + unmatched(value); + } + switch (value) { + case null -> caseNull(value); + case String s -> caseString(value); + case R(String s) -> caseRecord(value); + default -> unmatched(value); + } + if (value instanceof R(String s)) { + matchedRecord(value); + } else { + unmatched(value); + } + } + + void matchedRecord(Object value) {} + + void patternChecksWithoutNullCase(Object value) { + if (value instanceof R(String s)) { + matchedRecord(value); + } else { + unmatched(value); + } + switch (value) { + case String s -> caseString(value); + case R(String s) -> caseRecord(value); + default -> unmatched(value); + } + } } diff --git a/java/ql/test/library-tests/guards12/guard.expected b/java/ql/test/library-tests/guards12/guard.expected index 6055ba2c16e5..1ab993fd0173 100644 --- a/java/ql/test/library-tests/guards12/guard.expected +++ b/java/ql/test/library-tests/guards12/guard.expected @@ -39,6 +39,30 @@ hasBranchEdge | Test.java:29:26:29:33 | ... == ... | Test.java:29:26:29:28 | len | Test.java:29:26:29:33 | After ... == ... [true] | true | | Test.java:30:12:30:14 | "i" | Test.java:30:7:30:15 | case ... | Test.java:30:12:30:14 | After "i" [match] | match | | Test.java:30:12:30:14 | "i" | Test.java:30:7:30:15 | case ... | Test.java:33:7:33:14 | default | no match | +| Test.java:47:9:47:33 | ...instanceof... | Test.java:46:36:63:3 | { ... } | Test.java:47:33:47:33 | s | true | +| Test.java:47:9:47:33 | ...instanceof... | Test.java:46:36:63:3 | { ... } | Test.java:49:12:51:5 | { ... } | false | +| Test.java:53:12:53:15 | null | Test.java:52:5:52:18 | switch (...) | Test.java:53:29:53:33 | value | match | +| Test.java:53:12:53:15 | null | Test.java:52:5:52:18 | switch (...) | Test.java:54:7:54:22 | case | no match | +| Test.java:54:19:54:19 | s | Test.java:54:7:54:22 | case | Test.java:54:35:54:39 | value | match | +| Test.java:54:19:54:19 | s | Test.java:54:7:54:22 | case | Test.java:55:7:55:25 | case | no match | +| Test.java:55:12:55:22 | R(...) | Test.java:55:7:55:25 | case | Test.java:55:38:55:42 | value | match | +| Test.java:55:12:55:22 | R(...) | Test.java:55:7:55:25 | case | Test.java:56:7:56:16 | default | no match | +| Test.java:58:9:58:36 | ...instanceof... | Test.java:58:5:58:37 | if (...) | Test.java:58:35:58:35 | s | true | +| Test.java:58:9:58:36 | ...instanceof... | Test.java:58:5:58:37 | if (...) | Test.java:60:12:62:5 | { ... } | false | +| Test.java:68:9:68:36 | ...instanceof... | Test.java:67:51:78:3 | { ... } | Test.java:68:35:68:35 | s | true | +| Test.java:68:9:68:36 | ...instanceof... | Test.java:67:51:78:3 | { ... } | Test.java:70:12:72:5 | { ... } | false | +| Test.java:74:19:74:19 | s | Test.java:73:5:73:18 | switch (...) | Test.java:74:35:74:39 | value | match | +| Test.java:74:19:74:19 | s | Test.java:73:5:73:18 | switch (...) | Test.java:75:7:75:25 | case | no match | +| Test.java:75:12:75:22 | R(...) | Test.java:75:7:75:25 | case | Test.java:75:38:75:42 | value | match | +| Test.java:75:12:75:22 | R(...) | Test.java:75:7:75:25 | case | Test.java:76:7:76:16 | default | no match | +nullGuardMethodCall +| Test.java:47:9:47:13 | value | not null | Test.java:48:7:48:20 | matched(...) | +| Test.java:52:13:52:17 | value | not null | Test.java:54:24:54:40 | caseString(...) | +| Test.java:52:13:52:17 | value | not null | Test.java:55:27:55:43 | caseRecord(...) | +| Test.java:52:13:52:17 | value | not null | Test.java:56:18:56:33 | unmatched(...) | +| Test.java:52:13:52:17 | value | null | Test.java:53:20:53:34 | caseNull(...) | +| Test.java:58:9:58:13 | value | not null | Test.java:59:7:59:26 | matchedRecord(...) | +| Test.java:68:9:68:13 | value | not null | Test.java:69:7:69:26 | matchedRecord(...) | #select | Test.java:4:12:4:14 | "a" | Test.java:3:20:3:20 | s | Test.java:4:12:4:14 | "a" | match | match | Test.java:4:12:4:14 | After "a" [match] | | Test.java:4:12:4:14 | "a" | Test.java:3:20:3:20 | s | Test.java:4:12:4:14 | "a" | match | no match | Test.java:4:17:4:19 | "b" | @@ -110,3 +134,9 @@ hasBranchEdge | Test.java:29:26:29:33 | ... == ... | Test.java:29:26:29:28 | len | Test.java:29:33:29:33 | 4 | true | true | Test.java:29:26:29:33 | After ... == ... [true] | | Test.java:30:12:30:14 | "i" | Test.java:27:13:27:13 | s | Test.java:30:12:30:14 | "i" | match | match | Test.java:30:12:30:14 | After "i" [match] | | Test.java:30:12:30:14 | "i" | Test.java:27:13:27:13 | s | Test.java:30:12:30:14 | "i" | match | no match | Test.java:33:7:33:14 | default | +| Test.java:53:12:53:15 | null | Test.java:52:13:52:17 | value | Test.java:53:12:53:15 | null | match | match | Test.java:53:29:53:33 | value | +| Test.java:53:12:53:15 | null | Test.java:52:13:52:17 | value | Test.java:53:12:53:15 | null | match | no match | Test.java:54:7:54:22 | case | +| Test.java:53:12:53:15 | null | Test.java:52:13:52:17 | value | Test.java:53:12:53:15 | null | match | no match | Test.java:54:35:54:39 | value | +| Test.java:53:12:53:15 | null | Test.java:52:13:52:17 | value | Test.java:53:12:53:15 | null | match | no match | Test.java:55:7:55:25 | case | +| Test.java:53:12:53:15 | null | Test.java:52:13:52:17 | value | Test.java:53:12:53:15 | null | match | no match | Test.java:55:38:55:42 | value | +| Test.java:53:12:53:15 | null | Test.java:52:13:52:17 | value | Test.java:53:12:53:15 | null | match | no match | Test.java:56:7:56:16 | default | diff --git a/java/ql/test/library-tests/guards12/guard.ql b/java/ql/test/library-tests/guards12/guard.ql index 72b430267c35..c78a27a66bab 100644 --- a/java/ql/test/library-tests/guards12/guard.ql +++ b/java/ql/test/library-tests/guards12/guard.ql @@ -12,6 +12,14 @@ query predicate hasBranchEdge( ) } +query predicate nullGuardMethodCall(Guard g, GuardValue branch, MethodCall call) { + exists(BasicBlock bb | + g.valueControls(bb, branch) and + bb.getANode() = call.getControlFlowNode() and + branch.isNullness(_) + ) +} + from Guard g, BasicBlock bb, GuardValue branch, Expr e1, Expr e2, GuardValue eqval where g.valueControls(bb, branch) and diff --git a/java/ql/test/library-tests/object-tostring-flow-binding-patterns/Test.java b/java/ql/test/library-tests/object-tostring-flow-binding-patterns/Test.java index 445682392ad1..693b1a37d23c 100644 --- a/java/ql/test/library-tests/object-tostring-flow-binding-patterns/Test.java +++ b/java/ql/test/library-tests/object-tostring-flow-binding-patterns/Test.java @@ -13,7 +13,7 @@ public static String caller() { public static String test(Object o) { - if (o instanceof Object o2) { + if (o instanceof Object o2 && o2.hashCode() > 0) { // So we should know o2.toString is really Specific.toString(): return o2.toString(); } diff --git a/java/ql/test/library-tests/object-tostring-flow-binding-patterns/test.expected b/java/ql/test/library-tests/object-tostring-flow-binding-patterns/test.expected index be4c24ea0445..ce6db41f029d 100644 --- a/java/ql/test/library-tests/object-tostring-flow-binding-patterns/test.expected +++ b/java/ql/test/library-tests/object-tostring-flow-binding-patterns/test.expected @@ -4,6 +4,7 @@ | Test.java:9:21:9:37 | new Alternative(...) | Test$Alternative.Alternative | | Test.java:10:12:10:31 | test(...) | Test.test | | Test.java:10:17:10:30 | new Specific(...) | Test$Specific.Specific | +| Test.java:16:35:16:47 | hashCode(...) | java.lang.Object.hashCode | | Test.java:18:14:18:26 | toString(...) | Test$Specific.toString | | Test.java:22:27:22:39 | hashCode(...) | java.lang.Object.hashCode | | Test.java:22:57:22:69 | toString(...) | Test$Specific.toString | From 42958361910170dcdac4cfd60def041f3a960128 Mon Sep 17 00:00:00 2001 From: Tom Hvitved Date: Mon, 23 Nov 2026 15:28:48 +0100 Subject: [PATCH 03/11] Shared: Add pattern-aware control-flow graph support Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../codeql/controlflow/ControlFlowGraph.qll | 298 +++++++++++++++--- .../controlflow/codeql/controlflow/Guards.qll | 86 ++++- 2 files changed, 340 insertions(+), 44 deletions(-) diff --git a/shared/controlflow/codeql/controlflow/ControlFlowGraph.qll b/shared/controlflow/codeql/controlflow/ControlFlowGraph.qll index 285acb132fb1..8845ee35d0d5 100644 --- a/shared/controlflow/codeql/controlflow/ControlFlowGraph.qll +++ b/shared/controlflow/codeql/controlflow/ControlFlowGraph.qll @@ -407,6 +407,43 @@ signature module AstSig { boolean getValue(); } + /** + * A pattern that can match or fail to match a value. + * + * Sub patterns, if any, are treated conjunctively, which means they all must + * match in order for the whole pattern to match (unless this pattern is an + * `OrPattern` or a `NotPattern`). + */ + class Pattern extends AstNode; + + /** + * A pattern that matches when all of its nested patterns match, but does not + * by itself perform any test. + */ + class AndPattern extends Pattern; + + /** + * A pattern that matches when any of its nested patterns match, but does not + * by itself perform any test. + */ + class OrPattern extends Pattern; + + /** + * A pattern that matches when its nested pattern does not match, but does not + * by itself perform any test. + */ + class NotPattern extends Pattern { + /** Gets the nested pattern that this pattern negates. */ + Pattern getNegatedPattern(); + } + + /** + * A pattern that binds a value to a variable. Such a pattern does not by itself + * perform a test, but it may be a sub pattern of a pattern that performs for + * example a constructor test, `Some(x)`, or a type test, `int x`. + */ + class BindingPattern extends Pattern; + /** * A pattern matching expression. * @@ -561,6 +598,23 @@ module Make0 Ast> { * switch should not be handled here but through `isExhaustive`. */ default predicate matchAll(Case c) { none() } + + /** + * Holds if `pattern` performs a test that may fail. For example, in Rust + * the pattern `Some(x)` may fail while a tuple pattern cannot by itself + * fail (but its subpatterns may). + * + * `AndPattern`s, `OrPattern`s, and `NotPattern`s never perform a test by themselves. + */ + default predicate patternPerformsTest(Pattern pattern) { any() } + + /** + * Holds if `pattern` is exhaustive, meaning it is guaranteed to match. + * + * For example, in Rust patterns inside parameters and `for` loops must be + * exhaustive. + */ + default predicate patternIsExhaustive(Pattern pattern) { none() } } /** @@ -571,6 +625,16 @@ module Make0 Ast> { private import codeql.util.DenseRank private import codeql.util.Option + final private class PatternFinal = Pattern; + + /** + * A leaf pattern, that is, a pattern without sub patterns (but possibly + * with non-pattern children). For example `None` and `Some(42)` in Rust. + */ + private class LeafPattern extends PatternFinal { + LeafPattern() { not getChild(this, _) instanceof Pattern } + } + /** * Holds if `n` is executed in post-order or in-order. This means that an * additional node is created to represent `n` in the control flow graph. @@ -596,6 +660,7 @@ module Make0 Ast> { n instanceof Expr and exists(getChild(n, _)) and not Input1::preOrderExpr(n) and + (n instanceof Pattern implies n instanceof LeafPattern) and not n instanceof LogicalAndExpr and not n instanceof LogicalOrExpr and not n instanceof NullCoalescingExpr and @@ -604,7 +669,8 @@ module Make0 Ast> { not n instanceof Switch and not n instanceof Case and not n instanceof BlockStmt and - not n instanceof TryStmt + not n instanceof TryStmt and + not n instanceof PatternMatchExpr } /** @@ -770,6 +836,8 @@ module Make0 Ast> { or kind.isMatching() and ( + n instanceof Pattern + or n instanceof CatchClause or n = any(CatchClause catch).getPattern() @@ -779,6 +847,8 @@ module Make0 Ast> { n = any(Case case).getPattern(_) or exists(Parameter p | exists(p.getDefaultValue()) and n = p.getPattern()) + or + n = any(PatternMatchExpr pme).getPattern() ) } @@ -800,7 +870,14 @@ module Make0 Ast> { private string loopHeaderTag() { result = "[LoopHeader]" } - private string patternMatchTrueTag() { result = "[MatchTrue]" } + private string outerPatternMatchTag() { result = "[OuterPatternMatch]" } + + private predicate patternPerformsTest(Pattern pattern) { + Input1::patternPerformsTest(pattern) and + not pattern instanceof AndPattern and + not pattern instanceof OrPattern and + not pattern instanceof NotPattern + } /** * Holds if an additional node tagged with `tag` should be created for @@ -821,9 +898,10 @@ module Make0 Ast> { tag = loopHeaderTag() and t instanceof DirectSuccessor or - n instanceof PatternMatchExpr and - tag = patternMatchTrueTag() and - t.(BooleanSuccessor).getValue() = true + patternPerformsTest(n) and + not n instanceof LeafPattern and + tag = outerPatternMatchTag() and + t.(MatchingSuccessor).getValue() = true } /** @@ -966,21 +1044,45 @@ module Make0 Ast> { ) } - private predicate constantCondition(AstNode n, ConditionalSuccessor t) { - n.(BooleanLiteral).getValue() = t.(BooleanSuccessor).getValue() + private predicate patternIsExhaustive(Pattern pattern) { + Input1::patternIsExhaustive(pattern) + or + pattern instanceof BindingPattern + } + + private predicate constantPattern(AstNode pattern, boolean value) { + patternIsExhaustive(pattern) and + value = true + or + exists(Pattern parent, int i | + pattern = getChild(parent, i) and + constantPattern(parent, true) and + if parent instanceof OrPattern + then not getChild(parent, any(int j | j > i)) instanceof Pattern + else any() + ) and + value = true or exists(Case c, int i | matchAll(c) and - c.getPattern(i) = n and - not exists(c.getPattern(i + 1)) and - t.(MatchingSuccessor).getValue() = true - ) + c.getPattern(i) = pattern and + not exists(c.getPattern(i + 1)) + ) and + value = true or exists(CatchClause catch | Input1::catchAll(catch) and - catch.getPattern() = n and - t.(MatchingSuccessor).getValue() = true - ) + catch.getPattern() = pattern + ) and + value = true + or + constantPattern(pattern.(NotPattern).getNegatedPattern(), value.booleanNot()) + } + + private predicate constantCondition(AstNode n, ConditionalSuccessor t) { + constantPattern(n, t.(MatchingSuccessor).getValue()) + or + n.(BooleanLiteral).getValue() = t.(BooleanSuccessor).getValue() } private predicate hasCfg(AstNode n) { @@ -1071,7 +1173,8 @@ module Make0 Ast> { * value `true`. * * Note that if this predicate is used to identify the starting point of - * a step, then `inConditionalContext(n, BooleanCondition())` must hold. + * a step, then `inConditionalContext(n, any(ConditionKind k | k.isBoolean()))` + * must hold. * On the other hand, if this is used to identify the end point of a * step, then there is no such requirement. */ @@ -1084,7 +1187,8 @@ module Make0 Ast> { * value `false`. * * Note that if this predicate is used to identify the starting point of - * a step, then `inConditionalContext(n, BooleanCondition())` must hold. + * a step, then `inConditionalContext(n, any(ConditionKind k | k.isBoolean()))` + * must hold. * On the other hand, if this is used to identify the end point of a * step, then there is no such requirement. */ @@ -1092,6 +1196,34 @@ module Make0 Ast> { this.isAfterValue(n, any(BooleanSuccessor b | b.getValue() = false)) } + /** + * Holds if this is the node representing the matching of the pattern + * `n`. + * + * Note that if this predicate is used to identify the starting point of + * a step, then `inConditionalContext(n, any(ConditionKind k | k.isMatching()))` + * must hold. + * On the other hand, if this is used to identify the end point of a + * step, then there is no such requirement. + */ + predicate isAfterMatch(AstNode n) { + this.isAfterValue(n, any(MatchingSuccessor m | m.getValue() = true)) + } + + /** + * Holds if this is the node representing the non-matching of the pattern + * `n`. + * + * Note that if this predicate is used to identify the starting point of + * a step, then `inConditionalContext(n, any(ConditionKind k | k.isMatching()))` + * must hold. + * On the other hand, if this is used to identify the end point of a + * step, then there is no such requirement. + */ + predicate isAfterNonMatch(AstNode n) { + this.isAfterValue(n, any(MatchingSuccessor m | m.getValue() = false)) + } + /** * Holds if this is the node representing the given AST node when `n` * has an in-order or post-order execution. @@ -1405,7 +1537,7 @@ module Make0 Ast> { trystmt.getCatch(i) = catchclause and not exists(trystmt.getCatch(i + 1)) and ast = catchclause and - n.isAfterValue(catchclause, any(MatchingSuccessor t | t.getValue() = false)) and + n.isAfterNonMatch(catchclause) and c.getSuccessorType() instanceof ExceptionSuccessor and always = true ) @@ -1651,19 +1783,13 @@ module Make0 Ast> { n2.isBefore(pme.getExpr()) or n1.isAfter(pme.getExpr()) and - n2.isIn(pme) - or - n1.isIn(pme) and - n2.isAfterValue(pme, any(BooleanSuccessor s | s.getValue() = false)) - or - n1.isIn(pme) and - n2.isAdditional(pme, patternMatchTrueTag()) - or - n1.isAdditional(pme, patternMatchTrueTag()) and n2.isBefore(pme.getPattern()) or - n1.isAfter(pme.getPattern()) and - n2.isAfterValue(pme, any(BooleanSuccessor s | s.getValue() = true)) + n1.isAfterNonMatch(pme.getPattern()) and + n2.isAfterFalse(pme) + or + n1.isAfterMatch(pme.getPattern()) and + n2.isAfterTrue(pme) ) or exists(IfStmt ifstmt | @@ -1873,7 +1999,7 @@ module Make0 Ast> { n2.isAfter(trystmt) or exists(int i | - n1.isAfterValue(trystmt.getCatch(i), any(MatchingSuccessor t | t.getValue() = false)) and + n1.isAfterNonMatch(trystmt.getCatch(i)) and n2.isBefore(trystmt.getCatch(i + 1)) ) ) @@ -1908,7 +2034,7 @@ module Make0 Ast> { if t.isMatch() then n2 = beforeVar else n2.isAfterValue(catchclause, t) ) or - n1.isAfterValue(catchclause, any(MatchingSuccessor t | t.getValue() = true)) and + n1.isAfterMatch(catchclause) and n2 = beforeVar or n1.isAfter(catchclause.getVariable()) and @@ -1919,7 +2045,7 @@ module Make0 Ast> { n2 = getBeforeCatchBody(catchclause) or n1.isAfterFalse(catchclause.getCondition()) and - n2.isAfterValue(catchclause, any(MatchingSuccessor t | t.getValue() = false)) + n2.isAfterNonMatch(catchclause) ) or exists(Switch switch, PreControlFlowNode firstCase | @@ -1954,8 +2080,7 @@ module Make0 Ast> { n2 = firstCase or exists(int i | - n1.isAfterValue(getRankedCaseCfgOrder(switch, i), - any(MatchingSuccessor t | t.getValue() = false)) + n1.isAfterNonMatch(getRankedCaseCfgOrder(switch, i)) or n1.isAfterFalse(getRankedCaseCfgOrder(switch, i).getGuard()) | @@ -1971,7 +2096,7 @@ module Make0 Ast> { ( if exists(case.getPattern(_)) then n2.isBefore(case.getPattern(0)) - else n2.isAfterValue(case, any(MatchingSuccessor t | t.getValue() = true)) + else n2.isAfterMatch(case) ) or exists(int i, MatchingSuccessor ms | n1.isAfterValue(case.getPattern(i), ms) | @@ -1995,7 +2120,7 @@ module Make0 Ast> { beforeBody.isAfter(any(Switch s | s.getCase(_) = case)) ) | - n1.isAfterValue(case, any(MatchingSuccessor t | t.getValue() = true)) and + n1.isAfterMatch(case) and n2 = beforeGuard or n1.isAfterTrue(case.getGuard()) and @@ -2007,6 +2132,17 @@ module Make0 Ast> { n1.isAfter(caseBodyElement) and n2.isBefore(getNextCaseBodyElement(caseBodyElement)) ) + or + exists(NotPattern pattern | + n1.isBefore(pattern) and + n2.isBefore(pattern.getNegatedPattern()) + or + n1.isAfterMatch(pattern.getNegatedPattern()) and + n2.isAfterNonMatch(pattern) + or + n1.isAfterNonMatch(pattern.getNegatedPattern()) and + n2.isAfterMatch(pattern) + ) } /** @@ -2032,13 +2168,86 @@ module Make0 Ast> { private predicate getRankedChild = DenseRank1::denseRank/2; + private PreControlFlowNode getFirstPatternChild(Pattern pattern) { + result.isBefore(getRankedChild(pattern, 1)) + or + not exists(getRankedChild(pattern, _)) and + result.isAfterMatch(pattern) + } + + private predicate conjunctivePatternStep(PreControlFlowNode n1, PreControlFlowNode n2) { + exists(Pattern pattern | + defaultCfg(pattern) and + not pattern instanceof OrPattern and + not pattern instanceof LeafPattern + | + n1.isBefore(pattern) and + ( + // outer pattern matches + n2.isAdditional(pattern, outerPatternMatchTag()) + or + // outer pattern fails + patternPerformsTest(pattern) and + n2.isAfterNonMatch(pattern) + or + // outer pattern does not perform a test, proceed directly to first child + not patternPerformsTest(pattern) and + n2 = getFirstPatternChild(pattern) + ) + or + // outer pattern matched, proceed to first child + n1.isAdditional(pattern, outerPatternMatchTag()) and + n2 = getFirstPatternChild(pattern) + or + exists(int i, AstNode child | child = getRankedChild(pattern, i) | + n1.isAfterMatch(child) and + ( + n2.isBefore(getRankedChild(pattern, i + 1)) + or + not exists(getRankedChild(pattern, i + 1)) and + n2.isAfterMatch(pattern) + ) + or + // child pattern fails, which means whole pattern fails + inConditionalContext(child, any(ConditionKind k | k.isMatching())) and + n1.isAfterNonMatch(child) and + n2.isAfterNonMatch(pattern) + ) + ) + } + + private predicate disjunctivePatternStep(PreControlFlowNode n1, PreControlFlowNode n2) { + exists(OrPattern pattern | defaultCfg(pattern) | + n1.isBefore(pattern) and + n2.isBefore(getRankedChild(pattern, 1)) + or + exists(int i, AstNode child | child = getRankedChild(pattern, i) | + // child pattern succeeds, which means whole pattern succeeds + inConditionalContext(child, any(ConditionKind k | k.isMatching())) and + n1.isAfterMatch(child) and + n2.isAfterMatch(pattern) + or + n1.isAfterNonMatch(child) and + ( + n2.isBefore(getRankedChild(pattern, i + 1)) + or + not exists(getRankedChild(pattern, i + 1)) and + n2.isAfterNonMatch(pattern) + ) + ) + ) + } + /** * Holds if `n1` to `n2` is a default left-to-right evaluation step for * an `AstNode` that does not otherwise have explicitly defined control * flow. */ private predicate defaultStep(PreControlFlowNode n1, PreControlFlowNode n2) { - exists(AstNode ast | defaultCfg(ast) | + exists(AstNode ast | + defaultCfg(ast) and + (ast instanceof Pattern implies ast instanceof LeafPattern) + | n1.isBefore(ast) and n2.isBefore(getRankedChild(ast, 1)) or @@ -2063,6 +2272,10 @@ module Make0 Ast> { n2.isAfter(ast) and not beginAbruptCompletion(ast, n1, _, true) ) + or + conjunctivePatternStep(n1, n2) + or + disjunctivePatternStep(n1, n2) } /** Holds if there is a local non-abrupt step from `n1` to `n2`. */ @@ -2444,6 +2657,9 @@ module Make0 Ast> { query = "multipleDefaultCases" and results = strictcount(Switch s, int defaultCases | multipleDefaultCases(s, defaultCases)) + or + query = "nonLeafBindingPattern" and + results = strictcount(BindingPattern bp | nonLeafBindingPattern(bp)) } /** @@ -2603,10 +2819,7 @@ module Make0 Ast> { ControlFlowNode succ1, ControlFlowNode succ2 ) { succ1 = node.getASuccessor(t1) and - succ2 = node.getASuccessor(t2) and - // allow for the pattern match true edge when a pattern match - // expression is not in a conditional context - not succ1.isAdditional(_, patternMatchTrueTag()) + succ2 = node.getASuccessor(t2) } /** @@ -2654,6 +2867,11 @@ module Make0 Ast> { defaultCases = strictcount(DefaultCase c | s.getCase(_) = c) and defaultCases > 1 } + + /** + * Holds if binding pattern is not a leaf node. + */ + query predicate nonLeafBindingPattern(BindingPattern bp) { exists(getChild(bp, _)) } } } } diff --git a/shared/controlflow/codeql/controlflow/Guards.qll b/shared/controlflow/codeql/controlflow/Guards.qll index 3d6ce4f0c7e5..a8f3cb85138c 100644 --- a/shared/controlflow/codeql/controlflow/Guards.qll +++ b/shared/controlflow/codeql/controlflow/Guards.qll @@ -112,10 +112,58 @@ signature module InputSig Date: Mon, 23 Nov 2026 15:28:50 +0100 Subject: [PATCH 04/11] Actions: Add pattern stubs to the CFG instantiation Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../actions/controlflow/internal/Cfg.qll | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/actions/ql/lib/codeql/actions/controlflow/internal/Cfg.qll b/actions/ql/lib/codeql/actions/controlflow/internal/Cfg.qll index b3635e0437f8..c6f05c7be0fa 100644 --- a/actions/ql/lib/codeql/actions/controlflow/internal/Cfg.qll +++ b/actions/ql/lib/codeql/actions/controlflow/internal/Cfg.qll @@ -340,6 +340,28 @@ module CfgImpl { boolean getValue() { none() } } + class Pattern extends AstNode { + Pattern() { none() } + } + + class AndPattern extends Pattern { + AndPattern() { none() } + } + + class OrPattern extends Pattern { + OrPattern() { none() } + } + + class NotPattern extends Pattern { + NotPattern() { none() } + + Pattern getNegatedPattern() { none() } + } + + class BindingPattern extends Pattern { + BindingPattern() { none() } + } + class PatternMatchExpr extends Expr { PatternMatchExpr() { none() } From 2ece551621d6281c8cdd33ada0ded1d832b686bd Mon Sep 17 00:00:00 2001 From: Tom Hvitved Date: Mon, 23 Nov 2026 15:28:54 +0100 Subject: [PATCH 05/11] Go: Add pattern stubs to the CFG/Guards instantiations Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../go/controlflow/ControlFlowGraphImpl.qll | 22 +++++++++++++++ go/ql/lib/semmle/go/controlflow/Guards.qll | 28 +++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/go/ql/lib/semmle/go/controlflow/ControlFlowGraphImpl.qll b/go/ql/lib/semmle/go/controlflow/ControlFlowGraphImpl.qll index ccd031ecb48a..4a0d219f998b 100644 --- a/go/ql/lib/semmle/go/controlflow/ControlFlowGraphImpl.qll +++ b/go/ql/lib/semmle/go/controlflow/ControlFlowGraphImpl.qll @@ -411,6 +411,28 @@ module CfgImpl { AssignNullCoalescingExpr() { none() } } + class Pattern extends AstNode { + Pattern() { none() } + } + + class AndPattern extends Pattern { + AndPattern() { none() } + } + + class OrPattern extends Pattern { + OrPattern() { none() } + } + + class NotPattern extends Pattern { + NotPattern() { none() } + + Pattern getNegatedPattern() { none() } + } + + class BindingPattern extends Pattern { + BindingPattern() { none() } + } + class PatternMatchExpr extends Expr { PatternMatchExpr() { none() } diff --git a/go/ql/lib/semmle/go/controlflow/Guards.qll b/go/ql/lib/semmle/go/controlflow/Guards.qll index c9cf0f9978bf..9b7b7f0e332d 100644 --- a/go/ql/lib/semmle/go/controlflow/Guards.qll +++ b/go/ql/lib/semmle/go/controlflow/Guards.qll @@ -104,6 +104,34 @@ private module GuardsInput implements AstNode getAPattern() { result = this.(G::CaseClause).getAnExpr() } } + class Pattern extends AstNode { + Pattern() { none() } + + Pattern getASubPattern() { none() } + } + + class AndPattern extends Pattern { + AndPattern() { none() } + } + + class OrPattern extends Pattern { + OrPattern() { none() } + } + + class NotPattern extends Pattern { + NotPattern() { none() } + + Pattern getNegatedPattern() { none() } + } + + class PatternMatchExpr extends Expr { + PatternMatchExpr() { none() } + + Expr getExpr() { none() } + + AstNode getPattern() { none() } + } + additional predicate caseExpressionBranch( Expr caseExpr, CfgImpl::Cfg::BasicBlock bb, MatchingSuccessor successor ) { From 865d53b6f3155400350cd45664725cba7f7152b9 Mon Sep 17 00:00:00 2001 From: Tom Hvitved Date: Mon, 23 Nov 2026 15:29:00 +0100 Subject: [PATCH 06/11] Python: Add pattern stubs to the CFG instantiation Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../controlflow/internal/AstNodeImpl.qll | 65 +++++++++++++++---- 1 file changed, 51 insertions(+), 14 deletions(-) diff --git a/python/ql/lib/semmle/python/controlflow/internal/AstNodeImpl.qll b/python/ql/lib/semmle/python/controlflow/internal/AstNodeImpl.qll index 8bec9f2a229b..29fca1819a6c 100644 --- a/python/ql/lib/semmle/python/controlflow/internal/AstNodeImpl.qll +++ b/python/ql/lib/semmle/python/controlflow/internal/AstNodeImpl.qll @@ -249,10 +249,10 @@ module Ast implements AstSig { } /** A pattern in a `match` statement. */ - additional class Pattern extends AstNodeImpl, TPattern { + additional class PythonPattern extends AstNodeImpl, TPattern { private Py::Pattern p; - Pattern() { this = TPattern(p) } + PythonPattern() { this = TPattern(p) } override string toString() { result = p.toString() } @@ -264,7 +264,7 @@ module Ast implements AstSig { /** * A `case x` pattern that binds `x` to the matched value. */ - additional class MatchCapturePattern extends Pattern { + additional class MatchCapturePattern extends PythonPattern { private Py::MatchCapturePattern cap; MatchCapturePattern() { this = TPattern(cap) } @@ -278,7 +278,7 @@ module Ast implements AstSig { /** * A `case pattern as name` pattern. */ - additional class MatchAsPattern extends Pattern { + additional class MatchAsPattern extends PythonPattern { private Py::MatchAsPattern asp; MatchAsPattern() { this = TPattern(asp) } @@ -300,7 +300,7 @@ module Ast implements AstSig { * A `case [a, b, *rest]` star pattern. Binds `rest` to the remaining * elements of the sequence. */ - additional class MatchStarPattern extends Pattern { + additional class MatchStarPattern extends PythonPattern { private Py::MatchStarPattern starp; MatchStarPattern() { this = TPattern(starp) } @@ -314,7 +314,7 @@ module Ast implements AstSig { /** * A `case [a, b, ...]` sequence pattern. Recurses into the sub-patterns. */ - additional class MatchSequencePattern extends Pattern { + additional class MatchSequencePattern extends PythonPattern { private Py::MatchSequencePattern seqp; MatchSequencePattern() { this = TPattern(seqp) } @@ -328,7 +328,7 @@ module Ast implements AstSig { /** * A `case Cls(a, b, x=y)` class pattern. */ - additional class MatchClassPattern extends Pattern { + additional class MatchClassPattern extends PythonPattern { private Py::MatchClassPattern clsp; MatchClassPattern() { this = TPattern(clsp) } @@ -357,7 +357,7 @@ module Ast implements AstSig { /** * A `case {k: v}` mapping pattern. */ - additional class MatchMappingPattern extends Pattern { + additional class MatchMappingPattern extends PythonPattern { private Py::MatchMappingPattern mapp; MatchMappingPattern() { this = TPattern(mapp) } @@ -370,7 +370,7 @@ module Ast implements AstSig { /** * A key-value pair inside a `case {k: v}` mapping pattern. */ - additional class MatchKeyValuePattern extends Pattern { + additional class MatchKeyValuePattern extends PythonPattern { private Py::MatchKeyValuePattern kvp; MatchKeyValuePattern() { this = TPattern(kvp) } @@ -389,7 +389,7 @@ module Ast implements AstSig { /** * A `case Cls(name=value)` keyword sub-pattern. */ - additional class MatchKeywordPattern extends Pattern { + additional class MatchKeywordPattern extends PythonPattern { private Py::MatchKeywordPattern kwp; MatchKeywordPattern() { this = TPattern(kwp) } @@ -406,7 +406,7 @@ module Ast implements AstSig { } /** A `case **rest` double-star mapping sub-pattern. */ - additional class MatchDoubleStarPattern extends Pattern { + additional class MatchDoubleStarPattern extends PythonPattern { private Py::MatchDoubleStarPattern dsp; MatchDoubleStarPattern() { this = TPattern(dsp) } @@ -417,7 +417,7 @@ module Ast implements AstSig { } /** A `case p1 | p2 | …` or-pattern. */ - additional class MatchOrPattern extends Pattern { + additional class MatchOrPattern extends PythonPattern { private Py::MatchOrPattern orp; MatchOrPattern() { this = TPattern(orp) } @@ -428,7 +428,7 @@ module Ast implements AstSig { } /** A `case 1` literal pattern. */ - additional class MatchLiteralPattern extends Pattern { + additional class MatchLiteralPattern extends PythonPattern { private Py::MatchLiteralPattern litp; MatchLiteralPattern() { this = TPattern(litp) } @@ -439,7 +439,7 @@ module Ast implements AstSig { } /** A `case Cls.NAME` value pattern. */ - additional class MatchValuePattern extends Pattern { + additional class MatchValuePattern extends PythonPattern { private Py::MatchValuePattern vp; MatchValuePattern() { this = TPattern(vp) } @@ -1155,6 +1155,43 @@ module Ast implements AstSig { } } + final class Pattern = PatternImpl; + + /** A pattern handled by the shared CFG. */ + abstract private class PatternImpl extends AstNodeImpl { } + + private class EmptyPattern extends PatternImpl { + EmptyPattern() { none() } + + override string toString() { none() } + + override Py::Location getLocation() { none() } + + override Callable getEnclosingCallable() { none() } + } + + /** An and-pattern handled by the shared CFG. */ + class AndPattern extends EmptyPattern { + AndPattern() { none() } + } + + /** An or-pattern handled by the shared CFG. */ + class OrPattern extends EmptyPattern { + OrPattern() { none() } + } + + /** A not-pattern handled by the shared CFG. */ + class NotPattern extends EmptyPattern { + NotPattern() { none() } + + Pattern getNegatedPattern() { none() } + } + + /** A binding pattern handled by the shared CFG. */ + class BindingPattern extends EmptyPattern { + BindingPattern() { none() } + } + /** A pattern match expression. Python has no `instanceof`-style pattern match expression. */ class PatternMatchExpr extends Expr { PatternMatchExpr() { none() } From eb74a701360da24b0ac06417ed102fa50e4a70b6 Mon Sep 17 00:00:00 2001 From: Tom Hvitved Date: Mon, 23 Nov 2026 15:29:03 +0100 Subject: [PATCH 07/11] Ruby: Add pattern stubs to the CFG instantiation Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../ruby/controlflow/ControlFlowGraph.qll | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/ruby/ql/lib/codeql/ruby/controlflow/ControlFlowGraph.qll b/ruby/ql/lib/codeql/ruby/controlflow/ControlFlowGraph.qll index 74923a307b43..1638a4279ff0 100644 --- a/ruby/ql/lib/codeql/ruby/controlflow/ControlFlowGraph.qll +++ b/ruby/ql/lib/codeql/ruby/controlflow/ControlFlowGraph.qll @@ -442,6 +442,28 @@ private module Ast implements AstSig { boolean getValue() { result = super.getValue() } } + class Pattern extends AstNode { + Pattern() { none() } + } + + class AndPattern extends Pattern { + AndPattern() { none() } + } + + class OrPattern extends Pattern { + OrPattern() { none() } + } + + class NotPattern extends Pattern { + NotPattern() { none() } + + Pattern getNegatedPattern() { none() } + } + + class BindingPattern extends Pattern { + BindingPattern() { none() } + } + class PatternMatchExpr extends Expr { PatternMatchExpr() { none() } From 86ae4a0ffd45eae9e9ee6cff483c51844c59e499 Mon Sep 17 00:00:00 2001 From: Tom Hvitved Date: Mon, 23 Nov 2026 15:29:05 +0100 Subject: [PATCH 08/11] Unified: Add pattern stubs to the CFG instantiation Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../unified/internal/ControlFlowGraph.qll | 22 +++++++++++++++++++ .../controlflow/basicblock-slices.expected | 4 ++-- .../library-tests/controlflow/cfg.expected | 5 +++-- .../test/library-tests/controlflow/cfg.swift | 2 +- 4 files changed, 28 insertions(+), 5 deletions(-) diff --git a/unified/ql/lib/codeql/unified/internal/ControlFlowGraph.qll b/unified/ql/lib/codeql/unified/internal/ControlFlowGraph.qll index 165cf5300c2c..6933f6c4a8d0 100644 --- a/unified/ql/lib/codeql/unified/internal/ControlFlowGraph.qll +++ b/unified/ql/lib/codeql/unified/internal/ControlFlowGraph.qll @@ -293,6 +293,28 @@ module Ast implements AstSig { boolean getValue() { result.toString() = super.getValue() } } + class Pattern extends AstNode { + Pattern() { none() } + } + + class AndPattern extends Pattern { + AndPattern() { none() } + } + + class OrPattern extends Pattern { + OrPattern() { none() } + } + + class NotPattern extends Pattern { + NotPattern() { none() } + + Pattern getNegatedPattern() { none() } + } + + class BindingPattern extends Pattern { + BindingPattern() { none() } + } + class PatternMatchExpr extends U::PatternGuardExpr { Expr getExpr() { result = super.getValue() } diff --git a/unified/ql/test/library-tests/controlflow/basicblock-slices.expected b/unified/ql/test/library-tests/controlflow/basicblock-slices.expected index df7e456642ac..9377f59c4db1 100644 --- a/unified/ql/test/library-tests/controlflow/basicblock-slices.expected +++ b/unified/ql/test/library-tests/controlflow/basicblock-slices.expected @@ -189,8 +189,8 @@ | 163 | cfg.swift:163:15:165:3 | Block | 'Block' | | 164 | cfg.swift:164:12:164:15 | true | 'true -^ ReturnExpr' | | 167 | cfg.swift:167:3:167:25 | let xOptional | 'let xOptional -V xOptional -> Optional -> Int -^ GenericTypeExpr -> x' | -| 168 | cfg.swift:168:3:172:3 | IfExpr | 'IfExpr -V xOptional -^ PatternGuardExpr' | -| 168 | cfg.swift:168:11:168:11 | . | '. -^ ... .some -> Argument -V x -^ ExprPattern -^ ... .some(...) -> Block' | +| 168 | cfg.swift:168:3:172:3 | IfExpr | 'IfExpr -V PatternGuardExpr -V xOptional -? . -^ ... .some -> Argument -V x -^ ExprPattern -^ ... .some(...)' | +| 168 | cfg.swift:168:36:170:3 | Block | 'Block' | | 169 | cfg.swift:169:12:169:12 | x | 'x -> 0 -^ ... == ... -^ ReturnExpr' | | 170 | cfg.swift:170:10:172:3 | Block | 'Block' | | 171 | cfg.swift:171:12:171:16 | false | 'false -^ ReturnExpr' | diff --git a/unified/ql/test/library-tests/controlflow/cfg.expected b/unified/ql/test/library-tests/controlflow/cfg.expected index b1cf19c84a27..ae484004f146 100644 --- a/unified/ql/test/library-tests/controlflow/cfg.expected +++ b/unified/ql/test/library-tests/controlflow/cfg.expected @@ -48,8 +48,8 @@ bbStep | cfg.swift:159:11:159:16 | ... > ... | '... > ... : true -> Block(+0)' | | cfg.swift:163:6:163:13 | TypeTestExpr | 'TypeTestExpr : false -> let xOptional(+4)' | | cfg.swift:163:6:163:13 | TypeTestExpr | 'TypeTestExpr : true -> Block(+0)' | -| cfg.swift:168:6:168:34 | PatternGuardExpr | 'PatternGuardExpr : false -> Block(+2)' | -| cfg.swift:168:6:168:34 | PatternGuardExpr | 'PatternGuardExpr : true -> .(+0)' | +| cfg.swift:168:11:168:22 | ... .some(...) | '... .some(...) : match -> Block(+0)' | +| cfg.swift:168:11:168:22 | ... .some(...) | '... .some(...) : no-match -> Block(+2)' | | cfg.swift:196:6:196:10 | ... > ... | '... > ... : false -> IfExpr(+3)' | | cfg.swift:196:6:196:10 | ... > ... | '... > ... : true -> Block(+0)' | | cfg.swift:199:11:199:16 | ... <= ... | '... <= ... : false,false,false -> Block(+5)' | @@ -226,6 +226,7 @@ noCfg nonSimple | cfg.swift:12:17:12:25 | withParam | 'withParam -? Block' | | cfg.swift:35:5:35:5 | CatchClause | 'CatchClause -V MyError -^ ... .error1 -> isZero -> Argument -V x -^ isZero(...) -? MyError -^ ... .error2 -^ ConditionalPattern -^ OrPattern' | +| cfg.swift:168:3:168:3 | IfExpr | 'IfExpr -V PatternGuardExpr -V xOptional -? . -^ ... .some -> Argument -V x -^ ExprPattern -^ ... .some(...)' | | cfg.swift:627:5:627:5 | SwitchCase | 'SwitchCase -V flag -? . -^ ... .error1 -^ ConditionalPattern' | | fallthrough.swift:10:3:10:3 | SwitchCase | 'SwitchCase -V flag -? 1 -^ ConditionalPattern' | | fallthrough.swift:51:3:51:3 | SwitchCase | 'SwitchCase -V flag -? 1 -^ ConditionalPattern' | diff --git a/unified/ql/test/library-tests/controlflow/cfg.swift b/unified/ql/test/library-tests/controlflow/cfg.swift index c239336a508f..3feb56824b5a 100644 --- a/unified/ql/test/library-tests/controlflow/cfg.swift +++ b/unified/ql/test/library-tests/controlflow/cfg.swift @@ -165,7 +165,7 @@ func patterns(x : Int) -> Bool { } let xOptional: Int? = x - if case .some(let x) = xOptional { // $ bbStep='PatternGuardExpr : false -> Block(+2)' bbStep='PatternGuardExpr : true -> .(+0)' + if case .some(let x) = xOptional { // $ bbStep='... .some(...) : match -> Block(+0)' bbStep='... .some(...) : no-match -> Block(+2)' nonSimple='IfExpr -V PatternGuardExpr -V xOptional -? . -^ ... .some -> Argument -V x -^ ExprPattern -^ ... .some(...)' return x == 0 } else { return false From 772435a80643c21b32ae06dd0751e83bf83612d0 Mon Sep 17 00:00:00 2001 From: Tom Hvitved Date: Wed, 2 Dec 2026 10:09:30 +0100 Subject: [PATCH 09/11] C++: Add pattern stubs to the guards instantiation Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../semmle/code/cpp/controlflow/IRGuards.qll | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/cpp/ql/lib/semmle/code/cpp/controlflow/IRGuards.qll b/cpp/ql/lib/semmle/code/cpp/controlflow/IRGuards.qll index 1354c68f6a71..388e569a465a 100644 --- a/cpp/ql/lib/semmle/code/cpp/controlflow/IRGuards.qll +++ b/cpp/ql/lib/semmle/code/cpp/controlflow/IRGuards.qll @@ -191,6 +191,34 @@ module GuardsInput implements SharedGuards::InputSig Date: Mon, 23 Nov 2026 15:28:52 +0100 Subject: [PATCH 10/11] C#: Adopt pattern-aware CFG/Guards support Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../ql/lib/semmle/code/csharp/Assignable.qll | 2 +- .../csharp/controlflow/ControlFlowGraph.qll | 13 + .../semmle/code/csharp/controlflow/Guards.qll | 119 +- .../controlflow/internal/ControlFlowGraph.qll | 34 + .../code/csharp/dataflow/ModulusAnalysis.qll | 10 +- .../rangeanalysis/ModulusAnalysisSpecific.qll | 2 + .../internal/rangeanalysis/RangeUtils.qll | 28 +- .../rangeanalysis/SignAnalysisCommon.qll | 15 +- .../rangeanalysis/SignAnalysisSpecific.qll | 2 + .../assignables/AssignableDefinition.expected | 14 +- .../AssignableDefinitionNode.expected | 14 +- .../controlflow/graph/BasicBlock.expected | 135 +- .../controlflow/graph/Condition.expected | 244 +-- .../controlflow/graph/Dominance.expected | 1306 +++++++++-------- .../graph/EnclosingCallable.expected | 273 ++-- .../controlflow/graph/EntryElement.expected | 89 +- .../controlflow/graph/NodeGraph.expected | 440 +++--- .../controlflow/graph/Patterns.cs | 2 +- .../controlflow/guards/AbstractValue.expected | 3 + .../guards/GuardedControlFlowNode.expected | 4 + .../controlflow/guards/GuardedExpr.expected | 4 + .../controlflow/pattern-guards/Test.cs | 19 + .../controlflow/pattern-guards/test.expected | 15 + .../controlflow/pattern-guards/test.ql | 10 + .../library-tests/csharp7/DefUse.expected | 18 +- .../library-tests/csharp7/IsFlow.expected | 69 +- .../csharp7/LocalTaintFlow.expected | 28 +- .../csharp8/ispatternflow.expected | 217 +-- .../csharp8/switchexprcontrolflow.expected | 301 ++-- .../csharp8/switchstmtctrlflow.expected | 341 +++-- .../dataflow/local/DataFlowStep.expected | 16 +- .../dataflow/local/TaintTrackingStep.expected | 16 +- .../dataflow/ssa/DefAdjacentRead.expected | 10 +- .../dataflow/ssa/SsaDef.expected | 10 +- .../dataflow/ssa/SsaExplicitDef.expected | 10 +- .../dataflow/ssa/SsaRead.expected | 12 +- .../dataflow/ssa/SsaUltimateDef.expected | 10 +- .../dataflow/tuples/DataFlowStep.expected | 48 +- .../DeadStoreOfLocal.expected | 8 +- csharp/ql/test/query-tests/Nullness/E.cs | 35 +- .../Nullness/EqualityCheck.expected | 50 +- .../query-tests/Nullness/NullAlways.expected | 4 + .../query-tests/Nullness/NullCheck.expected | 10 +- .../query-tests/Nullness/NullMaybe.expected | 7 +- 44 files changed, 2210 insertions(+), 1807 deletions(-) create mode 100644 csharp/ql/test/library-tests/controlflow/pattern-guards/Test.cs create mode 100644 csharp/ql/test/library-tests/controlflow/pattern-guards/test.expected create mode 100644 csharp/ql/test/library-tests/controlflow/pattern-guards/test.ql diff --git a/csharp/ql/lib/semmle/code/csharp/Assignable.qll b/csharp/ql/lib/semmle/code/csharp/Assignable.qll index 340805179da6..0d1048a90372 100644 --- a/csharp/ql/lib/semmle/code/csharp/Assignable.qll +++ b/csharp/ql/lib/semmle/code/csharp/Assignable.qll @@ -270,7 +270,7 @@ module AssignableInternal { or def = TAddressOfDefinition(result) or - def = TPatternDefinition(result) + def = TPatternDefinition(any(LocalVariablePatternDecl decl | decl.getAccess() = result)) or def = TAssignOperationDefinition(result) or diff --git a/csharp/ql/lib/semmle/code/csharp/controlflow/ControlFlowGraph.qll b/csharp/ql/lib/semmle/code/csharp/controlflow/ControlFlowGraph.qll index ee877750ff08..549e8701e13e 100644 --- a/csharp/ql/lib/semmle/code/csharp/controlflow/ControlFlowGraph.qll +++ b/csharp/ql/lib/semmle/code/csharp/controlflow/ControlFlowGraph.qll @@ -137,6 +137,19 @@ private module Input implements InputSig1, InputSig2 { predicate matchAll(Ast::Case c) { c.(SwitchCaseExpr).matchesAll() } + predicate patternPerformsTest(Ast::Pattern pattern) { + not pattern instanceof RecursivePatternExpr + } + + predicate patternIsExhaustive(Ast::Pattern pattern) { + pattern instanceof DiscardPatternExpr + or + pattern = any(RecursivePatternExpr rpe).getVariableDeclExpr() + or + // `var x` always matches, also when the value is `null` + pattern.(VariablePatternExpr).isImplicitlyTyped() + } + private newtype TLabel = TLblGoto(string label) { any(GotoLabelStmt goto).getLabel() = label } or TLblSwitchCase(string value) { any(GotoCaseStmt goto).getLabel() = value } or diff --git a/csharp/ql/lib/semmle/code/csharp/controlflow/Guards.qll b/csharp/ql/lib/semmle/code/csharp/controlflow/Guards.qll index f220e5db1c77..1169006f839d 100644 --- a/csharp/ql/lib/semmle/code/csharp/controlflow/Guards.qll +++ b/csharp/ql/lib/semmle/code/csharp/controlflow/Guards.qll @@ -86,6 +86,37 @@ private module GuardsInput implements SharedGuards::InputSig { private AstNode getExprChild0(Expr e, int i) { not e instanceof NameOfExpr and not e instanceof AnonymousFunctionExpr and + not e instanceof RecursivePatternExpr and not skipControlFlow(result) and result = e.getChild(i) + or + e = + any(RecursivePatternExpr rpe | + i = 0 and + result = rpe.getTypeAccess() + or + i = 1 and + result = rpe.getPositionalPatterns() + or + i = 2 and + result = rpe.getPropertyPatterns() + or + i = 3 and + result = rpe.getVariableDeclExpr() + ) } private AstNode getStmtChild0(Stmt s, int i) { @@ -295,6 +311,24 @@ module Ast implements AstSig { boolean getValue() { result = this.getBoolValue() } } + final class Pattern = PatternImpl; + + abstract private class PatternImpl extends AstNode { } + + private class PatternExprPattern extends PatternImpl, CS::PatternExpr { } + + class AndPattern extends Pattern instanceof CS::AndPatternExpr { } + + class OrPattern extends Pattern instanceof CS::OrPatternExpr { } + + class NotPattern extends Pattern instanceof CS::NotPatternExpr { + Pattern getNegatedPattern() { result = super.getPattern() } + } + + class BindingPattern extends PatternImpl { + BindingPattern() { this = any(CS::VariablePatternExpr vp).getAccess() } + } + final private class FinalIsExpr = CS::IsExpr; class PatternMatchExpr extends FinalIsExpr { diff --git a/csharp/ql/lib/semmle/code/csharp/dataflow/ModulusAnalysis.qll b/csharp/ql/lib/semmle/code/csharp/dataflow/ModulusAnalysis.qll index 1451a605cdb0..3fa186ae05ff 100644 --- a/csharp/ql/lib/semmle/code/csharp/dataflow/ModulusAnalysis.qll +++ b/csharp/ql/lib/semmle/code/csharp/dataflow/ModulusAnalysis.qll @@ -19,7 +19,7 @@ private predicate valueFlowStepSsa(SsaVariable v, SsaReadPosition pos, Expr e, i exists(Guard guard, boolean testIsTrue | pos.hasReadOfVar(v) and guard = eqFlowCond(v, e, delta, true, testIsTrue) and - guardControlsSsaRead(guard, pos, testIsTrue) + guardControlsSsaRead(guard, pos, any(GuardValue gv | gv.asBooleanValue() = testIsTrue)) ) } @@ -69,14 +69,14 @@ private Expr modExpr(Expr arg, int mod) { * its `testIsTrue` branch. */ private Guard moduloCheck(SsaVariable v, int val, int mod, boolean testIsTrue) { - exists(Expr rem, ConstantIntegerExpr c, int r, boolean polarity | + exists(Expr rem, ConstantIntegerExpr c, int r, GuardValue polarity | result.isEquality(rem, c, polarity) and c.getIntValue() = r and rem = modExpr(v.getAUse(), mod) and ( - testIsTrue = polarity and val = r + testIsTrue = polarity.asBooleanValue() and val = r or - testIsTrue = polarity.booleanNot() and + testIsTrue = polarity.asBooleanValue().booleanNot() and mod = 2 and val = 1 - r and (r = 0 or r = 1) @@ -91,7 +91,7 @@ private predicate moduloGuardedRead(SsaVariable v, SsaReadPosition pos, int val, exists(Guard guard, boolean testIsTrue | pos.hasReadOfVar(v) and guard = moduloCheck(v, val, mod, testIsTrue) and - guardControlsSsaRead(guard, pos, testIsTrue) + guardControlsSsaRead(guard, pos, any(GuardValue gv | gv.asBooleanValue() = testIsTrue)) ) } diff --git a/csharp/ql/lib/semmle/code/csharp/dataflow/internal/rangeanalysis/ModulusAnalysisSpecific.qll b/csharp/ql/lib/semmle/code/csharp/dataflow/internal/rangeanalysis/ModulusAnalysisSpecific.qll index 34b5ec9a5e85..889af65f8473 100644 --- a/csharp/ql/lib/semmle/code/csharp/dataflow/internal/rangeanalysis/ModulusAnalysisSpecific.qll +++ b/csharp/ql/lib/semmle/code/csharp/dataflow/internal/rangeanalysis/ModulusAnalysisSpecific.qll @@ -15,6 +15,8 @@ module Private { class Guard = RU::Guard; + class GuardValue = RU::GuardValue; + class ConstantIntegerExpr = CU::ConstantIntegerExpr; class ConditionalExpr = RU::ExprNode::ConditionalExpr; diff --git a/csharp/ql/lib/semmle/code/csharp/dataflow/internal/rangeanalysis/RangeUtils.qll b/csharp/ql/lib/semmle/code/csharp/dataflow/internal/rangeanalysis/RangeUtils.qll index d1da165d8337..e7954a02eb55 100644 --- a/csharp/ql/lib/semmle/code/csharp/dataflow/internal/rangeanalysis/RangeUtils.qll +++ b/csharp/ql/lib/semmle/code/csharp/dataflow/internal/rangeanalysis/RangeUtils.qll @@ -78,24 +78,21 @@ private module Impl { ) } + class GuardValue = G::GuardValue; + /** An expression whose value may control the execution of another element. */ class Guard extends Expr instanceof G::Guard { /** * Holds if basic block `bb` is guarded by this guard having value `v`. */ - predicate controlsBasicBlock(BasicBlock bb, G::GuardValue v) { super.controlsBasicBlock(bb, v) } + predicate controlsBasicBlock(BasicBlock bb, GuardValue v) { super.controlsBasicBlock(bb, v) } /** - * Holds if this guard is an equality test between `e1` and `e2`. If the test is - * negated, that is `!=`, then `polarity` is false, otherwise `polarity` is - * true. + * Holds if this guard tests equality between `e1` and `e2` upon evaluating + * to `eqval`. */ - predicate isEquality(ExprNode e1, ExprNode e2, boolean polarity) { - exists(Expr e1_, Expr e2_ | - e1 = unique(ExprNode cfn | hasChild(this, e1_, _, cfn) | cfn) and - e2 = unique(ExprNode cfn | hasChild(this, e2_, _, cfn) | cfn) and - super.isEquality(e1_, e2_, any(G::GuardValue gv | gv.asBooleanValue() = polarity)) - ) + predicate isEquality(ExprNode e1, ExprNode e2, GuardValue eqval) { + super.isEquality(e1.getExpr(), e2.getExpr(), eqval) } } @@ -108,19 +105,18 @@ private module Impl { */ Guard eqFlowCond(SsaDefinition def, ExprNode e, int delta, boolean isEq, boolean testIsTrue) { exists(boolean eqpolarity | - result.isEquality(ssaRead(def, delta), e, eqpolarity) and + result + .isEquality(ssaRead(def, delta), e, any(GuardValue gv | gv.asBooleanValue() = eqpolarity)) and testIsTrue = [false, true] and eqpolarity.booleanXor(testIsTrue).booleanNot() = isEq ) } /** - * Holds if `guard` controls the position `controlled` with the value `testIsTrue`. + * Holds if `guard` controls the position `controlled` with the value `v`. */ - predicate guardControlsSsaRead(Guard guard, SsaReadPosition controlled, boolean testIsTrue) { - exists(G::GuardValue b | b.asBooleanValue() = testIsTrue | - guard.controlsBasicBlock(controlled.(SsaReadPositionBlock).getBlock(), b) - ) + predicate guardControlsSsaRead(Guard guard, SsaReadPosition controlled, GuardValue v) { + guard.controlsBasicBlock(controlled.(SsaReadPositionBlock).getBlock(), v) } /** diff --git a/csharp/ql/lib/semmle/code/csharp/dataflow/internal/rangeanalysis/SignAnalysisCommon.qll b/csharp/ql/lib/semmle/code/csharp/dataflow/internal/rangeanalysis/SignAnalysisCommon.qll index 8f8d884c9566..f6595eeb21ae 100644 --- a/csharp/ql/lib/semmle/code/csharp/dataflow/internal/rangeanalysis/SignAnalysisCommon.qll +++ b/csharp/ql/lib/semmle/code/csharp/dataflow/internal/rangeanalysis/SignAnalysisCommon.qll @@ -64,7 +64,8 @@ private predicate unknownSign(Expr e) { private predicate lowerBound(Expr lowerbound, SsaVariable v, SsaReadPosition pos, boolean isStrict) { exists(boolean testIsTrue, ComparisonExpr comp | pos.hasReadOfVar(v) and - guardControlsSsaRead(getComparisonGuard(comp), pos, testIsTrue) and + guardControlsSsaRead(getComparisonGuard(comp), pos, + any(GuardValue gv | gv.asBooleanValue() = testIsTrue)) and not unknownSign(lowerbound) | testIsTrue = true and @@ -86,7 +87,8 @@ private predicate lowerBound(Expr lowerbound, SsaVariable v, SsaReadPosition pos private predicate upperBound(Expr upperbound, SsaVariable v, SsaReadPosition pos, boolean isStrict) { exists(boolean testIsTrue, ComparisonExpr comp | pos.hasReadOfVar(v) and - guardControlsSsaRead(getComparisonGuard(comp), pos, testIsTrue) and + guardControlsSsaRead(getComparisonGuard(comp), pos, + any(GuardValue gv | gv.asBooleanValue() = testIsTrue)) and not unknownSign(upperbound) | testIsTrue = true and @@ -109,12 +111,15 @@ private predicate upperBound(Expr upperbound, SsaVariable v, SsaReadPosition pos * - `isEq = false` : `v != eqbound` */ private predicate eqBound(Expr eqbound, SsaVariable v, SsaReadPosition pos, boolean isEq) { - exists(Guard guard, boolean testIsTrue, boolean polarity | + exists(Guard guard, GuardValue testIsTrue, GuardValue eqval | pos.hasReadOfVar(v) and guardControlsSsaRead(guard, pos, testIsTrue) and - guard.isEquality(eqbound, ssaRead(v, 0), polarity) and - isEq = polarity.booleanXor(testIsTrue).booleanNot() and + guard.isEquality(eqbound, ssaRead(v, 0), eqval) and not unknownSign(eqbound) + | + testIsTrue = eqval and isEq = true + or + testIsTrue = eqval.getDualValue() and isEq = false ) } diff --git a/csharp/ql/lib/semmle/code/csharp/dataflow/internal/rangeanalysis/SignAnalysisSpecific.qll b/csharp/ql/lib/semmle/code/csharp/dataflow/internal/rangeanalysis/SignAnalysisSpecific.qll index 48ed00858a0d..550896219202 100644 --- a/csharp/ql/lib/semmle/code/csharp/dataflow/internal/rangeanalysis/SignAnalysisSpecific.qll +++ b/csharp/ql/lib/semmle/code/csharp/dataflow/internal/rangeanalysis/SignAnalysisSpecific.qll @@ -11,6 +11,8 @@ module Private { class Guard = RU::Guard; + class GuardValue = RU::GuardValue; + class ConstantIntegerExpr = CU::ConstantIntegerExpr; class SsaVariable = CS::SsaDefinition; diff --git a/csharp/ql/test/library-tests/assignables/AssignableDefinition.expected b/csharp/ql/test/library-tests/assignables/AssignableDefinition.expected index 7a5c6606782e..f46778588e39 100644 --- a/csharp/ql/test/library-tests/assignables/AssignableDefinition.expected +++ b/csharp/ql/test/library-tests/assignables/AssignableDefinition.expected @@ -102,10 +102,10 @@ | Finally.cs:7:13:7:13 | i | Finally.cs:7:13:7:17 | Int32 i = ... | Finally.cs:7:13:7:13 | access to local variable i | Finally.cs:7:17:7:17 | 0 | certain | | Finally.cs:7:13:7:13 | i | Finally.cs:15:13:15:17 | ... = ... | Finally.cs:15:13:15:13 | access to local variable i | Finally.cs:15:17:15:17 | 1 | certain | | Patterns.cs:7:16:7:16 | o | Patterns.cs:7:16:7:23 | Object o = ... | Patterns.cs:7:16:7:16 | access to local variable o | Patterns.cs:7:20:7:23 | null | certain | -| Patterns.cs:8:22:8:23 | i1 | Patterns.cs:8:18:8:23 | Int32 i1 | Patterns.cs:8:22:8:23 | access to local variable i1 | Patterns.cs:8:13:8:13 | access to local variable o | certain | -| Patterns.cs:12:30:12:31 | s1 | Patterns.cs:12:23:12:31 | String s1 | Patterns.cs:12:30:12:31 | access to local variable s1 | Patterns.cs:12:18:12:18 | access to local variable o | certain | -| Patterns.cs:16:27:16:28 | v1 | Patterns.cs:16:23:16:28 | Object v1 | Patterns.cs:16:27:16:28 | access to local variable v1 | Patterns.cs:16:18:16:18 | access to local variable o | certain | -| Patterns.cs:24:22:24:23 | i2 | Patterns.cs:24:18:24:23 | Int32 i2 | Patterns.cs:24:22:24:23 | access to local variable i2 | Patterns.cs:20:17:20:17 | access to local variable o | certain | -| Patterns.cs:27:22:27:23 | i3 | Patterns.cs:27:18:27:23 | Int32 i3 | Patterns.cs:27:22:27:23 | access to local variable i3 | Patterns.cs:20:17:20:17 | access to local variable o | certain | -| Patterns.cs:30:25:30:26 | s2 | Patterns.cs:30:18:30:26 | String s2 | Patterns.cs:30:25:30:26 | access to local variable s2 | Patterns.cs:20:17:20:17 | access to local variable o | certain | -| Patterns.cs:33:22:33:23 | v2 | Patterns.cs:33:18:33:23 | Object v2 | Patterns.cs:33:22:33:23 | access to local variable v2 | Patterns.cs:20:17:20:17 | access to local variable o | certain | +| Patterns.cs:8:22:8:23 | i1 | Patterns.cs:8:22:8:23 | Int32 i1 | Patterns.cs:8:22:8:23 | access to local variable i1 | Patterns.cs:8:13:8:13 | access to local variable o | certain | +| Patterns.cs:12:30:12:31 | s1 | Patterns.cs:12:30:12:31 | String s1 | Patterns.cs:12:30:12:31 | access to local variable s1 | Patterns.cs:12:18:12:18 | access to local variable o | certain | +| Patterns.cs:16:27:16:28 | v1 | Patterns.cs:16:27:16:28 | Object v1 | Patterns.cs:16:27:16:28 | access to local variable v1 | Patterns.cs:16:18:16:18 | access to local variable o | certain | +| Patterns.cs:24:22:24:23 | i2 | Patterns.cs:24:22:24:23 | Int32 i2 | Patterns.cs:24:22:24:23 | access to local variable i2 | Patterns.cs:20:17:20:17 | access to local variable o | certain | +| Patterns.cs:27:22:27:23 | i3 | Patterns.cs:27:22:27:23 | Int32 i3 | Patterns.cs:27:22:27:23 | access to local variable i3 | Patterns.cs:20:17:20:17 | access to local variable o | certain | +| Patterns.cs:30:25:30:26 | s2 | Patterns.cs:30:25:30:26 | String s2 | Patterns.cs:30:25:30:26 | access to local variable s2 | Patterns.cs:20:17:20:17 | access to local variable o | certain | +| Patterns.cs:33:22:33:23 | v2 | Patterns.cs:33:22:33:23 | Object v2 | Patterns.cs:33:22:33:23 | access to local variable v2 | Patterns.cs:20:17:20:17 | access to local variable o | certain | diff --git a/csharp/ql/test/library-tests/assignables/AssignableDefinitionNode.expected b/csharp/ql/test/library-tests/assignables/AssignableDefinitionNode.expected index a877dc5a99c6..6300dfb0b75d 100644 --- a/csharp/ql/test/library-tests/assignables/AssignableDefinitionNode.expected +++ b/csharp/ql/test/library-tests/assignables/AssignableDefinitionNode.expected @@ -82,10 +82,10 @@ | Finally.cs:7:13:7:17 | Int32 i = ... | Finally.cs:7:13:7:17 | Int32 i = ... | | Finally.cs:15:13:15:17 | ... = ... | Finally.cs:15:13:15:17 | ... = ... | | Patterns.cs:7:16:7:23 | Object o = ... | Patterns.cs:7:16:7:23 | Object o = ... | -| Patterns.cs:8:18:8:23 | Int32 i1 | Patterns.cs:8:18:8:23 | Int32 i1 | -| Patterns.cs:12:23:12:31 | String s1 | Patterns.cs:12:23:12:31 | String s1 | -| Patterns.cs:16:23:16:28 | Object v1 | Patterns.cs:16:23:16:28 | Object v1 | -| Patterns.cs:24:18:24:23 | Int32 i2 | Patterns.cs:24:18:24:23 | Int32 i2 | -| Patterns.cs:27:18:27:23 | Int32 i3 | Patterns.cs:27:18:27:23 | Int32 i3 | -| Patterns.cs:30:18:30:26 | String s2 | Patterns.cs:30:18:30:26 | String s2 | -| Patterns.cs:33:18:33:23 | Object v2 | Patterns.cs:33:18:33:23 | Object v2 | +| Patterns.cs:8:22:8:23 | Int32 i1 | Patterns.cs:8:22:8:23 | access to local variable i1 | +| Patterns.cs:12:30:12:31 | String s1 | Patterns.cs:12:30:12:31 | access to local variable s1 | +| Patterns.cs:16:27:16:28 | Object v1 | Patterns.cs:16:27:16:28 | access to local variable v1 | +| Patterns.cs:24:22:24:23 | Int32 i2 | Patterns.cs:24:22:24:23 | access to local variable i2 | +| Patterns.cs:27:22:27:23 | Int32 i3 | Patterns.cs:27:22:27:23 | access to local variable i3 | +| Patterns.cs:30:25:30:26 | String s2 | Patterns.cs:30:25:30:26 | access to local variable s2 | +| Patterns.cs:33:22:33:23 | Object v2 | Patterns.cs:33:22:33:23 | access to local variable v2 | diff --git a/csharp/ql/test/library-tests/controlflow/graph/BasicBlock.expected b/csharp/ql/test/library-tests/controlflow/graph/BasicBlock.expected index dd2aa8355319..5223c66f5b63 100644 --- a/csharp/ql/test/library-tests/controlflow/graph/BasicBlock.expected +++ b/csharp/ql/test/library-tests/controlflow/graph/BasicBlock.expected @@ -914,52 +914,56 @@ | PartialImplementationA.cs:3:12:3:18 | Entry | PartialImplementationA.cs:3:12:3:18 | Exit | 12 | | PartialImplementationB.cs:4:12:4:18 | Entry | PartialImplementationB.cs:4:12:4:18 | Exit | 11 | | Patterns.cs:3:7:3:14 | Entry | Patterns.cs:3:7:3:14 | Exit | 11 | -| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:8:13:8:23 | ... is ... | 13 | +| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:8:18:8:23 | Int32 i1 | 13 | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:22:18:22:22 | "xyz" | 5 | -| Patterns.cs:8:13:8:23 | After ... is ... [false] | Patterns.cs:12:18:12:31 | ... is ... | 5 | -| Patterns.cs:8:13:8:23 | [MatchTrue] ... is ... | Patterns.cs:9:9:11:9 | After {...} | 21 | +| Patterns.cs:8:18:8:23 | After Int32 i1 [no-match] | Patterns.cs:12:23:12:31 | String s1 | 6 | +| Patterns.cs:8:18:8:23 | [OuterPatternMatch] Int32 i1 | Patterns.cs:9:9:11:9 | After {...} | 20 | | Patterns.cs:12:14:18:9 | After if (...) ... | Patterns.cs:12:14:18:9 | After if (...) ... | 1 | -| Patterns.cs:12:18:12:31 | After ... is ... [false] | Patterns.cs:16:18:16:28 | ... is ... | 5 | -| Patterns.cs:12:18:12:31 | [MatchTrue] ... is ... | Patterns.cs:13:9:15:9 | After {...} | 21 | -| Patterns.cs:16:14:18:9 | After if (...) ... | Patterns.cs:16:14:18:9 | After if (...) ... | 1 | -| Patterns.cs:16:18:16:28 | After ... is ... [false] | Patterns.cs:16:18:16:28 | After ... is ... [false] | 1 | -| Patterns.cs:16:18:16:28 | [MatchTrue] ... is ... | Patterns.cs:17:9:18:9 | {...} | 7 | +| Patterns.cs:12:23:12:31 | After String s1 [no-match] | Patterns.cs:16:14:18:9 | After if (...) ... | 13 | +| Patterns.cs:12:23:12:31 | [OuterPatternMatch] String s1 | Patterns.cs:13:9:15:9 | After {...} | 20 | | Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:5:10:5:11 | Exit | 7 | | Patterns.cs:22:18:22:22 | After "xyz" [match] | Patterns.cs:23:17:23:22 | break; | 4 | -| Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:24:18:24:23 | Int32 i2 | 6 | -| Patterns.cs:24:18:24:23 | After Int32 i2 [match] | Patterns.cs:24:30:24:35 | ... > ... | 6 | +| Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:24:18:24:23 | Int32 i2 | 4 | | Patterns.cs:24:18:24:23 | After Int32 i2 [no-match] | Patterns.cs:24:13:24:36 | After case ...: [no-match] | 2 | +| Patterns.cs:24:18:24:23 | [OuterPatternMatch] Int32 i2 | Patterns.cs:24:30:24:35 | ... > ... | 9 | | Patterns.cs:24:30:24:35 | After ... > ... [false] | Patterns.cs:24:30:24:35 | After ... > ... [false] | 1 | | Patterns.cs:24:30:24:35 | After ... > ... [true] | Patterns.cs:26:17:26:22 | break; | 16 | -| Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:27:18:27:23 | Int32 i3 | 4 | -| Patterns.cs:27:18:27:23 | After Int32 i3 [match] | Patterns.cs:29:17:29:22 | break; | 17 | -| Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | Patterns.cs:30:18:30:26 | String s2 | 6 | -| Patterns.cs:30:18:30:26 | After String s2 [match] | Patterns.cs:32:17:32:22 | break; | 17 | -| Patterns.cs:30:18:30:26 | After String s2 [no-match] | Patterns.cs:33:18:33:23 | Object v2 | 6 | -| Patterns.cs:33:18:33:23 | After Object v2 [match] | Patterns.cs:34:17:34:22 | break; | 4 | -| Patterns.cs:33:18:33:23 | After Object v2 [no-match] | Patterns.cs:37:17:37:22 | break; | 12 | -| Patterns.cs:47:24:47:25 | Entry | Patterns.cs:48:9:48:20 | ... is ... | 5 | +| Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:27:18:27:23 | Int32 i3 | 2 | +| Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | Patterns.cs:30:18:30:26 | String s2 | 4 | +| Patterns.cs:27:18:27:23 | [OuterPatternMatch] Int32 i3 | Patterns.cs:29:17:29:22 | break; | 20 | +| Patterns.cs:30:18:30:26 | After String s2 [no-match] | Patterns.cs:34:17:34:22 | break; | 11 | +| Patterns.cs:30:18:30:26 | [OuterPatternMatch] String s2 | Patterns.cs:32:17:32:22 | break; | 20 | +| Patterns.cs:47:24:47:25 | Entry | Patterns.cs:48:18:48:20 | a | 6 | | Patterns.cs:48:9:48:20 | After ... is ... | Patterns.cs:47:24:47:25 | Exit | 3 | -| Patterns.cs:48:9:48:20 | [MatchTrue] ... is ... | Patterns.cs:48:14:48:20 | After not ... | 5 | -| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:9:51:21 | ... is ... | 6 | -| Patterns.cs:51:9:51:21 | After ... is ... [false] | Patterns.cs:51:34:51:39 | ... is ... | 4 | -| Patterns.cs:51:9:51:21 | [MatchTrue] ... is ... | Patterns.cs:51:25:51:30 | ... is ... | 9 | +| Patterns.cs:48:18:48:20 | After a [match] | Patterns.cs:48:14:48:20 | After not ... [no-match] | 2 | +| Patterns.cs:48:18:48:20 | After a [no-match] | Patterns.cs:48:14:48:20 | After not ... [match] | 2 | +| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:18:51:21 | null | 7 | | Patterns.cs:51:9:51:39 | After ... ? ... : ... | Patterns.cs:50:24:50:25 | Exit | 3 | +| Patterns.cs:51:18:51:21 | After null [match] | Patterns.cs:51:39:51:39 | 2 | 6 | +| Patterns.cs:51:18:51:21 | After null [no-match] | Patterns.cs:51:30:51:30 | 1 | 6 | | Patterns.cs:51:25:51:30 | After ... is ... | Patterns.cs:51:25:51:30 | After ... is ... | 1 | -| Patterns.cs:51:25:51:30 | [MatchTrue] ... is ... | Patterns.cs:51:30:51:30 | 1 | 2 | +| Patterns.cs:51:30:51:30 | After 1 [match] | Patterns.cs:51:30:51:30 | After 1 [match] | 1 | +| Patterns.cs:51:30:51:30 | After 1 [no-match] | Patterns.cs:51:30:51:30 | After 1 [no-match] | 1 | | Patterns.cs:51:34:51:39 | After ... is ... | Patterns.cs:51:34:51:39 | After ... is ... | 1 | -| Patterns.cs:51:34:51:39 | [MatchTrue] ... is ... | Patterns.cs:51:39:51:39 | 2 | 2 | -| Patterns.cs:53:24:53:25 | Entry | Patterns.cs:54:9:54:37 | ... is ... | 5 | +| Patterns.cs:51:39:51:39 | After 2 [match] | Patterns.cs:51:39:51:39 | After 2 [match] | 1 | +| Patterns.cs:51:39:51:39 | After 2 [no-match] | Patterns.cs:51:39:51:39 | After 2 [no-match] | 1 | +| Patterns.cs:53:24:53:25 | Entry | Patterns.cs:54:18:54:25 | access to type Patterns | 7 | | Patterns.cs:54:9:54:37 | After ... is ... | Patterns.cs:53:24:53:25 | Exit | 3 | -| Patterns.cs:54:9:54:37 | [MatchTrue] ... is ... | Patterns.cs:54:14:54:37 | After not ... | 16 | -| Patterns.cs:56:26:56:27 | Entry | Patterns.cs:60:13:60:17 | not ... | 10 | +| Patterns.cs:54:18:54:25 | After access to type Patterns [match] | Patterns.cs:54:27:54:35 | { ... } | 2 | +| Patterns.cs:54:18:54:25 | After access to type Patterns [no-match] | Patterns.cs:54:18:54:25 | After access to type Patterns [no-match] | 1 | +| Patterns.cs:54:18:54:37 | After { ... } [no-match] | Patterns.cs:54:14:54:37 | After not ... [match] | 2 | +| Patterns.cs:54:27:54:35 | After { ... } [no-match] | Patterns.cs:54:27:54:35 | After { ... } [no-match] | 1 | +| Patterns.cs:54:27:54:35 | [OuterPatternMatch] { ... } | Patterns.cs:54:33:54:33 | 1 | 2 | +| Patterns.cs:54:33:54:33 | After 1 [match] | Patterns.cs:54:14:54:37 | After not ... [no-match] | 9 | +| Patterns.cs:54:33:54:33 | After 1 [no-match] | Patterns.cs:54:33:54:33 | After 1 [no-match] | 1 | +| Patterns.cs:56:26:56:27 | Entry | Patterns.cs:60:17:60:17 | 1 | 9 | | Patterns.cs:58:16:62:9 | After ... switch { ... } | Patterns.cs:56:26:56:27 | Exit | 4 | -| Patterns.cs:60:13:60:17 | After not ... [match] | Patterns.cs:60:22:60:28 | "not 1" | 3 | -| Patterns.cs:60:13:60:17 | After not ... [no-match] | Patterns.cs:61:18:61:24 | "other" | 7 | -| Patterns.cs:65:26:65:27 | Entry | Patterns.cs:69:13:69:17 | not ... | 9 | +| Patterns.cs:60:17:60:17 | After 1 [match] | Patterns.cs:61:18:61:24 | "other" | 8 | +| Patterns.cs:60:17:60:17 | After 1 [no-match] | Patterns.cs:60:22:60:28 | "not 1" | 4 | +| Patterns.cs:65:26:65:27 | Entry | Patterns.cs:69:17:69:17 | 2 | 8 | | Patterns.cs:67:16:71:9 | After ... switch { ... } | Patterns.cs:65:26:65:27 | Exit | 4 | -| Patterns.cs:69:13:69:17 | After not ... [match] | Patterns.cs:69:22:69:33 | "impossible" | 3 | -| Patterns.cs:69:13:69:17 | After not ... [no-match] | Patterns.cs:70:13:70:13 | 2 | 4 | +| Patterns.cs:69:17:69:17 | After 2 [match] | Patterns.cs:70:13:70:13 | 2 | 5 | +| Patterns.cs:69:17:69:17 | After 2 [no-match] | Patterns.cs:69:22:69:33 | "impossible" | 4 | | Patterns.cs:70:13:70:13 | After 2 [match] | Patterns.cs:70:18:70:27 | "possible" | 3 | | Patterns.cs:70:13:70:13 | After 2 [no-match] | Patterns.cs:70:13:70:27 | After ... => ... [no-match] | 2 | | Patterns.cs:74:26:74:27 | Entry | Patterns.cs:78:13:78:15 | > ... | 10 | @@ -970,28 +974,39 @@ | Patterns.cs:79:13:79:15 | After < ... [no-match] | Patterns.cs:80:13:80:13 | 1 | 4 | | Patterns.cs:80:13:80:13 | After 1 [match] | Patterns.cs:80:18:80:20 | "1" | 3 | | Patterns.cs:80:13:80:13 | After 1 [no-match] | Patterns.cs:81:18:81:20 | "0" | 7 | -| Patterns.cs:85:26:85:27 | Entry | Patterns.cs:85:39:85:53 | ... is ... | 6 | -| Patterns.cs:85:39:85:53 | After ... is ... [false] | Patterns.cs:85:67:85:69 | "2" | 2 | -| Patterns.cs:85:39:85:53 | [MatchTrue] ... is ... | Patterns.cs:85:57:85:63 | "not 2" | 11 | +| Patterns.cs:85:26:85:27 | Entry | Patterns.cs:85:44:85:44 | 1 | 7 | | Patterns.cs:85:39:85:69 | After ... ? ... : ... | Patterns.cs:85:26:85:27 | Exit | 3 | -| Patterns.cs:87:26:87:27 | Entry | Patterns.cs:87:39:87:54 | ... is ... | 6 | -| Patterns.cs:87:39:87:54 | After ... is ... [false] | Patterns.cs:87:64:87:70 | "not 1" | 2 | -| Patterns.cs:87:39:87:54 | [MatchTrue] ... is ... | Patterns.cs:87:58:87:60 | "1" | 11 | +| Patterns.cs:85:44:85:44 | After 1 [match] | Patterns.cs:85:44:85:44 | After 1 [match] | 1 | +| Patterns.cs:85:44:85:44 | After 1 [no-match] | Patterns.cs:85:53:85:53 | 2 | 3 | +| Patterns.cs:85:44:85:53 | After ... or ... [match] | Patterns.cs:85:57:85:63 | "not 2" | 3 | +| Patterns.cs:85:53:85:53 | After 2 [match] | Patterns.cs:85:67:85:69 | "2" | 5 | +| Patterns.cs:85:53:85:53 | After 2 [no-match] | Patterns.cs:85:49:85:53 | After not ... [match] | 2 | +| Patterns.cs:87:26:87:27 | Entry | Patterns.cs:87:44:87:44 | 1 | 7 | | Patterns.cs:87:39:87:70 | After ... ? ... : ... | Patterns.cs:87:26:87:27 | Exit | 3 | -| Patterns.cs:93:17:93:19 | Entry | Patterns.cs:95:13:95:40 | ... is ... | 6 | +| Patterns.cs:87:44:87:44 | After 1 [match] | Patterns.cs:87:54:87:54 | 2 | 3 | +| Patterns.cs:87:44:87:44 | After 1 [no-match] | Patterns.cs:87:44:87:44 | After 1 [no-match] | 1 | +| Patterns.cs:87:44:87:54 | After ... and ... [no-match] | Patterns.cs:87:64:87:70 | "not 1" | 3 | +| Patterns.cs:87:54:87:54 | After 2 [match] | Patterns.cs:87:50:87:54 | After not ... [no-match] | 2 | +| Patterns.cs:87:54:87:54 | After 2 [no-match] | Patterns.cs:87:58:87:60 | "1" | 5 | +| Patterns.cs:93:17:93:19 | Entry | Patterns.cs:95:21:95:40 | { ... } | 7 | | Patterns.cs:95:9:98:9 | After if (...) ... | Patterns.cs:93:17:93:19 | Exit | 4 | -| Patterns.cs:95:13:95:40 | After ... is ... [false] | Patterns.cs:95:13:95:40 | After ... is ... [false] | 1 | -| Patterns.cs:95:13:95:40 | [MatchTrue] ... is ... | Patterns.cs:96:9:98:9 | After {...} | 21 | +| Patterns.cs:95:21:95:40 | After { ... } [no-match] | Patterns.cs:95:13:95:40 | After ... is ... [false] | 3 | +| Patterns.cs:95:21:95:40 | [OuterPatternMatch] { ... } | Patterns.cs:95:29:95:31 | access to constant A | 3 | +| Patterns.cs:95:29:95:31 | After access to constant A [match] | Patterns.cs:95:29:95:31 | After access to constant A [match] | 1 | +| Patterns.cs:95:29:95:31 | After access to constant A [no-match] | Patterns.cs:95:36:95:38 | access to constant B | 2 | +| Patterns.cs:95:29:95:38 | After ... or ... [match] | Patterns.cs:96:9:98:9 | After {...} | 12 | +| Patterns.cs:95:36:95:38 | After access to constant B [match] | Patterns.cs:95:36:95:38 | After access to constant B [match] | 1 | +| Patterns.cs:95:36:95:38 | After access to constant B [no-match] | Patterns.cs:95:29:95:38 | After ... or ... [no-match] | 2 | | PostDominance.cs:3:7:3:19 | Entry | PostDominance.cs:3:7:3:19 | Exit | 11 | | PostDominance.cs:5:10:5:11 | Entry | PostDominance.cs:5:10:5:11 | Exit | 12 | -| PostDominance.cs:10:10:10:11 | Entry | PostDominance.cs:12:13:12:21 | ... is ... | 7 | +| PostDominance.cs:10:10:10:11 | Entry | PostDominance.cs:12:18:12:21 | null | 7 | | PostDominance.cs:10:10:10:11 | Normal Exit | PostDominance.cs:10:10:10:11 | Exit | 2 | -| PostDominance.cs:12:13:12:21 | After ... is ... [false] | PostDominance.cs:11:5:15:5 | After {...} | 9 | -| PostDominance.cs:12:13:12:21 | [MatchTrue] ... is ... | PostDominance.cs:13:13:13:19 | return ...; | 5 | -| PostDominance.cs:17:10:17:11 | Entry | PostDominance.cs:19:13:19:21 | ... is ... | 7 | +| PostDominance.cs:12:18:12:21 | After null [match] | PostDominance.cs:13:13:13:19 | return ...; | 4 | +| PostDominance.cs:12:18:12:21 | After null [no-match] | PostDominance.cs:11:5:15:5 | After {...} | 10 | +| PostDominance.cs:17:10:17:11 | Entry | PostDominance.cs:19:18:19:21 | null | 7 | | PostDominance.cs:17:10:17:11 | Exit | PostDominance.cs:17:10:17:11 | Exit | 1 | -| PostDominance.cs:19:13:19:21 | After ... is ... [false] | PostDominance.cs:17:10:17:11 | Normal Exit | 10 | -| PostDominance.cs:19:13:19:21 | [MatchTrue] ... is ... | PostDominance.cs:17:10:17:11 | Exceptional Exit | 10 | +| PostDominance.cs:19:18:19:21 | After null [match] | PostDominance.cs:17:10:17:11 | Exceptional Exit | 9 | +| PostDominance.cs:19:18:19:21 | After null [no-match] | PostDominance.cs:17:10:17:11 | Normal Exit | 11 | | Qualifiers.cs:1:7:1:16 | Entry | Qualifiers.cs:1:7:1:16 | Exit | 11 | | Qualifiers.cs:7:16:7:21 | Entry | Qualifiers.cs:7:16:7:21 | Exit | 4 | | Qualifiers.cs:8:23:8:34 | Entry | Qualifiers.cs:8:23:8:34 | Exit | 4 | @@ -1008,21 +1023,21 @@ | Switch.cs:16:18:16:18 | After 0 [match] | Switch.cs:16:18:16:18 | After 0 [match] | 1 | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:18:18:18:21 | null | 4 | | Switch.cs:18:18:18:21 | After null [match] | Switch.cs:19:17:19:29 | goto default; | 4 | -| Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:20:18:20:22 | Int32 i | 6 | -| Switch.cs:20:18:20:22 | After Int32 i [match] | Switch.cs:21:21:21:29 | ... == ... | 7 | -| Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:24:18:24:25 | String s | 6 | +| Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:20:18:20:22 | Int32 i | 4 | +| Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:24:18:24:25 | String s | 4 | +| Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | Switch.cs:21:21:21:29 | ... == ... | 10 | | Switch.cs:21:21:21:29 | After ... == ... [false] | Switch.cs:23:17:23:28 | goto case ...; | 5 | | Switch.cs:21:21:21:29 | After ... == ... [true] | Switch.cs:22:21:22:27 | return ...; | 3 | -| Switch.cs:24:18:24:25 | After String s [match] | Switch.cs:24:32:24:43 | ... > ... | 10 | | Switch.cs:24:18:24:25 | After String s [no-match] | Switch.cs:24:13:24:56 | After case ...: [no-match] | 2 | +| Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | Switch.cs:24:32:24:43 | ... > ... | 13 | | Switch.cs:24:32:24:43 | After ... > ... [false] | Switch.cs:24:32:24:43 | After ... > ... [false] | 1 | | Switch.cs:24:32:24:43 | After ... > ... [true] | Switch.cs:24:48:24:55 | ... != ... | 5 | | Switch.cs:24:32:24:55 | After ... && ... [false] | Switch.cs:24:32:24:55 | After ... && ... [false] | 1 | | Switch.cs:24:48:24:55 | After ... != ... [false] | Switch.cs:24:48:24:55 | After ... != ... [false] | 1 | | Switch.cs:24:48:24:55 | After ... != ... [true] | Switch.cs:26:17:26:23 | return ...; | 10 | -| Switch.cs:27:13:27:39 | case ...: | Switch.cs:27:18:27:25 | Double d | 4 | -| Switch.cs:27:18:27:25 | After Double d [match] | Switch.cs:27:32:27:38 | call to method Throw | 4 | +| Switch.cs:27:13:27:39 | case ...: | Switch.cs:27:18:27:25 | Double d | 2 | | Switch.cs:27:18:27:25 | After Double d [no-match] | Switch.cs:30:13:30:20 | default: | 3 | +| Switch.cs:27:18:27:25 | [OuterPatternMatch] Double d | Switch.cs:27:32:27:38 | call to method Throw | 7 | | Switch.cs:30:13:30:20 | After default: [match] | Switch.cs:29:17:29:23 | return ...; | 6 | | Switch.cs:35:10:35:11 | Entry | Switch.cs:35:10:35:11 | Exit | 7 | | Switch.cs:44:10:44:11 | Entry | Switch.cs:48:18:48:20 | access to type Int32 | 7 | @@ -1080,19 +1095,19 @@ | Switch.cs:118:18:118:18 | After 2 [no-match] | Switch.cs:118:13:118:34 | After case ...: [no-match] | 2 | | Switch.cs:118:25:118:33 | After ... == ... [false] | Switch.cs:118:25:118:33 | After ... == ... [false] | 1 | | Switch.cs:118:25:118:33 | After ... == ... [true] | Switch.cs:118:36:118:44 | return ...; | 4 | -| Switch.cs:123:10:123:12 | Entry | Switch.cs:125:24:125:29 | Boolean b | 10 | +| Switch.cs:123:10:123:12 | Entry | Switch.cs:125:24:125:29 | Boolean b | 8 | | Switch.cs:123:10:123:12 | Normal Exit | Switch.cs:123:10:123:12 | Exit | 2 | | Switch.cs:125:13:125:48 | After ... switch { ... } [false] | Switch.cs:124:5:127:5 | After {...} | 3 | -| Switch.cs:125:24:125:29 | After Boolean b [match] | Switch.cs:125:34:125:34 | access to local variable b | 3 | | Switch.cs:125:24:125:29 | After Boolean b [no-match] | Switch.cs:125:42:125:46 | After false [false] | 8 | +| Switch.cs:125:24:125:29 | [OuterPatternMatch] Boolean b | Switch.cs:125:34:125:34 | access to local variable b | 6 | | Switch.cs:125:34:125:34 | After access to local variable b [false] | Switch.cs:125:34:125:34 | After access to local variable b [false] | 1 | | Switch.cs:125:34:125:34 | After access to local variable b [true] | Switch.cs:126:13:126:19 | return ...; | 4 | -| Switch.cs:129:12:129:14 | Entry | Switch.cs:131:28:131:35 | String s | 11 | +| Switch.cs:129:12:129:14 | Entry | Switch.cs:131:28:131:35 | String s | 9 | | Switch.cs:131:16:131:66 | After call to method ToString | Switch.cs:129:12:129:14 | Exit | 4 | | Switch.cs:131:17:131:53 | After ... switch { ... } [non-null] | Switch.cs:131:16:131:66 | call to method ToString | 2 | | Switch.cs:131:17:131:53 | After ... switch { ... } [null] | Switch.cs:131:17:131:53 | After ... switch { ... } [null] | 1 | -| Switch.cs:131:28:131:35 | After String s [match] | Switch.cs:131:40:131:40 | access to local variable s | 3 | | Switch.cs:131:28:131:35 | After String s [no-match] | Switch.cs:131:48:131:51 | null | 7 | +| Switch.cs:131:28:131:35 | [OuterPatternMatch] String s | Switch.cs:131:40:131:40 | access to local variable s | 6 | | Switch.cs:131:40:131:40 | After access to local variable s [non-null] | Switch.cs:131:40:131:40 | After access to local variable s [non-null] | 1 | | Switch.cs:131:40:131:40 | After access to local variable s [null] | Switch.cs:131:40:131:40 | After access to local variable s [null] | 1 | | Switch.cs:131:48:131:51 | After null [non-null] | Switch.cs:131:48:131:51 | After null [non-null] | 1 | @@ -1128,10 +1143,10 @@ | Switch.cs:171:18:171:18 | After 3 [match] | Switch.cs:173:17:173:22 | break; | 10 | | Switch.cs:171:18:171:18 | After 3 [no-match] | Switch.cs:176:17:176:22 | break; | 12 | | TypeAccesses.cs:1:7:1:18 | Entry | TypeAccesses.cs:1:7:1:18 | Exit | 11 | -| TypeAccesses.cs:3:10:3:10 | Entry | TypeAccesses.cs:7:13:7:22 | ... is ... | 27 | +| TypeAccesses.cs:3:10:3:10 | Entry | TypeAccesses.cs:7:18:7:22 | Int32 j | 27 | | TypeAccesses.cs:7:9:7:25 | After if (...) ... | TypeAccesses.cs:3:10:3:10 | Exit | 11 | -| TypeAccesses.cs:7:13:7:22 | After ... is ... [false] | TypeAccesses.cs:7:13:7:22 | After ... is ... [false] | 1 | -| TypeAccesses.cs:7:13:7:22 | [MatchTrue] ... is ... | TypeAccesses.cs:7:25:7:25 | ; | 7 | +| TypeAccesses.cs:7:18:7:22 | After Int32 j [no-match] | TypeAccesses.cs:7:13:7:22 | After ... is ... [false] | 2 | +| TypeAccesses.cs:7:18:7:22 | [OuterPatternMatch] Int32 j | TypeAccesses.cs:7:25:7:25 | ; | 6 | | VarDecls.cs:3:7:3:14 | Entry | VarDecls.cs:3:7:3:14 | Exit | 11 | | VarDecls.cs:5:18:5:19 | Entry | VarDecls.cs:5:18:5:19 | Exit | 37 | | VarDecls.cs:13:12:13:13 | Entry | VarDecls.cs:13:12:13:13 | Exit | 24 | diff --git a/csharp/ql/test/library-tests/controlflow/graph/Condition.expected b/csharp/ql/test/library-tests/controlflow/graph/Condition.expected index 920d2b336b23..2d6f4bb7abcc 100644 --- a/csharp/ql/test/library-tests/controlflow/graph/Condition.expected +++ b/csharp/ql/test/library-tests/controlflow/graph/Condition.expected @@ -538,70 +538,69 @@ conditionBlock | NullCoalescing.cs:15:17:15:31 | After ... ?? ... | NullCoalescing.cs:16:17:16:18 | After "" [null] | true | | NullCoalescing.cs:16:17:16:25 | After ... ?? ... | NullCoalescing.cs:17:13:17:19 | After (...) ... [non-null] | false | | NullCoalescing.cs:16:17:16:25 | After ... ?? ... | NullCoalescing.cs:17:13:17:19 | After (...) ... [null] | true | -| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:8:13:8:23 | After ... is ... [false] | false | -| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:8:13:8:23 | [MatchTrue] ... is ... | true | +| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:8:18:8:23 | After Int32 i1 [no-match] | false | +| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:8:18:8:23 | [OuterPatternMatch] Int32 i1 | true | | Patterns.cs:5:10:5:11 | Entry | Patterns.cs:12:14:18:9 | After if (...) ... | false | -| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:12:18:12:31 | After ... is ... [false] | false | -| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:12:18:12:31 | [MatchTrue] ... is ... | false | -| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:16:14:18:9 | After if (...) ... | false | -| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:16:18:16:28 | After ... is ... [false] | false | -| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:16:18:16:28 | [MatchTrue] ... is ... | false | +| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:12:23:12:31 | After String s1 [no-match] | false | +| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:12:23:12:31 | [OuterPatternMatch] String s1 | false | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:22:18:22:22 | After "xyz" [match] | true | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:22:18:22:22 | After "xyz" [no-match] | false | -| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:24:18:24:23 | After Int32 i2 [match] | false | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:24:18:24:23 | After Int32 i2 [no-match] | false | +| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:24:18:24:23 | [OuterPatternMatch] Int32 i2 | false | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:24:30:24:35 | After ... > ... [false] | false | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:24:30:24:35 | After ... > ... [true] | false | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:27:13:27:24 | case ...: | false | -| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:27:18:27:23 | After Int32 i3 [match] | false | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | false | -| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:30:18:30:26 | After String s2 [match] | false | +| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:27:18:27:23 | [OuterPatternMatch] Int32 i3 | false | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:30:18:30:26 | After String s2 [no-match] | false | -| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:33:18:33:23 | After Object v2 [match] | false | -| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:33:18:33:23 | After Object v2 [no-match] | false | -| Patterns.cs:8:13:8:23 | After ... is ... [false] | Patterns.cs:12:18:12:31 | After ... is ... [false] | false | -| Patterns.cs:8:13:8:23 | After ... is ... [false] | Patterns.cs:12:18:12:31 | [MatchTrue] ... is ... | true | -| Patterns.cs:8:13:8:23 | After ... is ... [false] | Patterns.cs:16:14:18:9 | After if (...) ... | false | -| Patterns.cs:8:13:8:23 | After ... is ... [false] | Patterns.cs:16:18:16:28 | After ... is ... [false] | false | -| Patterns.cs:8:13:8:23 | After ... is ... [false] | Patterns.cs:16:18:16:28 | [MatchTrue] ... is ... | false | -| Patterns.cs:12:18:12:31 | After ... is ... [false] | Patterns.cs:16:18:16:28 | After ... is ... [false] | false | -| Patterns.cs:12:18:12:31 | After ... is ... [false] | Patterns.cs:16:18:16:28 | [MatchTrue] ... is ... | true | -| Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:24:18:24:23 | After Int32 i2 [match] | true | +| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:30:18:30:26 | [OuterPatternMatch] String s2 | false | +| Patterns.cs:8:18:8:23 | After Int32 i1 [no-match] | Patterns.cs:12:23:12:31 | After String s1 [no-match] | false | +| Patterns.cs:8:18:8:23 | After Int32 i1 [no-match] | Patterns.cs:12:23:12:31 | [OuterPatternMatch] String s1 | true | | Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:24:18:24:23 | After Int32 i2 [no-match] | false | +| Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:24:18:24:23 | [OuterPatternMatch] Int32 i2 | true | | Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:24:30:24:35 | After ... > ... [false] | true | | Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:24:30:24:35 | After ... > ... [true] | true | -| Patterns.cs:24:18:24:23 | After Int32 i2 [match] | Patterns.cs:24:30:24:35 | After ... > ... [false] | false | -| Patterns.cs:24:18:24:23 | After Int32 i2 [match] | Patterns.cs:24:30:24:35 | After ... > ... [true] | true | -| Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:27:18:27:23 | After Int32 i3 [match] | true | +| Patterns.cs:24:18:24:23 | [OuterPatternMatch] Int32 i2 | Patterns.cs:24:30:24:35 | After ... > ... [false] | false | +| Patterns.cs:24:18:24:23 | [OuterPatternMatch] Int32 i2 | Patterns.cs:24:30:24:35 | After ... > ... [true] | true | | Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | false | -| Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:30:18:30:26 | After String s2 [match] | false | +| Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:27:18:27:23 | [OuterPatternMatch] Int32 i3 | true | | Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:30:18:30:26 | After String s2 [no-match] | false | -| Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:33:18:33:23 | After Object v2 [match] | false | -| Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:33:18:33:23 | After Object v2 [no-match] | false | -| Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | Patterns.cs:30:18:30:26 | After String s2 [match] | true | +| Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:30:18:30:26 | [OuterPatternMatch] String s2 | false | | Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | Patterns.cs:30:18:30:26 | After String s2 [no-match] | false | -| Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | Patterns.cs:33:18:33:23 | After Object v2 [match] | false | -| Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | Patterns.cs:33:18:33:23 | After Object v2 [no-match] | false | -| Patterns.cs:30:18:30:26 | After String s2 [no-match] | Patterns.cs:33:18:33:23 | After Object v2 [match] | true | -| Patterns.cs:30:18:30:26 | After String s2 [no-match] | Patterns.cs:33:18:33:23 | After Object v2 [no-match] | false | -| Patterns.cs:47:24:47:25 | Entry | Patterns.cs:48:9:48:20 | [MatchTrue] ... is ... | true | -| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:9:51:21 | After ... is ... [false] | false | -| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:9:51:21 | [MatchTrue] ... is ... | true | -| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:25:51:30 | After ... is ... | true | -| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:25:51:30 | [MatchTrue] ... is ... | true | -| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:34:51:39 | After ... is ... | false | -| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:34:51:39 | [MatchTrue] ... is ... | false | -| Patterns.cs:51:9:51:21 | After ... is ... [false] | Patterns.cs:51:34:51:39 | [MatchTrue] ... is ... | true | -| Patterns.cs:51:9:51:21 | [MatchTrue] ... is ... | Patterns.cs:51:25:51:30 | [MatchTrue] ... is ... | true | -| Patterns.cs:53:24:53:25 | Entry | Patterns.cs:54:9:54:37 | [MatchTrue] ... is ... | true | -| Patterns.cs:56:26:56:27 | Entry | Patterns.cs:60:13:60:17 | After not ... [match] | true | -| Patterns.cs:56:26:56:27 | Entry | Patterns.cs:60:13:60:17 | After not ... [no-match] | false | -| Patterns.cs:65:26:65:27 | Entry | Patterns.cs:69:13:69:17 | After not ... [match] | true | -| Patterns.cs:65:26:65:27 | Entry | Patterns.cs:69:13:69:17 | After not ... [no-match] | false | -| Patterns.cs:65:26:65:27 | Entry | Patterns.cs:70:13:70:13 | After 2 [match] | false | -| Patterns.cs:65:26:65:27 | Entry | Patterns.cs:70:13:70:13 | After 2 [no-match] | false | -| Patterns.cs:69:13:69:17 | After not ... [no-match] | Patterns.cs:70:13:70:13 | After 2 [match] | true | -| Patterns.cs:69:13:69:17 | After not ... [no-match] | Patterns.cs:70:13:70:13 | After 2 [no-match] | false | +| Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | Patterns.cs:30:18:30:26 | [OuterPatternMatch] String s2 | true | +| Patterns.cs:47:24:47:25 | Entry | Patterns.cs:48:18:48:20 | After a [match] | true | +| Patterns.cs:47:24:47:25 | Entry | Patterns.cs:48:18:48:20 | After a [no-match] | false | +| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:18:51:21 | After null [match] | true | +| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:18:51:21 | After null [no-match] | false | +| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:25:51:30 | After ... is ... | false | +| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:30:51:30 | After 1 [match] | false | +| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:30:51:30 | After 1 [no-match] | false | +| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:34:51:39 | After ... is ... | true | +| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:39:51:39 | After 2 [match] | true | +| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:39:51:39 | After 2 [no-match] | true | +| Patterns.cs:51:18:51:21 | After null [match] | Patterns.cs:51:39:51:39 | After 2 [match] | true | +| Patterns.cs:51:18:51:21 | After null [match] | Patterns.cs:51:39:51:39 | After 2 [no-match] | false | +| Patterns.cs:51:18:51:21 | After null [no-match] | Patterns.cs:51:30:51:30 | After 1 [match] | true | +| Patterns.cs:51:18:51:21 | After null [no-match] | Patterns.cs:51:30:51:30 | After 1 [no-match] | false | +| Patterns.cs:53:24:53:25 | Entry | Patterns.cs:54:18:54:25 | After access to type Patterns [match] | true | +| Patterns.cs:53:24:53:25 | Entry | Patterns.cs:54:18:54:25 | After access to type Patterns [no-match] | false | +| Patterns.cs:53:24:53:25 | Entry | Patterns.cs:54:27:54:35 | After { ... } [no-match] | true | +| Patterns.cs:53:24:53:25 | Entry | Patterns.cs:54:27:54:35 | [OuterPatternMatch] { ... } | true | +| Patterns.cs:53:24:53:25 | Entry | Patterns.cs:54:33:54:33 | After 1 [match] | true | +| Patterns.cs:53:24:53:25 | Entry | Patterns.cs:54:33:54:33 | After 1 [no-match] | true | +| Patterns.cs:54:18:54:25 | After access to type Patterns [match] | Patterns.cs:54:27:54:35 | [OuterPatternMatch] { ... } | true | +| Patterns.cs:54:18:54:25 | After access to type Patterns [match] | Patterns.cs:54:33:54:33 | After 1 [match] | true | +| Patterns.cs:54:18:54:25 | After access to type Patterns [match] | Patterns.cs:54:33:54:33 | After 1 [no-match] | true | +| Patterns.cs:54:27:54:35 | [OuterPatternMatch] { ... } | Patterns.cs:54:33:54:33 | After 1 [match] | true | +| Patterns.cs:54:27:54:35 | [OuterPatternMatch] { ... } | Patterns.cs:54:33:54:33 | After 1 [no-match] | false | +| Patterns.cs:56:26:56:27 | Entry | Patterns.cs:60:17:60:17 | After 1 [match] | true | +| Patterns.cs:56:26:56:27 | Entry | Patterns.cs:60:17:60:17 | After 1 [no-match] | false | +| Patterns.cs:65:26:65:27 | Entry | Patterns.cs:69:17:69:17 | After 2 [match] | true | +| Patterns.cs:65:26:65:27 | Entry | Patterns.cs:69:17:69:17 | After 2 [no-match] | false | +| Patterns.cs:65:26:65:27 | Entry | Patterns.cs:70:13:70:13 | After 2 [match] | true | +| Patterns.cs:65:26:65:27 | Entry | Patterns.cs:70:13:70:13 | After 2 [no-match] | true | +| Patterns.cs:69:17:69:17 | After 2 [match] | Patterns.cs:70:13:70:13 | After 2 [match] | true | +| Patterns.cs:69:17:69:17 | After 2 [match] | Patterns.cs:70:13:70:13 | After 2 [no-match] | false | | Patterns.cs:74:26:74:27 | Entry | Patterns.cs:78:13:78:15 | After > ... [match] | true | | Patterns.cs:74:26:74:27 | Entry | Patterns.cs:78:13:78:15 | After > ... [no-match] | false | | Patterns.cs:74:26:74:27 | Entry | Patterns.cs:79:13:79:15 | After < ... [match] | false | @@ -614,16 +613,34 @@ conditionBlock | Patterns.cs:78:13:78:15 | After > ... [no-match] | Patterns.cs:80:13:80:13 | After 1 [no-match] | false | | Patterns.cs:79:13:79:15 | After < ... [no-match] | Patterns.cs:80:13:80:13 | After 1 [match] | true | | Patterns.cs:79:13:79:15 | After < ... [no-match] | Patterns.cs:80:13:80:13 | After 1 [no-match] | false | -| Patterns.cs:85:26:85:27 | Entry | Patterns.cs:85:39:85:53 | After ... is ... [false] | false | -| Patterns.cs:85:26:85:27 | Entry | Patterns.cs:85:39:85:53 | [MatchTrue] ... is ... | true | -| Patterns.cs:87:26:87:27 | Entry | Patterns.cs:87:39:87:54 | After ... is ... [false] | false | -| Patterns.cs:87:26:87:27 | Entry | Patterns.cs:87:39:87:54 | [MatchTrue] ... is ... | true | -| Patterns.cs:93:17:93:19 | Entry | Patterns.cs:95:13:95:40 | After ... is ... [false] | false | -| Patterns.cs:93:17:93:19 | Entry | Patterns.cs:95:13:95:40 | [MatchTrue] ... is ... | true | -| PostDominance.cs:10:10:10:11 | Entry | PostDominance.cs:12:13:12:21 | After ... is ... [false] | false | -| PostDominance.cs:10:10:10:11 | Entry | PostDominance.cs:12:13:12:21 | [MatchTrue] ... is ... | true | -| PostDominance.cs:17:10:17:11 | Entry | PostDominance.cs:19:13:19:21 | After ... is ... [false] | false | -| PostDominance.cs:17:10:17:11 | Entry | PostDominance.cs:19:13:19:21 | [MatchTrue] ... is ... | true | +| Patterns.cs:85:26:85:27 | Entry | Patterns.cs:85:44:85:44 | After 1 [match] | true | +| Patterns.cs:85:26:85:27 | Entry | Patterns.cs:85:44:85:44 | After 1 [no-match] | false | +| Patterns.cs:85:26:85:27 | Entry | Patterns.cs:85:53:85:53 | After 2 [match] | false | +| Patterns.cs:85:26:85:27 | Entry | Patterns.cs:85:53:85:53 | After 2 [no-match] | false | +| Patterns.cs:85:44:85:44 | After 1 [no-match] | Patterns.cs:85:53:85:53 | After 2 [match] | true | +| Patterns.cs:85:44:85:44 | After 1 [no-match] | Patterns.cs:85:53:85:53 | After 2 [no-match] | false | +| Patterns.cs:87:26:87:27 | Entry | Patterns.cs:87:44:87:44 | After 1 [match] | true | +| Patterns.cs:87:26:87:27 | Entry | Patterns.cs:87:44:87:44 | After 1 [no-match] | false | +| Patterns.cs:87:26:87:27 | Entry | Patterns.cs:87:54:87:54 | After 2 [match] | true | +| Patterns.cs:87:26:87:27 | Entry | Patterns.cs:87:54:87:54 | After 2 [no-match] | true | +| Patterns.cs:87:44:87:44 | After 1 [match] | Patterns.cs:87:54:87:54 | After 2 [match] | true | +| Patterns.cs:87:44:87:44 | After 1 [match] | Patterns.cs:87:54:87:54 | After 2 [no-match] | false | +| Patterns.cs:93:17:93:19 | Entry | Patterns.cs:95:21:95:40 | [OuterPatternMatch] { ... } | true | +| Patterns.cs:93:17:93:19 | Entry | Patterns.cs:95:29:95:31 | After access to constant A [match] | true | +| Patterns.cs:93:17:93:19 | Entry | Patterns.cs:95:29:95:31 | After access to constant A [no-match] | true | +| Patterns.cs:93:17:93:19 | Entry | Patterns.cs:95:29:95:38 | After ... or ... [match] | true | +| Patterns.cs:93:17:93:19 | Entry | Patterns.cs:95:36:95:38 | After access to constant B [match] | true | +| Patterns.cs:93:17:93:19 | Entry | Patterns.cs:95:36:95:38 | After access to constant B [no-match] | true | +| Patterns.cs:95:21:95:40 | [OuterPatternMatch] { ... } | Patterns.cs:95:29:95:31 | After access to constant A [match] | true | +| Patterns.cs:95:21:95:40 | [OuterPatternMatch] { ... } | Patterns.cs:95:29:95:31 | After access to constant A [no-match] | false | +| Patterns.cs:95:21:95:40 | [OuterPatternMatch] { ... } | Patterns.cs:95:36:95:38 | After access to constant B [match] | false | +| Patterns.cs:95:21:95:40 | [OuterPatternMatch] { ... } | Patterns.cs:95:36:95:38 | After access to constant B [no-match] | false | +| Patterns.cs:95:29:95:31 | After access to constant A [no-match] | Patterns.cs:95:36:95:38 | After access to constant B [match] | true | +| Patterns.cs:95:29:95:31 | After access to constant A [no-match] | Patterns.cs:95:36:95:38 | After access to constant B [no-match] | false | +| PostDominance.cs:10:10:10:11 | Entry | PostDominance.cs:12:18:12:21 | After null [match] | true | +| PostDominance.cs:10:10:10:11 | Entry | PostDominance.cs:12:18:12:21 | After null [no-match] | false | +| PostDominance.cs:17:10:17:11 | Entry | PostDominance.cs:19:18:19:21 | After null [match] | true | +| PostDominance.cs:17:10:17:11 | Entry | PostDominance.cs:19:18:19:21 | After null [no-match] | false | | Switch.cs:10:10:10:11 | Entry | Switch.cs:10:10:10:11 | Exceptional Exit | false | | Switch.cs:10:10:10:11 | Entry | Switch.cs:14:18:14:20 | After "a" [match] | true | | Switch.cs:10:10:10:11 | Entry | Switch.cs:14:18:14:20 | After "a" [no-match] | false | @@ -632,87 +649,87 @@ conditionBlock | Switch.cs:10:10:10:11 | Entry | Switch.cs:16:18:16:18 | After 0 [no-match] | false | | Switch.cs:10:10:10:11 | Entry | Switch.cs:18:18:18:21 | After null [match] | false | | Switch.cs:10:10:10:11 | Entry | Switch.cs:18:18:18:21 | After null [no-match] | false | -| Switch.cs:10:10:10:11 | Entry | Switch.cs:20:18:20:22 | After Int32 i [match] | false | | Switch.cs:10:10:10:11 | Entry | Switch.cs:20:18:20:22 | After Int32 i [no-match] | false | +| Switch.cs:10:10:10:11 | Entry | Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | false | | Switch.cs:10:10:10:11 | Entry | Switch.cs:21:21:21:29 | After ... == ... [false] | false | | Switch.cs:10:10:10:11 | Entry | Switch.cs:21:21:21:29 | After ... == ... [true] | false | -| Switch.cs:10:10:10:11 | Entry | Switch.cs:24:18:24:25 | After String s [match] | false | | Switch.cs:10:10:10:11 | Entry | Switch.cs:24:18:24:25 | After String s [no-match] | false | +| Switch.cs:10:10:10:11 | Entry | Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | false | | Switch.cs:10:10:10:11 | Entry | Switch.cs:24:32:24:43 | After ... > ... [false] | false | | Switch.cs:10:10:10:11 | Entry | Switch.cs:24:32:24:43 | After ... > ... [true] | false | | Switch.cs:10:10:10:11 | Entry | Switch.cs:24:32:24:55 | After ... && ... [false] | false | | Switch.cs:10:10:10:11 | Entry | Switch.cs:24:48:24:55 | After ... != ... [false] | false | | Switch.cs:10:10:10:11 | Entry | Switch.cs:24:48:24:55 | After ... != ... [true] | false | | Switch.cs:10:10:10:11 | Entry | Switch.cs:27:13:27:39 | case ...: | false | -| Switch.cs:10:10:10:11 | Entry | Switch.cs:27:18:27:25 | After Double d [match] | false | | Switch.cs:10:10:10:11 | Entry | Switch.cs:27:18:27:25 | After Double d [no-match] | false | +| Switch.cs:10:10:10:11 | Entry | Switch.cs:27:18:27:25 | [OuterPatternMatch] Double d | false | | Switch.cs:10:10:10:11 | Entry | Switch.cs:30:13:30:20 | After default: [match] | false | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:16:18:16:18 | After 0 [match] | true | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:16:18:16:18 | After 0 [no-match] | false | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:18:18:18:21 | After null [match] | false | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:18:18:18:21 | After null [no-match] | false | -| Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:20:18:20:22 | After Int32 i [match] | false | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:20:18:20:22 | After Int32 i [no-match] | false | +| Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | false | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:21:21:21:29 | After ... == ... [false] | false | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:21:21:21:29 | After ... == ... [true] | false | -| Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:24:18:24:25 | After String s [match] | false | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:24:18:24:25 | After String s [no-match] | false | +| Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | false | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:24:32:24:43 | After ... > ... [false] | false | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:24:32:24:43 | After ... > ... [true] | false | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:24:32:24:55 | After ... && ... [false] | false | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:24:48:24:55 | After ... != ... [false] | false | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:24:48:24:55 | After ... != ... [true] | false | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:27:13:27:39 | case ...: | false | -| Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:27:18:27:25 | After Double d [match] | false | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:27:18:27:25 | After Double d [no-match] | false | +| Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:27:18:27:25 | [OuterPatternMatch] Double d | false | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:30:13:30:20 | After default: [match] | false | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:18:18:18:21 | After null [match] | true | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:18:18:18:21 | After null [no-match] | false | -| Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:20:18:20:22 | After Int32 i [match] | false | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:20:18:20:22 | After Int32 i [no-match] | false | +| Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | false | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:21:21:21:29 | After ... == ... [false] | false | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:21:21:21:29 | After ... == ... [true] | false | -| Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:24:18:24:25 | After String s [match] | false | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:24:18:24:25 | After String s [no-match] | false | +| Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | false | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:24:32:24:43 | After ... > ... [false] | false | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:24:32:24:43 | After ... > ... [true] | false | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:24:32:24:55 | After ... && ... [false] | false | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:24:48:24:55 | After ... != ... [false] | false | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:24:48:24:55 | After ... != ... [true] | false | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:27:13:27:39 | case ...: | false | -| Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:27:18:27:25 | After Double d [match] | false | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:27:18:27:25 | After Double d [no-match] | false | -| Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:20:18:20:22 | After Int32 i [match] | true | +| Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:27:18:27:25 | [OuterPatternMatch] Double d | false | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:20:18:20:22 | After Int32 i [no-match] | false | +| Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | true | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:21:21:21:29 | After ... == ... [false] | true | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:21:21:21:29 | After ... == ... [true] | true | -| Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:24:18:24:25 | After String s [match] | false | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:24:18:24:25 | After String s [no-match] | false | +| Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | false | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:24:32:24:43 | After ... > ... [false] | false | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:24:32:24:43 | After ... > ... [true] | false | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:24:32:24:55 | After ... && ... [false] | false | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:24:48:24:55 | After ... != ... [false] | false | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:24:48:24:55 | After ... != ... [true] | false | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:27:13:27:39 | case ...: | false | -| Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:27:18:27:25 | After Double d [match] | false | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:27:18:27:25 | After Double d [no-match] | false | -| Switch.cs:20:18:20:22 | After Int32 i [match] | Switch.cs:21:21:21:29 | After ... == ... [false] | false | -| Switch.cs:20:18:20:22 | After Int32 i [match] | Switch.cs:21:21:21:29 | After ... == ... [true] | true | -| Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:24:18:24:25 | After String s [match] | true | +| Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:27:18:27:25 | [OuterPatternMatch] Double d | false | | Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:24:18:24:25 | After String s [no-match] | false | +| Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | true | | Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:24:32:24:43 | After ... > ... [false] | true | | Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:24:32:24:43 | After ... > ... [true] | true | | Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:24:32:24:55 | After ... && ... [false] | true | | Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:24:48:24:55 | After ... != ... [false] | true | | Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:24:48:24:55 | After ... != ... [true] | true | -| Switch.cs:24:18:24:25 | After String s [match] | Switch.cs:24:32:24:43 | After ... > ... [false] | false | -| Switch.cs:24:18:24:25 | After String s [match] | Switch.cs:24:32:24:43 | After ... > ... [true] | true | -| Switch.cs:24:18:24:25 | After String s [match] | Switch.cs:24:48:24:55 | After ... != ... [false] | true | -| Switch.cs:24:18:24:25 | After String s [match] | Switch.cs:24:48:24:55 | After ... != ... [true] | true | +| Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | Switch.cs:21:21:21:29 | After ... == ... [false] | false | +| Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | Switch.cs:21:21:21:29 | After ... == ... [true] | true | +| Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | Switch.cs:24:32:24:43 | After ... > ... [false] | false | +| Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | Switch.cs:24:32:24:43 | After ... > ... [true] | true | +| Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | Switch.cs:24:48:24:55 | After ... != ... [false] | true | +| Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | Switch.cs:24:48:24:55 | After ... != ... [true] | true | | Switch.cs:24:32:24:43 | After ... > ... [true] | Switch.cs:24:48:24:55 | After ... != ... [false] | false | | Switch.cs:24:32:24:43 | After ... > ... [true] | Switch.cs:24:48:24:55 | After ... != ... [true] | true | -| Switch.cs:27:13:27:39 | case ...: | Switch.cs:27:18:27:25 | After Double d [match] | true | | Switch.cs:27:13:27:39 | case ...: | Switch.cs:27:18:27:25 | After Double d [no-match] | false | +| Switch.cs:27:13:27:39 | case ...: | Switch.cs:27:18:27:25 | [OuterPatternMatch] Double d | true | | Switch.cs:44:10:44:11 | Entry | Switch.cs:48:18:48:20 | After access to type Int32 [match] | true | | Switch.cs:44:10:44:11 | Entry | Switch.cs:48:18:48:20 | After access to type Int32 [no-match] | false | | Switch.cs:44:10:44:11 | Entry | Switch.cs:50:18:50:21 | After access to type Boolean [match] | false | @@ -772,22 +789,22 @@ conditionBlock | Switch.cs:118:13:118:34 | case ...: | Switch.cs:118:25:118:33 | After ... == ... [true] | true | | Switch.cs:118:18:118:18 | After 2 [match] | Switch.cs:118:25:118:33 | After ... == ... [false] | false | | Switch.cs:118:18:118:18 | After 2 [match] | Switch.cs:118:25:118:33 | After ... == ... [true] | true | -| Switch.cs:123:10:123:12 | Entry | Switch.cs:125:24:125:29 | After Boolean b [match] | true | | Switch.cs:123:10:123:12 | Entry | Switch.cs:125:24:125:29 | After Boolean b [no-match] | false | +| Switch.cs:123:10:123:12 | Entry | Switch.cs:125:24:125:29 | [OuterPatternMatch] Boolean b | true | | Switch.cs:123:10:123:12 | Entry | Switch.cs:125:34:125:34 | After access to local variable b [false] | true | | Switch.cs:123:10:123:12 | Entry | Switch.cs:125:34:125:34 | After access to local variable b [true] | true | -| Switch.cs:125:24:125:29 | After Boolean b [match] | Switch.cs:125:34:125:34 | After access to local variable b [false] | false | -| Switch.cs:125:24:125:29 | After Boolean b [match] | Switch.cs:125:34:125:34 | After access to local variable b [true] | true | -| Switch.cs:129:12:129:14 | Entry | Switch.cs:131:28:131:35 | After String s [match] | true | +| Switch.cs:125:24:125:29 | [OuterPatternMatch] Boolean b | Switch.cs:125:34:125:34 | After access to local variable b [false] | false | +| Switch.cs:125:24:125:29 | [OuterPatternMatch] Boolean b | Switch.cs:125:34:125:34 | After access to local variable b [true] | true | | Switch.cs:129:12:129:14 | Entry | Switch.cs:131:28:131:35 | After String s [no-match] | false | +| Switch.cs:129:12:129:14 | Entry | Switch.cs:131:28:131:35 | [OuterPatternMatch] String s | true | | Switch.cs:129:12:129:14 | Entry | Switch.cs:131:40:131:40 | After access to local variable s [non-null] | true | | Switch.cs:129:12:129:14 | Entry | Switch.cs:131:40:131:40 | After access to local variable s [null] | true | | Switch.cs:129:12:129:14 | Entry | Switch.cs:131:48:131:51 | After null [non-null] | false | | Switch.cs:129:12:129:14 | Entry | Switch.cs:131:48:131:51 | After null [null] | false | -| Switch.cs:131:28:131:35 | After String s [match] | Switch.cs:131:40:131:40 | After access to local variable s [non-null] | false | -| Switch.cs:131:28:131:35 | After String s [match] | Switch.cs:131:40:131:40 | After access to local variable s [null] | true | | Switch.cs:131:28:131:35 | After String s [no-match] | Switch.cs:131:48:131:51 | After null [non-null] | false | | Switch.cs:131:28:131:35 | After String s [no-match] | Switch.cs:131:48:131:51 | After null [null] | true | +| Switch.cs:131:28:131:35 | [OuterPatternMatch] String s | Switch.cs:131:40:131:40 | After access to local variable s [non-null] | false | +| Switch.cs:131:28:131:35 | [OuterPatternMatch] String s | Switch.cs:131:40:131:40 | After access to local variable s [null] | true | | Switch.cs:134:9:134:11 | Entry | Switch.cs:139:18:139:18 | After 1 [match] | true | | Switch.cs:134:9:134:11 | Entry | Switch.cs:139:18:139:18 | After 1 [no-match] | false | | Switch.cs:134:9:134:11 | Entry | Switch.cs:140:18:140:18 | After 2 [match] | false | @@ -820,8 +837,8 @@ conditionBlock | Switch.cs:167:18:167:18 | After 1 [no-match] | Switch.cs:171:18:171:18 | After 3 [no-match] | false | | Switch.cs:168:18:168:18 | After 2 [no-match] | Switch.cs:171:18:171:18 | After 3 [match] | true | | Switch.cs:168:18:168:18 | After 2 [no-match] | Switch.cs:171:18:171:18 | After 3 [no-match] | false | -| TypeAccesses.cs:3:10:3:10 | Entry | TypeAccesses.cs:7:13:7:22 | After ... is ... [false] | false | -| TypeAccesses.cs:3:10:3:10 | Entry | TypeAccesses.cs:7:13:7:22 | [MatchTrue] ... is ... | true | +| TypeAccesses.cs:3:10:3:10 | Entry | TypeAccesses.cs:7:18:7:22 | After Int32 j [no-match] | false | +| TypeAccesses.cs:3:10:3:10 | Entry | TypeAccesses.cs:7:18:7:22 | [OuterPatternMatch] Int32 j | true | | VarDecls.cs:19:7:19:8 | Entry | VarDecls.cs:25:20:25:20 | After access to parameter b [false] | false | | VarDecls.cs:19:7:19:8 | Entry | VarDecls.cs:25:20:25:20 | After access to parameter b [true] | true | | cflow.cs:5:17:5:20 | Entry | cflow.cs:11:13:11:17 | After ... > ... [false] | false | @@ -1341,39 +1358,25 @@ conditionFlow | NullCoalescing.cs:11:57:11:58 | After access to parameter b3 [true] | NullCoalescing.cs:11:51:11:58 | After ... && ... [true] | true | | NullCoalescing.cs:11:57:11:58 | access to parameter b3 | NullCoalescing.cs:11:57:11:58 | After access to parameter b3 [false] | false | | NullCoalescing.cs:11:57:11:58 | access to parameter b3 | NullCoalescing.cs:11:57:11:58 | After access to parameter b3 [true] | true | -| Patterns.cs:8:13:8:23 | ... is ... | Patterns.cs:8:13:8:23 | After ... is ... [false] | false | -| Patterns.cs:8:13:8:23 | ... is ... | Patterns.cs:8:13:8:23 | [MatchTrue] ... is ... | true | -| Patterns.cs:8:18:8:23 | After Int32 i1 | Patterns.cs:8:13:8:23 | After ... is ... [true] | true | -| Patterns.cs:12:18:12:31 | ... is ... | Patterns.cs:12:18:12:31 | After ... is ... [false] | false | -| Patterns.cs:12:18:12:31 | ... is ... | Patterns.cs:12:18:12:31 | [MatchTrue] ... is ... | true | -| Patterns.cs:12:23:12:31 | After String s1 | Patterns.cs:12:18:12:31 | After ... is ... [true] | true | -| Patterns.cs:16:18:16:28 | ... is ... | Patterns.cs:16:18:16:28 | After ... is ... [false] | false | -| Patterns.cs:16:18:16:28 | ... is ... | Patterns.cs:16:18:16:28 | [MatchTrue] ... is ... | true | -| Patterns.cs:16:23:16:28 | After Object v1 | Patterns.cs:16:18:16:28 | After ... is ... [true] | true | +| Patterns.cs:8:18:8:23 | After Int32 i1 [match] | Patterns.cs:8:13:8:23 | After ... is ... [true] | true | +| Patterns.cs:8:18:8:23 | After Int32 i1 [no-match] | Patterns.cs:8:13:8:23 | After ... is ... [false] | false | +| Patterns.cs:12:23:12:31 | After String s1 [match] | Patterns.cs:12:18:12:31 | After ... is ... [true] | true | +| Patterns.cs:12:23:12:31 | After String s1 [no-match] | Patterns.cs:12:18:12:31 | After ... is ... [false] | false | +| Patterns.cs:16:23:16:28 | After Object v1 [match] | Patterns.cs:16:18:16:28 | After ... is ... [true] | true | | Patterns.cs:24:30:24:35 | ... > ... | Patterns.cs:24:30:24:35 | After ... > ... [false] | false | | Patterns.cs:24:30:24:35 | ... > ... | Patterns.cs:24:30:24:35 | After ... > ... [true] | true | -| Patterns.cs:48:9:48:20 | ... is ... | Patterns.cs:48:9:48:20 | [MatchTrue] ... is ... | true | -| Patterns.cs:51:9:51:21 | ... is ... | Patterns.cs:51:9:51:21 | After ... is ... [false] | false | -| Patterns.cs:51:9:51:21 | ... is ... | Patterns.cs:51:9:51:21 | [MatchTrue] ... is ... | true | -| Patterns.cs:51:14:51:21 | After not ... | Patterns.cs:51:9:51:21 | After ... is ... [true] | true | -| Patterns.cs:51:25:51:30 | ... is ... | Patterns.cs:51:25:51:30 | [MatchTrue] ... is ... | true | -| Patterns.cs:51:34:51:39 | ... is ... | Patterns.cs:51:34:51:39 | [MatchTrue] ... is ... | true | -| Patterns.cs:54:9:54:37 | ... is ... | Patterns.cs:54:9:54:37 | [MatchTrue] ... is ... | true | -| Patterns.cs:85:39:85:53 | ... is ... | Patterns.cs:85:39:85:53 | After ... is ... [false] | false | -| Patterns.cs:85:39:85:53 | ... is ... | Patterns.cs:85:39:85:53 | [MatchTrue] ... is ... | true | -| Patterns.cs:85:44:85:53 | After ... or ... | Patterns.cs:85:39:85:53 | After ... is ... [true] | true | -| Patterns.cs:87:39:87:54 | ... is ... | Patterns.cs:87:39:87:54 | After ... is ... [false] | false | -| Patterns.cs:87:39:87:54 | ... is ... | Patterns.cs:87:39:87:54 | [MatchTrue] ... is ... | true | -| Patterns.cs:87:44:87:54 | After ... and ... | Patterns.cs:87:39:87:54 | After ... is ... [true] | true | -| Patterns.cs:95:13:95:40 | ... is ... | Patterns.cs:95:13:95:40 | After ... is ... [false] | false | -| Patterns.cs:95:13:95:40 | ... is ... | Patterns.cs:95:13:95:40 | [MatchTrue] ... is ... | true | -| Patterns.cs:95:21:95:40 | After { ... } | Patterns.cs:95:13:95:40 | After ... is ... [true] | true | -| PostDominance.cs:12:13:12:21 | ... is ... | PostDominance.cs:12:13:12:21 | After ... is ... [false] | false | -| PostDominance.cs:12:13:12:21 | ... is ... | PostDominance.cs:12:13:12:21 | [MatchTrue] ... is ... | true | -| PostDominance.cs:12:18:12:21 | null | PostDominance.cs:12:13:12:21 | After ... is ... [true] | true | -| PostDominance.cs:19:13:19:21 | ... is ... | PostDominance.cs:19:13:19:21 | After ... is ... [false] | false | -| PostDominance.cs:19:13:19:21 | ... is ... | PostDominance.cs:19:13:19:21 | [MatchTrue] ... is ... | true | -| PostDominance.cs:19:18:19:21 | null | PostDominance.cs:19:13:19:21 | After ... is ... [true] | true | +| Patterns.cs:51:14:51:21 | After not ... [match] | Patterns.cs:51:9:51:21 | After ... is ... [true] | true | +| Patterns.cs:51:14:51:21 | After not ... [no-match] | Patterns.cs:51:9:51:21 | After ... is ... [false] | false | +| Patterns.cs:85:44:85:53 | After ... or ... [match] | Patterns.cs:85:39:85:53 | After ... is ... [true] | true | +| Patterns.cs:85:44:85:53 | After ... or ... [no-match] | Patterns.cs:85:39:85:53 | After ... is ... [false] | false | +| Patterns.cs:87:44:87:54 | After ... and ... [match] | Patterns.cs:87:39:87:54 | After ... is ... [true] | true | +| Patterns.cs:87:44:87:54 | After ... and ... [no-match] | Patterns.cs:87:39:87:54 | After ... is ... [false] | false | +| Patterns.cs:95:21:95:40 | After { ... } [match] | Patterns.cs:95:13:95:40 | After ... is ... [true] | true | +| Patterns.cs:95:21:95:40 | After { ... } [no-match] | Patterns.cs:95:13:95:40 | After ... is ... [false] | false | +| PostDominance.cs:12:18:12:21 | After null [match] | PostDominance.cs:12:13:12:21 | After ... is ... [true] | true | +| PostDominance.cs:12:18:12:21 | After null [no-match] | PostDominance.cs:12:13:12:21 | After ... is ... [false] | false | +| PostDominance.cs:19:18:19:21 | After null [match] | PostDominance.cs:19:13:19:21 | After ... is ... [true] | true | +| PostDominance.cs:19:18:19:21 | After null [no-match] | PostDominance.cs:19:13:19:21 | After ... is ... [false] | false | | Switch.cs:21:21:21:29 | ... == ... | Switch.cs:21:21:21:29 | After ... == ... [false] | false | | Switch.cs:21:21:21:29 | ... == ... | Switch.cs:21:21:21:29 | After ... == ... [true] | true | | Switch.cs:24:32:24:43 | ... > ... | Switch.cs:24:32:24:43 | After ... > ... [false] | false | @@ -1399,9 +1402,8 @@ conditionFlow | Switch.cs:125:42:125:46 | false | Switch.cs:125:42:125:46 | After false [false] | false | | Switch.cs:157:13:157:13 | access to parameter b | Switch.cs:157:13:157:13 | After access to parameter b [false] | false | | Switch.cs:157:13:157:13 | access to parameter b | Switch.cs:157:13:157:13 | After access to parameter b [true] | true | -| TypeAccesses.cs:7:13:7:22 | ... is ... | TypeAccesses.cs:7:13:7:22 | After ... is ... [false] | false | -| TypeAccesses.cs:7:13:7:22 | ... is ... | TypeAccesses.cs:7:13:7:22 | [MatchTrue] ... is ... | true | -| TypeAccesses.cs:7:18:7:22 | After Int32 j | TypeAccesses.cs:7:13:7:22 | After ... is ... [true] | true | +| TypeAccesses.cs:7:18:7:22 | After Int32 j [match] | TypeAccesses.cs:7:13:7:22 | After ... is ... [true] | true | +| TypeAccesses.cs:7:18:7:22 | After Int32 j [no-match] | TypeAccesses.cs:7:13:7:22 | After ... is ... [false] | false | | VarDecls.cs:25:20:25:20 | access to parameter b | VarDecls.cs:25:20:25:20 | After access to parameter b [false] | false | | VarDecls.cs:25:20:25:20 | access to parameter b | VarDecls.cs:25:20:25:20 | After access to parameter b [true] | true | | cflow.cs:11:13:11:17 | ... > ... | cflow.cs:11:13:11:17 | After ... > ... [false] | false | diff --git a/csharp/ql/test/library-tests/controlflow/graph/Dominance.expected b/csharp/ql/test/library-tests/controlflow/graph/Dominance.expected index 982cb3063a2c..2d3ceb956b6c 100644 --- a/csharp/ql/test/library-tests/controlflow/graph/Dominance.expected +++ b/csharp/ql/test/library-tests/controlflow/graph/Dominance.expected @@ -5259,18 +5259,18 @@ dominance | Patterns.cs:7:16:7:23 | Object o = ... | Patterns.cs:7:16:7:23 | After Object o = ... | | Patterns.cs:7:20:7:23 | null | Patterns.cs:7:16:7:23 | Object o = ... | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:20:9:38:9 | switch (...) {...} | -| Patterns.cs:8:9:18:9 | if (...) ... | Patterns.cs:8:13:8:23 | Before ... is ... | -| Patterns.cs:8:13:8:13 | access to local variable o | Patterns.cs:8:13:8:23 | ... is ... | -| Patterns.cs:8:13:8:23 | ... is ... | Patterns.cs:8:13:8:23 | After ... is ... [false] | -| Patterns.cs:8:13:8:23 | ... is ... | Patterns.cs:8:13:8:23 | [MatchTrue] ... is ... | +| Patterns.cs:8:9:18:9 | if (...) ... | Patterns.cs:8:13:8:23 | ... is ... | +| Patterns.cs:8:13:8:13 | access to local variable o | Patterns.cs:8:18:8:23 | Int32 i1 | +| Patterns.cs:8:13:8:23 | ... is ... | Patterns.cs:8:13:8:13 | access to local variable o | | Patterns.cs:8:13:8:23 | After ... is ... [false] | Patterns.cs:12:14:18:9 | if (...) ... | | Patterns.cs:8:13:8:23 | After ... is ... [true] | Patterns.cs:9:9:11:9 | {...} | -| Patterns.cs:8:13:8:23 | Before ... is ... | Patterns.cs:8:13:8:13 | access to local variable o | -| Patterns.cs:8:13:8:23 | [MatchTrue] ... is ... | Patterns.cs:8:18:8:23 | Before Int32 i1 | -| Patterns.cs:8:18:8:23 | After Int32 i1 | Patterns.cs:8:13:8:23 | After ... is ... [true] | -| Patterns.cs:8:18:8:23 | Before Int32 i1 | Patterns.cs:8:22:8:23 | access to local variable i1 | -| Patterns.cs:8:18:8:23 | Int32 i1 | Patterns.cs:8:18:8:23 | After Int32 i1 | -| Patterns.cs:8:22:8:23 | access to local variable i1 | Patterns.cs:8:18:8:23 | Int32 i1 | +| Patterns.cs:8:18:8:23 | After Int32 i1 [match] | Patterns.cs:8:13:8:23 | After ... is ... [true] | +| Patterns.cs:8:18:8:23 | After Int32 i1 [no-match] | Patterns.cs:8:13:8:23 | After ... is ... [false] | +| Patterns.cs:8:18:8:23 | Int32 i1 | Patterns.cs:8:18:8:23 | After Int32 i1 [no-match] | +| Patterns.cs:8:18:8:23 | Int32 i1 | Patterns.cs:8:18:8:23 | [OuterPatternMatch] Int32 i1 | +| Patterns.cs:8:18:8:23 | [OuterPatternMatch] Int32 i1 | Patterns.cs:8:22:8:23 | access to local variable i1 | +| Patterns.cs:8:22:8:23 | After access to local variable i1 [match] | Patterns.cs:8:18:8:23 | After Int32 i1 [match] | +| Patterns.cs:8:22:8:23 | access to local variable i1 | Patterns.cs:8:22:8:23 | After access to local variable i1 [match] | | Patterns.cs:9:9:11:9 | {...} | Patterns.cs:10:13:10:43 | ...; | | Patterns.cs:10:13:10:42 | After call to method WriteLine | Patterns.cs:10:13:10:43 | After ...; | | Patterns.cs:10:13:10:42 | Before call to method WriteLine | Patterns.cs:10:31:10:41 | Before $"..." | @@ -5285,18 +5285,18 @@ dominance | Patterns.cs:10:37:10:40 | Before {...} | Patterns.cs:10:38:10:39 | access to local variable i1 | | Patterns.cs:10:37:10:40 | {...} | Patterns.cs:10:37:10:40 | After {...} | | Patterns.cs:10:38:10:39 | access to local variable i1 | Patterns.cs:10:37:10:40 | {...} | -| Patterns.cs:12:14:18:9 | if (...) ... | Patterns.cs:12:18:12:31 | Before ... is ... | -| Patterns.cs:12:18:12:18 | access to local variable o | Patterns.cs:12:18:12:31 | ... is ... | -| Patterns.cs:12:18:12:31 | ... is ... | Patterns.cs:12:18:12:31 | After ... is ... [false] | -| Patterns.cs:12:18:12:31 | ... is ... | Patterns.cs:12:18:12:31 | [MatchTrue] ... is ... | +| Patterns.cs:12:14:18:9 | if (...) ... | Patterns.cs:12:18:12:31 | ... is ... | +| Patterns.cs:12:18:12:18 | access to local variable o | Patterns.cs:12:23:12:31 | String s1 | +| Patterns.cs:12:18:12:31 | ... is ... | Patterns.cs:12:18:12:18 | access to local variable o | | Patterns.cs:12:18:12:31 | After ... is ... [false] | Patterns.cs:16:14:18:9 | if (...) ... | | Patterns.cs:12:18:12:31 | After ... is ... [true] | Patterns.cs:13:9:15:9 | {...} | -| Patterns.cs:12:18:12:31 | Before ... is ... | Patterns.cs:12:18:12:18 | access to local variable o | -| Patterns.cs:12:18:12:31 | [MatchTrue] ... is ... | Patterns.cs:12:23:12:31 | Before String s1 | -| Patterns.cs:12:23:12:31 | After String s1 | Patterns.cs:12:18:12:31 | After ... is ... [true] | -| Patterns.cs:12:23:12:31 | Before String s1 | Patterns.cs:12:30:12:31 | access to local variable s1 | -| Patterns.cs:12:23:12:31 | String s1 | Patterns.cs:12:23:12:31 | After String s1 | -| Patterns.cs:12:30:12:31 | access to local variable s1 | Patterns.cs:12:23:12:31 | String s1 | +| Patterns.cs:12:23:12:31 | After String s1 [match] | Patterns.cs:12:18:12:31 | After ... is ... [true] | +| Patterns.cs:12:23:12:31 | After String s1 [no-match] | Patterns.cs:12:18:12:31 | After ... is ... [false] | +| Patterns.cs:12:23:12:31 | String s1 | Patterns.cs:12:23:12:31 | After String s1 [no-match] | +| Patterns.cs:12:23:12:31 | String s1 | Patterns.cs:12:23:12:31 | [OuterPatternMatch] String s1 | +| Patterns.cs:12:23:12:31 | [OuterPatternMatch] String s1 | Patterns.cs:12:30:12:31 | access to local variable s1 | +| Patterns.cs:12:30:12:31 | After access to local variable s1 [match] | Patterns.cs:12:23:12:31 | After String s1 [match] | +| Patterns.cs:12:30:12:31 | access to local variable s1 | Patterns.cs:12:30:12:31 | After access to local variable s1 [match] | | Patterns.cs:13:9:15:9 | {...} | Patterns.cs:14:13:14:46 | ...; | | Patterns.cs:14:13:14:45 | After call to method WriteLine | Patterns.cs:14:13:14:46 | After ...; | | Patterns.cs:14:13:14:45 | Before call to method WriteLine | Patterns.cs:14:31:14:44 | Before $"..." | @@ -5311,17 +5311,16 @@ dominance | Patterns.cs:14:40:14:43 | Before {...} | Patterns.cs:14:41:14:42 | access to local variable s1 | | Patterns.cs:14:40:14:43 | {...} | Patterns.cs:14:40:14:43 | After {...} | | Patterns.cs:14:41:14:42 | access to local variable s1 | Patterns.cs:14:40:14:43 | {...} | -| Patterns.cs:16:14:18:9 | if (...) ... | Patterns.cs:16:18:16:28 | Before ... is ... | -| Patterns.cs:16:18:16:18 | access to local variable o | Patterns.cs:16:18:16:28 | ... is ... | -| Patterns.cs:16:18:16:28 | ... is ... | Patterns.cs:16:18:16:28 | After ... is ... [false] | -| Patterns.cs:16:18:16:28 | ... is ... | Patterns.cs:16:18:16:28 | [MatchTrue] ... is ... | +| Patterns.cs:16:14:18:9 | if (...) ... | Patterns.cs:16:18:16:28 | ... is ... | +| Patterns.cs:16:18:16:18 | access to local variable o | Patterns.cs:16:23:16:28 | Object v1 | +| Patterns.cs:16:18:16:28 | ... is ... | Patterns.cs:16:18:16:18 | access to local variable o | | Patterns.cs:16:18:16:28 | After ... is ... [true] | Patterns.cs:17:9:18:9 | {...} | -| Patterns.cs:16:18:16:28 | Before ... is ... | Patterns.cs:16:18:16:18 | access to local variable o | -| Patterns.cs:16:18:16:28 | [MatchTrue] ... is ... | Patterns.cs:16:23:16:28 | Before Object v1 | -| Patterns.cs:16:23:16:28 | After Object v1 | Patterns.cs:16:18:16:28 | After ... is ... [true] | -| Patterns.cs:16:23:16:28 | Before Object v1 | Patterns.cs:16:27:16:28 | access to local variable v1 | -| Patterns.cs:16:23:16:28 | Object v1 | Patterns.cs:16:23:16:28 | After Object v1 | -| Patterns.cs:16:27:16:28 | access to local variable v1 | Patterns.cs:16:23:16:28 | Object v1 | +| Patterns.cs:16:23:16:28 | After Object v1 [match] | Patterns.cs:16:18:16:28 | After ... is ... [true] | +| Patterns.cs:16:23:16:28 | Object v1 | Patterns.cs:16:23:16:28 | [OuterPatternMatch] Object v1 | +| Patterns.cs:16:23:16:28 | [OuterPatternMatch] Object v1 | Patterns.cs:16:27:16:28 | access to local variable v1 | +| Patterns.cs:16:27:16:28 | After access to local variable v1 [match] | Patterns.cs:16:23:16:28 | After Object v1 [match] | +| Patterns.cs:16:27:16:28 | access to local variable v1 | Patterns.cs:16:27:16:28 | After access to local variable v1 [match] | +| Patterns.cs:17:9:18:9 | {...} | Patterns.cs:16:14:18:9 | After if (...) ... | | Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:40:9:42:9 | switch (...) {...} | | Patterns.cs:20:9:38:9 | switch (...) {...} | Patterns.cs:20:17:20:17 | access to local variable o | | Patterns.cs:20:17:20:17 | access to local variable o | Patterns.cs:22:13:22:23 | case ...: | @@ -5334,13 +5333,14 @@ dominance | Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:22:13:22:23 | After case ...: [no-match] | | Patterns.cs:23:17:23:22 | Before break; | Patterns.cs:23:17:23:22 | break; | | Patterns.cs:24:13:24:36 | After case ...: [match] | Patterns.cs:24:30:24:35 | Before ... > ... | -| Patterns.cs:24:13:24:36 | case ...: | Patterns.cs:24:18:24:23 | Before Int32 i2 | +| Patterns.cs:24:13:24:36 | case ...: | Patterns.cs:24:18:24:23 | Int32 i2 | | Patterns.cs:24:18:24:23 | After Int32 i2 [match] | Patterns.cs:24:13:24:36 | After case ...: [match] | | Patterns.cs:24:18:24:23 | After Int32 i2 [no-match] | Patterns.cs:24:13:24:36 | After case ...: [no-match] | -| Patterns.cs:24:18:24:23 | Before Int32 i2 | Patterns.cs:24:22:24:23 | access to local variable i2 | -| Patterns.cs:24:18:24:23 | Int32 i2 | Patterns.cs:24:18:24:23 | After Int32 i2 [match] | | Patterns.cs:24:18:24:23 | Int32 i2 | Patterns.cs:24:18:24:23 | After Int32 i2 [no-match] | -| Patterns.cs:24:22:24:23 | access to local variable i2 | Patterns.cs:24:18:24:23 | Int32 i2 | +| Patterns.cs:24:18:24:23 | Int32 i2 | Patterns.cs:24:18:24:23 | [OuterPatternMatch] Int32 i2 | +| Patterns.cs:24:18:24:23 | [OuterPatternMatch] Int32 i2 | Patterns.cs:24:22:24:23 | access to local variable i2 | +| Patterns.cs:24:22:24:23 | After access to local variable i2 [match] | Patterns.cs:24:18:24:23 | After Int32 i2 [match] | +| Patterns.cs:24:22:24:23 | access to local variable i2 | Patterns.cs:24:22:24:23 | After access to local variable i2 [match] | | Patterns.cs:24:30:24:31 | access to local variable i2 | Patterns.cs:24:35:24:35 | 0 | | Patterns.cs:24:30:24:35 | ... > ... | Patterns.cs:24:30:24:35 | After ... > ... [false] | | Patterns.cs:24:30:24:35 | ... > ... | Patterns.cs:24:30:24:35 | After ... > ... [true] | @@ -5363,13 +5363,14 @@ dominance | Patterns.cs:26:17:26:22 | Before break; | Patterns.cs:26:17:26:22 | break; | | Patterns.cs:27:13:27:24 | After case ...: [match] | Patterns.cs:28:17:28:47 | ...; | | Patterns.cs:27:13:27:24 | After case ...: [no-match] | Patterns.cs:30:13:30:27 | case ...: | -| Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:27:18:27:23 | Before Int32 i3 | +| Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:27:18:27:23 | Int32 i3 | | Patterns.cs:27:18:27:23 | After Int32 i3 [match] | Patterns.cs:27:13:27:24 | After case ...: [match] | | Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | Patterns.cs:27:13:27:24 | After case ...: [no-match] | -| Patterns.cs:27:18:27:23 | Before Int32 i3 | Patterns.cs:27:22:27:23 | access to local variable i3 | -| Patterns.cs:27:18:27:23 | Int32 i3 | Patterns.cs:27:18:27:23 | After Int32 i3 [match] | | Patterns.cs:27:18:27:23 | Int32 i3 | Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | -| Patterns.cs:27:22:27:23 | access to local variable i3 | Patterns.cs:27:18:27:23 | Int32 i3 | +| Patterns.cs:27:18:27:23 | Int32 i3 | Patterns.cs:27:18:27:23 | [OuterPatternMatch] Int32 i3 | +| Patterns.cs:27:18:27:23 | [OuterPatternMatch] Int32 i3 | Patterns.cs:27:22:27:23 | access to local variable i3 | +| Patterns.cs:27:22:27:23 | After access to local variable i3 [match] | Patterns.cs:27:18:27:23 | After Int32 i3 [match] | +| Patterns.cs:27:22:27:23 | access to local variable i3 | Patterns.cs:27:22:27:23 | After access to local variable i3 [match] | | Patterns.cs:28:17:28:46 | After call to method WriteLine | Patterns.cs:28:17:28:47 | After ...; | | Patterns.cs:28:17:28:46 | Before call to method WriteLine | Patterns.cs:28:35:28:45 | Before $"..." | | Patterns.cs:28:17:28:46 | call to method WriteLine | Patterns.cs:28:17:28:46 | After call to method WriteLine | @@ -5386,13 +5387,14 @@ dominance | Patterns.cs:29:17:29:22 | Before break; | Patterns.cs:29:17:29:22 | break; | | Patterns.cs:30:13:30:27 | After case ...: [match] | Patterns.cs:31:17:31:50 | ...; | | Patterns.cs:30:13:30:27 | After case ...: [no-match] | Patterns.cs:33:13:33:24 | case ...: | -| Patterns.cs:30:13:30:27 | case ...: | Patterns.cs:30:18:30:26 | Before String s2 | +| Patterns.cs:30:13:30:27 | case ...: | Patterns.cs:30:18:30:26 | String s2 | | Patterns.cs:30:18:30:26 | After String s2 [match] | Patterns.cs:30:13:30:27 | After case ...: [match] | | Patterns.cs:30:18:30:26 | After String s2 [no-match] | Patterns.cs:30:13:30:27 | After case ...: [no-match] | -| Patterns.cs:30:18:30:26 | Before String s2 | Patterns.cs:30:25:30:26 | access to local variable s2 | -| Patterns.cs:30:18:30:26 | String s2 | Patterns.cs:30:18:30:26 | After String s2 [match] | | Patterns.cs:30:18:30:26 | String s2 | Patterns.cs:30:18:30:26 | After String s2 [no-match] | -| Patterns.cs:30:25:30:26 | access to local variable s2 | Patterns.cs:30:18:30:26 | String s2 | +| Patterns.cs:30:18:30:26 | String s2 | Patterns.cs:30:18:30:26 | [OuterPatternMatch] String s2 | +| Patterns.cs:30:18:30:26 | [OuterPatternMatch] String s2 | Patterns.cs:30:25:30:26 | access to local variable s2 | +| Patterns.cs:30:25:30:26 | After access to local variable s2 [match] | Patterns.cs:30:18:30:26 | After String s2 [match] | +| Patterns.cs:30:25:30:26 | access to local variable s2 | Patterns.cs:30:25:30:26 | After access to local variable s2 [match] | | Patterns.cs:31:17:31:49 | After call to method WriteLine | Patterns.cs:31:17:31:50 | After ...; | | Patterns.cs:31:17:31:49 | Before call to method WriteLine | Patterns.cs:31:35:31:48 | Before $"..." | | Patterns.cs:31:17:31:49 | call to method WriteLine | Patterns.cs:31:17:31:49 | After call to method WriteLine | @@ -5408,88 +5410,76 @@ dominance | Patterns.cs:31:45:31:46 | access to local variable s2 | Patterns.cs:31:44:31:47 | {...} | | Patterns.cs:32:17:32:22 | Before break; | Patterns.cs:32:17:32:22 | break; | | Patterns.cs:33:13:33:24 | After case ...: [match] | Patterns.cs:34:17:34:22 | Before break; | -| Patterns.cs:33:13:33:24 | After case ...: [no-match] | Patterns.cs:35:13:35:20 | default: | -| Patterns.cs:33:13:33:24 | case ...: | Patterns.cs:33:18:33:23 | Before Object v2 | +| Patterns.cs:33:13:33:24 | case ...: | Patterns.cs:33:18:33:23 | Object v2 | | Patterns.cs:33:18:33:23 | After Object v2 [match] | Patterns.cs:33:13:33:24 | After case ...: [match] | -| Patterns.cs:33:18:33:23 | After Object v2 [no-match] | Patterns.cs:33:13:33:24 | After case ...: [no-match] | -| Patterns.cs:33:18:33:23 | Before Object v2 | Patterns.cs:33:22:33:23 | access to local variable v2 | -| Patterns.cs:33:18:33:23 | Object v2 | Patterns.cs:33:18:33:23 | After Object v2 [match] | -| Patterns.cs:33:18:33:23 | Object v2 | Patterns.cs:33:18:33:23 | After Object v2 [no-match] | -| Patterns.cs:33:22:33:23 | access to local variable v2 | Patterns.cs:33:18:33:23 | Object v2 | +| Patterns.cs:33:18:33:23 | Object v2 | Patterns.cs:33:18:33:23 | [OuterPatternMatch] Object v2 | +| Patterns.cs:33:18:33:23 | [OuterPatternMatch] Object v2 | Patterns.cs:33:22:33:23 | access to local variable v2 | +| Patterns.cs:33:22:33:23 | After access to local variable v2 [match] | Patterns.cs:33:18:33:23 | After Object v2 [match] | +| Patterns.cs:33:22:33:23 | access to local variable v2 | Patterns.cs:33:22:33:23 | After access to local variable v2 [match] | | Patterns.cs:34:17:34:22 | Before break; | Patterns.cs:34:17:34:22 | break; | -| Patterns.cs:35:13:35:20 | After default: [match] | Patterns.cs:36:17:36:52 | ...; | -| Patterns.cs:35:13:35:20 | default: | Patterns.cs:35:13:35:20 | After default: [match] | -| Patterns.cs:36:17:36:51 | After call to method WriteLine | Patterns.cs:36:17:36:52 | After ...; | -| Patterns.cs:36:17:36:51 | Before call to method WriteLine | Patterns.cs:36:35:36:50 | "Something else" | -| Patterns.cs:36:17:36:51 | call to method WriteLine | Patterns.cs:36:17:36:51 | After call to method WriteLine | -| Patterns.cs:36:17:36:52 | ...; | Patterns.cs:36:17:36:51 | Before call to method WriteLine | -| Patterns.cs:36:17:36:52 | After ...; | Patterns.cs:37:17:37:22 | Before break; | -| Patterns.cs:36:35:36:50 | "Something else" | Patterns.cs:36:17:36:51 | call to method WriteLine | -| Patterns.cs:37:17:37:22 | Before break; | Patterns.cs:37:17:37:22 | break; | | Patterns.cs:40:9:42:9 | After switch (...) {...} | Patterns.cs:6:5:43:5 | After {...} | | Patterns.cs:40:9:42:9 | switch (...) {...} | Patterns.cs:40:17:40:17 | access to local variable o | | Patterns.cs:40:17:40:17 | access to local variable o | Patterns.cs:40:9:42:9 | After switch (...) {...} | | Patterns.cs:47:24:47:25 | Entry | Patterns.cs:47:32:47:32 | c | | Patterns.cs:47:24:47:25 | Normal Exit | Patterns.cs:47:24:47:25 | Exit | -| Patterns.cs:47:32:47:32 | c | Patterns.cs:48:9:48:20 | Before ... is ... | -| Patterns.cs:48:9:48:9 | access to parameter c | Patterns.cs:48:9:48:20 | ... is ... | -| Patterns.cs:48:9:48:20 | ... is ... | Patterns.cs:48:9:48:20 | After ... is ... | -| Patterns.cs:48:9:48:20 | ... is ... | Patterns.cs:48:9:48:20 | [MatchTrue] ... is ... | +| Patterns.cs:47:32:47:32 | c | Patterns.cs:48:9:48:20 | ... is ... | +| Patterns.cs:48:9:48:9 | access to parameter c | Patterns.cs:48:14:48:20 | not ... | +| Patterns.cs:48:9:48:20 | ... is ... | Patterns.cs:48:9:48:9 | access to parameter c | | Patterns.cs:48:9:48:20 | After ... is ... | Patterns.cs:47:24:47:25 | Normal Exit | -| Patterns.cs:48:9:48:20 | Before ... is ... | Patterns.cs:48:9:48:9 | access to parameter c | -| Patterns.cs:48:9:48:20 | [MatchTrue] ... is ... | Patterns.cs:48:14:48:20 | Before not ... | -| Patterns.cs:48:14:48:20 | Before not ... | Patterns.cs:48:18:48:20 | a | -| Patterns.cs:48:14:48:20 | not ... | Patterns.cs:48:14:48:20 | After not ... | -| Patterns.cs:48:18:48:20 | a | Patterns.cs:48:14:48:20 | not ... | +| Patterns.cs:48:14:48:20 | not ... | Patterns.cs:48:18:48:20 | a | +| Patterns.cs:48:18:48:20 | After a [match] | Patterns.cs:48:14:48:20 | After not ... [no-match] | +| Patterns.cs:48:18:48:20 | After a [no-match] | Patterns.cs:48:14:48:20 | After not ... [match] | +| Patterns.cs:48:18:48:20 | a | Patterns.cs:48:18:48:20 | After a [match] | +| Patterns.cs:48:18:48:20 | a | Patterns.cs:48:18:48:20 | After a [no-match] | | Patterns.cs:50:24:50:25 | Entry | Patterns.cs:50:34:50:34 | c | | Patterns.cs:50:24:50:25 | Normal Exit | Patterns.cs:50:24:50:25 | Exit | | Patterns.cs:50:34:50:34 | c | Patterns.cs:51:9:51:39 | ... ? ... : ... | -| Patterns.cs:51:9:51:9 | access to parameter c | Patterns.cs:51:9:51:21 | ... is ... | -| Patterns.cs:51:9:51:21 | ... is ... | Patterns.cs:51:9:51:21 | After ... is ... [false] | -| Patterns.cs:51:9:51:21 | ... is ... | Patterns.cs:51:9:51:21 | [MatchTrue] ... is ... | -| Patterns.cs:51:9:51:21 | After ... is ... [false] | Patterns.cs:51:34:51:39 | Before ... is ... | -| Patterns.cs:51:9:51:21 | After ... is ... [true] | Patterns.cs:51:25:51:30 | Before ... is ... | -| Patterns.cs:51:9:51:21 | Before ... is ... | Patterns.cs:51:9:51:9 | access to parameter c | -| Patterns.cs:51:9:51:21 | [MatchTrue] ... is ... | Patterns.cs:51:14:51:21 | Before not ... | -| Patterns.cs:51:9:51:39 | ... ? ... : ... | Patterns.cs:51:9:51:21 | Before ... is ... | +| Patterns.cs:51:9:51:9 | access to parameter c | Patterns.cs:51:14:51:21 | not ... | +| Patterns.cs:51:9:51:21 | ... is ... | Patterns.cs:51:9:51:9 | access to parameter c | +| Patterns.cs:51:9:51:21 | After ... is ... [false] | Patterns.cs:51:34:51:39 | ... is ... | +| Patterns.cs:51:9:51:21 | After ... is ... [true] | Patterns.cs:51:25:51:30 | ... is ... | +| Patterns.cs:51:9:51:39 | ... ? ... : ... | Patterns.cs:51:9:51:21 | ... is ... | | Patterns.cs:51:9:51:39 | After ... ? ... : ... | Patterns.cs:50:24:50:25 | Normal Exit | -| Patterns.cs:51:14:51:21 | After not ... | Patterns.cs:51:9:51:21 | After ... is ... [true] | -| Patterns.cs:51:14:51:21 | Before not ... | Patterns.cs:51:18:51:21 | null | -| Patterns.cs:51:14:51:21 | not ... | Patterns.cs:51:14:51:21 | After not ... | -| Patterns.cs:51:18:51:21 | null | Patterns.cs:51:14:51:21 | not ... | -| Patterns.cs:51:25:51:25 | access to parameter c | Patterns.cs:51:25:51:30 | ... is ... | -| Patterns.cs:51:25:51:30 | ... is ... | Patterns.cs:51:25:51:30 | After ... is ... | -| Patterns.cs:51:25:51:30 | ... is ... | Patterns.cs:51:25:51:30 | [MatchTrue] ... is ... | -| Patterns.cs:51:25:51:30 | Before ... is ... | Patterns.cs:51:25:51:25 | access to parameter c | -| Patterns.cs:51:25:51:30 | [MatchTrue] ... is ... | Patterns.cs:51:30:51:30 | 1 | -| Patterns.cs:51:34:51:34 | access to parameter c | Patterns.cs:51:34:51:39 | ... is ... | -| Patterns.cs:51:34:51:39 | ... is ... | Patterns.cs:51:34:51:39 | After ... is ... | -| Patterns.cs:51:34:51:39 | ... is ... | Patterns.cs:51:34:51:39 | [MatchTrue] ... is ... | -| Patterns.cs:51:34:51:39 | Before ... is ... | Patterns.cs:51:34:51:34 | access to parameter c | -| Patterns.cs:51:34:51:39 | [MatchTrue] ... is ... | Patterns.cs:51:39:51:39 | 2 | +| Patterns.cs:51:14:51:21 | After not ... [match] | Patterns.cs:51:9:51:21 | After ... is ... [true] | +| Patterns.cs:51:14:51:21 | After not ... [no-match] | Patterns.cs:51:9:51:21 | After ... is ... [false] | +| Patterns.cs:51:14:51:21 | not ... | Patterns.cs:51:18:51:21 | null | +| Patterns.cs:51:18:51:21 | After null [match] | Patterns.cs:51:14:51:21 | After not ... [no-match] | +| Patterns.cs:51:18:51:21 | After null [no-match] | Patterns.cs:51:14:51:21 | After not ... [match] | +| Patterns.cs:51:18:51:21 | null | Patterns.cs:51:18:51:21 | After null [match] | +| Patterns.cs:51:18:51:21 | null | Patterns.cs:51:18:51:21 | After null [no-match] | +| Patterns.cs:51:25:51:25 | access to parameter c | Patterns.cs:51:30:51:30 | 1 | +| Patterns.cs:51:25:51:30 | ... is ... | Patterns.cs:51:25:51:25 | access to parameter c | +| Patterns.cs:51:30:51:30 | 1 | Patterns.cs:51:30:51:30 | After 1 [match] | +| Patterns.cs:51:30:51:30 | 1 | Patterns.cs:51:30:51:30 | After 1 [no-match] | +| Patterns.cs:51:34:51:34 | access to parameter c | Patterns.cs:51:39:51:39 | 2 | +| Patterns.cs:51:34:51:39 | ... is ... | Patterns.cs:51:34:51:34 | access to parameter c | +| Patterns.cs:51:39:51:39 | 2 | Patterns.cs:51:39:51:39 | After 2 [match] | +| Patterns.cs:51:39:51:39 | 2 | Patterns.cs:51:39:51:39 | After 2 [no-match] | | Patterns.cs:53:24:53:25 | Entry | Patterns.cs:53:34:53:34 | c | | Patterns.cs:53:24:53:25 | Normal Exit | Patterns.cs:53:24:53:25 | Exit | -| Patterns.cs:53:34:53:34 | c | Patterns.cs:54:9:54:37 | Before ... is ... | -| Patterns.cs:54:9:54:9 | access to parameter c | Patterns.cs:54:9:54:37 | ... is ... | -| Patterns.cs:54:9:54:37 | ... is ... | Patterns.cs:54:9:54:37 | After ... is ... | -| Patterns.cs:54:9:54:37 | ... is ... | Patterns.cs:54:9:54:37 | [MatchTrue] ... is ... | +| Patterns.cs:53:34:53:34 | c | Patterns.cs:54:9:54:37 | ... is ... | +| Patterns.cs:54:9:54:9 | access to parameter c | Patterns.cs:54:14:54:37 | not ... | +| Patterns.cs:54:9:54:37 | ... is ... | Patterns.cs:54:9:54:9 | access to parameter c | | Patterns.cs:54:9:54:37 | After ... is ... | Patterns.cs:53:24:53:25 | Normal Exit | -| Patterns.cs:54:9:54:37 | Before ... is ... | Patterns.cs:54:9:54:9 | access to parameter c | -| Patterns.cs:54:9:54:37 | [MatchTrue] ... is ... | Patterns.cs:54:14:54:37 | Before not ... | -| Patterns.cs:54:14:54:37 | Before not ... | Patterns.cs:54:18:54:37 | Before { ... } | -| Patterns.cs:54:14:54:37 | not ... | Patterns.cs:54:14:54:37 | After not ... | -| Patterns.cs:54:18:54:25 | access to type Patterns | Patterns.cs:54:27:54:35 | Before { ... } | -| Patterns.cs:54:18:54:37 | After Patterns u | Patterns.cs:54:18:54:25 | access to type Patterns | -| Patterns.cs:54:18:54:37 | After { ... } | Patterns.cs:54:14:54:37 | not ... | -| Patterns.cs:54:18:54:37 | Before Patterns u | Patterns.cs:54:37:54:37 | access to local variable u | -| Patterns.cs:54:18:54:37 | Before { ... } | Patterns.cs:54:18:54:37 | Before Patterns u | -| Patterns.cs:54:18:54:37 | Patterns u | Patterns.cs:54:18:54:37 | After Patterns u | -| Patterns.cs:54:18:54:37 | { ... } | Patterns.cs:54:18:54:37 | After { ... } | -| Patterns.cs:54:27:54:35 | After { ... } | Patterns.cs:54:18:54:37 | { ... } | -| Patterns.cs:54:27:54:35 | Before { ... } | Patterns.cs:54:33:54:33 | 1 | -| Patterns.cs:54:27:54:35 | { ... } | Patterns.cs:54:27:54:35 | After { ... } | -| Patterns.cs:54:33:54:33 | 1 | Patterns.cs:54:27:54:35 | { ... } | -| Patterns.cs:54:37:54:37 | access to local variable u | Patterns.cs:54:18:54:37 | Patterns u | +| Patterns.cs:54:14:54:37 | not ... | Patterns.cs:54:18:54:37 | { ... } | +| Patterns.cs:54:18:54:25 | After access to type Patterns [match] | Patterns.cs:54:27:54:35 | { ... } | +| Patterns.cs:54:18:54:25 | access to type Patterns | Patterns.cs:54:18:54:25 | After access to type Patterns [match] | +| Patterns.cs:54:18:54:25 | access to type Patterns | Patterns.cs:54:18:54:25 | After access to type Patterns [no-match] | +| Patterns.cs:54:18:54:37 | After Patterns u [match] | Patterns.cs:54:18:54:37 | After { ... } [match] | +| Patterns.cs:54:18:54:37 | After { ... } [match] | Patterns.cs:54:14:54:37 | After not ... [no-match] | +| Patterns.cs:54:18:54:37 | After { ... } [no-match] | Patterns.cs:54:14:54:37 | After not ... [match] | +| Patterns.cs:54:18:54:37 | Patterns u | Patterns.cs:54:18:54:37 | [OuterPatternMatch] Patterns u | +| Patterns.cs:54:18:54:37 | [OuterPatternMatch] Patterns u | Patterns.cs:54:37:54:37 | access to local variable u | +| Patterns.cs:54:18:54:37 | { ... } | Patterns.cs:54:18:54:25 | access to type Patterns | +| Patterns.cs:54:27:54:35 | After { ... } [match] | Patterns.cs:54:18:54:37 | Patterns u | +| Patterns.cs:54:27:54:35 | [OuterPatternMatch] { ... } | Patterns.cs:54:33:54:33 | 1 | +| Patterns.cs:54:27:54:35 | { ... } | Patterns.cs:54:27:54:35 | After { ... } [no-match] | +| Patterns.cs:54:27:54:35 | { ... } | Patterns.cs:54:27:54:35 | [OuterPatternMatch] { ... } | +| Patterns.cs:54:33:54:33 | 1 | Patterns.cs:54:33:54:33 | After 1 [match] | +| Patterns.cs:54:33:54:33 | 1 | Patterns.cs:54:33:54:33 | After 1 [no-match] | +| Patterns.cs:54:33:54:33 | After 1 [match] | Patterns.cs:54:27:54:35 | After { ... } [match] | +| Patterns.cs:54:37:54:37 | After access to local variable u [match] | Patterns.cs:54:18:54:37 | After Patterns u [match] | +| Patterns.cs:54:37:54:37 | access to local variable u | Patterns.cs:54:37:54:37 | After access to local variable u [match] | | Patterns.cs:56:26:56:27 | Entry | Patterns.cs:56:33:56:33 | i | | Patterns.cs:56:26:56:27 | Normal Exit | Patterns.cs:56:26:56:27 | Exit | | Patterns.cs:56:33:56:33 | i | Patterns.cs:57:5:63:5 | {...} | @@ -5501,13 +5491,14 @@ dominance | Patterns.cs:58:16:62:9 | After ... switch { ... } | Patterns.cs:58:9:62:10 | return ...; | | Patterns.cs:60:13:60:17 | After not ... [match] | Patterns.cs:60:13:60:28 | After ... => ... [match] | | Patterns.cs:60:13:60:17 | After not ... [no-match] | Patterns.cs:60:13:60:28 | After ... => ... [no-match] | -| Patterns.cs:60:13:60:17 | Before not ... | Patterns.cs:60:17:60:17 | 1 | -| Patterns.cs:60:13:60:17 | not ... | Patterns.cs:60:13:60:17 | After not ... [match] | -| Patterns.cs:60:13:60:17 | not ... | Patterns.cs:60:13:60:17 | After not ... [no-match] | -| Patterns.cs:60:13:60:28 | ... => ... | Patterns.cs:60:13:60:17 | Before not ... | +| Patterns.cs:60:13:60:17 | not ... | Patterns.cs:60:17:60:17 | 1 | +| Patterns.cs:60:13:60:28 | ... => ... | Patterns.cs:60:13:60:17 | not ... | | Patterns.cs:60:13:60:28 | After ... => ... [match] | Patterns.cs:60:22:60:28 | "not 1" | | Patterns.cs:60:13:60:28 | After ... => ... [no-match] | Patterns.cs:61:13:61:24 | ... => ... | -| Patterns.cs:60:17:60:17 | 1 | Patterns.cs:60:13:60:17 | not ... | +| Patterns.cs:60:17:60:17 | 1 | Patterns.cs:60:17:60:17 | After 1 [match] | +| Patterns.cs:60:17:60:17 | 1 | Patterns.cs:60:17:60:17 | After 1 [no-match] | +| Patterns.cs:60:17:60:17 | After 1 [match] | Patterns.cs:60:13:60:17 | After not ... [no-match] | +| Patterns.cs:60:17:60:17 | After 1 [no-match] | Patterns.cs:60:13:60:17 | After not ... [match] | | Patterns.cs:61:13:61:13 | After _ [match] | Patterns.cs:61:13:61:24 | After ... => ... [match] | | Patterns.cs:61:13:61:13 | _ | Patterns.cs:61:13:61:13 | After _ [match] | | Patterns.cs:61:13:61:24 | ... => ... | Patterns.cs:61:13:61:13 | _ | @@ -5522,13 +5513,14 @@ dominance | Patterns.cs:67:16:71:9 | After ... switch { ... } | Patterns.cs:67:9:71:10 | return ...; | | Patterns.cs:69:13:69:17 | After not ... [match] | Patterns.cs:69:13:69:33 | After ... => ... [match] | | Patterns.cs:69:13:69:17 | After not ... [no-match] | Patterns.cs:69:13:69:33 | After ... => ... [no-match] | -| Patterns.cs:69:13:69:17 | Before not ... | Patterns.cs:69:17:69:17 | 2 | -| Patterns.cs:69:13:69:17 | not ... | Patterns.cs:69:13:69:17 | After not ... [match] | -| Patterns.cs:69:13:69:17 | not ... | Patterns.cs:69:13:69:17 | After not ... [no-match] | -| Patterns.cs:69:13:69:33 | ... => ... | Patterns.cs:69:13:69:17 | Before not ... | +| Patterns.cs:69:13:69:17 | not ... | Patterns.cs:69:17:69:17 | 2 | +| Patterns.cs:69:13:69:33 | ... => ... | Patterns.cs:69:13:69:17 | not ... | | Patterns.cs:69:13:69:33 | After ... => ... [match] | Patterns.cs:69:22:69:33 | "impossible" | | Patterns.cs:69:13:69:33 | After ... => ... [no-match] | Patterns.cs:70:13:70:27 | ... => ... | -| Patterns.cs:69:17:69:17 | 2 | Patterns.cs:69:13:69:17 | not ... | +| Patterns.cs:69:17:69:17 | 2 | Patterns.cs:69:17:69:17 | After 2 [match] | +| Patterns.cs:69:17:69:17 | 2 | Patterns.cs:69:17:69:17 | After 2 [no-match] | +| Patterns.cs:69:17:69:17 | After 2 [match] | Patterns.cs:69:13:69:17 | After not ... [no-match] | +| Patterns.cs:69:17:69:17 | After 2 [no-match] | Patterns.cs:69:13:69:17 | After not ... [match] | | Patterns.cs:70:13:70:13 | 2 | Patterns.cs:70:13:70:13 | After 2 [match] | | Patterns.cs:70:13:70:13 | 2 | Patterns.cs:70:13:70:13 | After 2 [no-match] | | Patterns.cs:70:13:70:13 | After 2 [match] | Patterns.cs:70:13:70:27 | After ... => ... [match] | @@ -5576,66 +5568,70 @@ dominance | Patterns.cs:85:26:85:27 | Entry | Patterns.cs:85:33:85:33 | i | | Patterns.cs:85:26:85:27 | Normal Exit | Patterns.cs:85:26:85:27 | Exit | | Patterns.cs:85:33:85:33 | i | Patterns.cs:85:39:85:69 | ... ? ... : ... | -| Patterns.cs:85:39:85:39 | access to parameter i | Patterns.cs:85:39:85:53 | ... is ... | -| Patterns.cs:85:39:85:53 | ... is ... | Patterns.cs:85:39:85:53 | After ... is ... [false] | -| Patterns.cs:85:39:85:53 | ... is ... | Patterns.cs:85:39:85:53 | [MatchTrue] ... is ... | +| Patterns.cs:85:39:85:39 | access to parameter i | Patterns.cs:85:44:85:53 | ... or ... | +| Patterns.cs:85:39:85:53 | ... is ... | Patterns.cs:85:39:85:39 | access to parameter i | | Patterns.cs:85:39:85:53 | After ... is ... [false] | Patterns.cs:85:67:85:69 | "2" | | Patterns.cs:85:39:85:53 | After ... is ... [true] | Patterns.cs:85:57:85:63 | "not 2" | -| Patterns.cs:85:39:85:53 | Before ... is ... | Patterns.cs:85:39:85:39 | access to parameter i | -| Patterns.cs:85:39:85:53 | [MatchTrue] ... is ... | Patterns.cs:85:44:85:53 | Before ... or ... | -| Patterns.cs:85:39:85:69 | ... ? ... : ... | Patterns.cs:85:39:85:53 | Before ... is ... | +| Patterns.cs:85:39:85:69 | ... ? ... : ... | Patterns.cs:85:39:85:53 | ... is ... | | Patterns.cs:85:39:85:69 | After ... ? ... : ... | Patterns.cs:85:26:85:27 | Normal Exit | -| Patterns.cs:85:44:85:44 | 1 | Patterns.cs:85:49:85:53 | Before not ... | -| Patterns.cs:85:44:85:53 | ... or ... | Patterns.cs:85:44:85:53 | After ... or ... | -| Patterns.cs:85:44:85:53 | After ... or ... | Patterns.cs:85:39:85:53 | After ... is ... [true] | -| Patterns.cs:85:44:85:53 | Before ... or ... | Patterns.cs:85:44:85:44 | 1 | -| Patterns.cs:85:49:85:53 | After not ... | Patterns.cs:85:44:85:53 | ... or ... | -| Patterns.cs:85:49:85:53 | Before not ... | Patterns.cs:85:53:85:53 | 2 | -| Patterns.cs:85:49:85:53 | not ... | Patterns.cs:85:49:85:53 | After not ... | -| Patterns.cs:85:53:85:53 | 2 | Patterns.cs:85:49:85:53 | not ... | +| Patterns.cs:85:44:85:44 | 1 | Patterns.cs:85:44:85:44 | After 1 [match] | +| Patterns.cs:85:44:85:44 | 1 | Patterns.cs:85:44:85:44 | After 1 [no-match] | +| Patterns.cs:85:44:85:44 | After 1 [no-match] | Patterns.cs:85:49:85:53 | not ... | +| Patterns.cs:85:44:85:53 | ... or ... | Patterns.cs:85:44:85:44 | 1 | +| Patterns.cs:85:44:85:53 | After ... or ... [match] | Patterns.cs:85:39:85:53 | After ... is ... [true] | +| Patterns.cs:85:44:85:53 | After ... or ... [no-match] | Patterns.cs:85:39:85:53 | After ... is ... [false] | +| Patterns.cs:85:49:85:53 | After not ... [no-match] | Patterns.cs:85:44:85:53 | After ... or ... [no-match] | +| Patterns.cs:85:49:85:53 | not ... | Patterns.cs:85:53:85:53 | 2 | +| Patterns.cs:85:53:85:53 | 2 | Patterns.cs:85:53:85:53 | After 2 [match] | +| Patterns.cs:85:53:85:53 | 2 | Patterns.cs:85:53:85:53 | After 2 [no-match] | +| Patterns.cs:85:53:85:53 | After 2 [match] | Patterns.cs:85:49:85:53 | After not ... [no-match] | +| Patterns.cs:85:53:85:53 | After 2 [no-match] | Patterns.cs:85:49:85:53 | After not ... [match] | | Patterns.cs:87:26:87:27 | Entry | Patterns.cs:87:33:87:33 | i | | Patterns.cs:87:26:87:27 | Normal Exit | Patterns.cs:87:26:87:27 | Exit | | Patterns.cs:87:33:87:33 | i | Patterns.cs:87:39:87:70 | ... ? ... : ... | -| Patterns.cs:87:39:87:39 | access to parameter i | Patterns.cs:87:39:87:54 | ... is ... | -| Patterns.cs:87:39:87:54 | ... is ... | Patterns.cs:87:39:87:54 | After ... is ... [false] | -| Patterns.cs:87:39:87:54 | ... is ... | Patterns.cs:87:39:87:54 | [MatchTrue] ... is ... | +| Patterns.cs:87:39:87:39 | access to parameter i | Patterns.cs:87:44:87:54 | ... and ... | +| Patterns.cs:87:39:87:54 | ... is ... | Patterns.cs:87:39:87:39 | access to parameter i | | Patterns.cs:87:39:87:54 | After ... is ... [false] | Patterns.cs:87:64:87:70 | "not 1" | | Patterns.cs:87:39:87:54 | After ... is ... [true] | Patterns.cs:87:58:87:60 | "1" | -| Patterns.cs:87:39:87:54 | Before ... is ... | Patterns.cs:87:39:87:39 | access to parameter i | -| Patterns.cs:87:39:87:54 | [MatchTrue] ... is ... | Patterns.cs:87:44:87:54 | Before ... and ... | -| Patterns.cs:87:39:87:70 | ... ? ... : ... | Patterns.cs:87:39:87:54 | Before ... is ... | +| Patterns.cs:87:39:87:70 | ... ? ... : ... | Patterns.cs:87:39:87:54 | ... is ... | | Patterns.cs:87:39:87:70 | After ... ? ... : ... | Patterns.cs:87:26:87:27 | Normal Exit | -| Patterns.cs:87:44:87:44 | 1 | Patterns.cs:87:50:87:54 | Before not ... | -| Patterns.cs:87:44:87:54 | ... and ... | Patterns.cs:87:44:87:54 | After ... and ... | -| Patterns.cs:87:44:87:54 | After ... and ... | Patterns.cs:87:39:87:54 | After ... is ... [true] | -| Patterns.cs:87:44:87:54 | Before ... and ... | Patterns.cs:87:44:87:44 | 1 | -| Patterns.cs:87:50:87:54 | After not ... | Patterns.cs:87:44:87:54 | ... and ... | -| Patterns.cs:87:50:87:54 | Before not ... | Patterns.cs:87:54:87:54 | 2 | -| Patterns.cs:87:50:87:54 | not ... | Patterns.cs:87:50:87:54 | After not ... | -| Patterns.cs:87:54:87:54 | 2 | Patterns.cs:87:50:87:54 | not ... | +| Patterns.cs:87:44:87:44 | 1 | Patterns.cs:87:44:87:44 | After 1 [match] | +| Patterns.cs:87:44:87:44 | 1 | Patterns.cs:87:44:87:44 | After 1 [no-match] | +| Patterns.cs:87:44:87:44 | After 1 [match] | Patterns.cs:87:50:87:54 | not ... | +| Patterns.cs:87:44:87:54 | ... and ... | Patterns.cs:87:44:87:44 | 1 | +| Patterns.cs:87:44:87:54 | After ... and ... [match] | Patterns.cs:87:39:87:54 | After ... is ... [true] | +| Patterns.cs:87:44:87:54 | After ... and ... [no-match] | Patterns.cs:87:39:87:54 | After ... is ... [false] | +| Patterns.cs:87:50:87:54 | After not ... [match] | Patterns.cs:87:44:87:54 | After ... and ... [match] | +| Patterns.cs:87:50:87:54 | not ... | Patterns.cs:87:54:87:54 | 2 | +| Patterns.cs:87:54:87:54 | 2 | Patterns.cs:87:54:87:54 | After 2 [match] | +| Patterns.cs:87:54:87:54 | 2 | Patterns.cs:87:54:87:54 | After 2 [no-match] | +| Patterns.cs:87:54:87:54 | After 2 [match] | Patterns.cs:87:50:87:54 | After not ... [no-match] | +| Patterns.cs:87:54:87:54 | After 2 [no-match] | Patterns.cs:87:50:87:54 | After not ... [match] | | Patterns.cs:93:17:93:19 | Entry | Patterns.cs:94:5:99:5 | {...} | | Patterns.cs:93:17:93:19 | Normal Exit | Patterns.cs:93:17:93:19 | Exit | | Patterns.cs:94:5:99:5 | After {...} | Patterns.cs:93:17:93:19 | Normal Exit | | Patterns.cs:94:5:99:5 | {...} | Patterns.cs:95:9:98:9 | if (...) ... | | Patterns.cs:95:9:98:9 | After if (...) ... | Patterns.cs:94:5:99:5 | After {...} | -| Patterns.cs:95:9:98:9 | if (...) ... | Patterns.cs:95:13:95:40 | Before ... is ... | -| Patterns.cs:95:13:95:16 | this access | Patterns.cs:95:13:95:40 | ... is ... | -| Patterns.cs:95:13:95:40 | ... is ... | Patterns.cs:95:13:95:40 | After ... is ... [false] | -| Patterns.cs:95:13:95:40 | ... is ... | Patterns.cs:95:13:95:40 | [MatchTrue] ... is ... | +| Patterns.cs:95:9:98:9 | if (...) ... | Patterns.cs:95:13:95:40 | ... is ... | +| Patterns.cs:95:13:95:16 | this access | Patterns.cs:95:21:95:40 | { ... } | +| Patterns.cs:95:13:95:40 | ... is ... | Patterns.cs:95:13:95:16 | this access | | Patterns.cs:95:13:95:40 | After ... is ... [true] | Patterns.cs:96:9:98:9 | {...} | -| Patterns.cs:95:13:95:40 | Before ... is ... | Patterns.cs:95:13:95:16 | this access | -| Patterns.cs:95:13:95:40 | [MatchTrue] ... is ... | Patterns.cs:95:21:95:40 | Before { ... } | -| Patterns.cs:95:21:95:40 | After { ... } | Patterns.cs:95:13:95:40 | After ... is ... [true] | -| Patterns.cs:95:21:95:40 | After { ... } | Patterns.cs:95:21:95:40 | { ... } | -| Patterns.cs:95:21:95:40 | Before { ... } | Patterns.cs:95:21:95:40 | Before { ... } | -| Patterns.cs:95:21:95:40 | Before { ... } | Patterns.cs:95:29:95:38 | Before ... or ... | -| Patterns.cs:95:21:95:40 | { ... } | Patterns.cs:95:21:95:40 | After { ... } | -| Patterns.cs:95:21:95:40 | { ... } | Patterns.cs:95:21:95:40 | After { ... } | -| Patterns.cs:95:29:95:31 | access to constant A | Patterns.cs:95:36:95:38 | access to constant B | -| Patterns.cs:95:29:95:38 | ... or ... | Patterns.cs:95:29:95:38 | After ... or ... | -| Patterns.cs:95:29:95:38 | After ... or ... | Patterns.cs:95:21:95:40 | { ... } | -| Patterns.cs:95:29:95:38 | Before ... or ... | Patterns.cs:95:29:95:31 | access to constant A | -| Patterns.cs:95:36:95:38 | access to constant B | Patterns.cs:95:29:95:38 | ... or ... | +| Patterns.cs:95:21:95:40 | After { ... } [match] | Patterns.cs:95:13:95:40 | After ... is ... [true] | +| Patterns.cs:95:21:95:40 | After { ... } [match] | Patterns.cs:95:21:95:40 | After { ... } [match] | +| Patterns.cs:95:21:95:40 | After { ... } [no-match] | Patterns.cs:95:13:95:40 | After ... is ... [false] | +| Patterns.cs:95:21:95:40 | After { ... } [no-match] | Patterns.cs:95:21:95:40 | After { ... } [no-match] | +| Patterns.cs:95:21:95:40 | [OuterPatternMatch] { ... } | Patterns.cs:95:29:95:38 | ... or ... | +| Patterns.cs:95:21:95:40 | { ... } | Patterns.cs:95:21:95:40 | After { ... } [no-match] | +| Patterns.cs:95:21:95:40 | { ... } | Patterns.cs:95:21:95:40 | [OuterPatternMatch] { ... } | +| Patterns.cs:95:21:95:40 | { ... } | Patterns.cs:95:21:95:40 | { ... } | +| Patterns.cs:95:29:95:31 | After access to constant A [no-match] | Patterns.cs:95:36:95:38 | access to constant B | +| Patterns.cs:95:29:95:31 | access to constant A | Patterns.cs:95:29:95:31 | After access to constant A [match] | +| Patterns.cs:95:29:95:31 | access to constant A | Patterns.cs:95:29:95:31 | After access to constant A [no-match] | +| Patterns.cs:95:29:95:38 | ... or ... | Patterns.cs:95:29:95:31 | access to constant A | +| Patterns.cs:95:29:95:38 | After ... or ... [match] | Patterns.cs:95:21:95:40 | After { ... } [match] | +| Patterns.cs:95:36:95:38 | After access to constant B [no-match] | Patterns.cs:95:29:95:38 | After ... or ... [no-match] | +| Patterns.cs:95:36:95:38 | access to constant B | Patterns.cs:95:36:95:38 | After access to constant B [match] | +| Patterns.cs:95:36:95:38 | access to constant B | Patterns.cs:95:36:95:38 | After access to constant B [no-match] | | Patterns.cs:96:9:98:9 | {...} | Patterns.cs:97:13:97:39 | ...; | | Patterns.cs:97:13:97:38 | After call to method WriteLine | Patterns.cs:97:13:97:39 | After ...; | | Patterns.cs:97:13:97:38 | Before call to method WriteLine | Patterns.cs:97:31:97:37 | "not C" | @@ -5669,15 +5665,15 @@ dominance | PostDominance.cs:10:20:10:20 | s | PostDominance.cs:11:5:15:5 | {...} | | PostDominance.cs:11:5:15:5 | {...} | PostDominance.cs:12:9:13:19 | if (...) ... | | PostDominance.cs:12:9:13:19 | After if (...) ... | PostDominance.cs:14:9:14:29 | ...; | -| PostDominance.cs:12:9:13:19 | if (...) ... | PostDominance.cs:12:13:12:21 | Before ... is ... | -| PostDominance.cs:12:13:12:13 | access to parameter s | PostDominance.cs:12:13:12:21 | ... is ... | -| PostDominance.cs:12:13:12:21 | ... is ... | PostDominance.cs:12:13:12:21 | After ... is ... [false] | -| PostDominance.cs:12:13:12:21 | ... is ... | PostDominance.cs:12:13:12:21 | [MatchTrue] ... is ... | +| PostDominance.cs:12:9:13:19 | if (...) ... | PostDominance.cs:12:13:12:21 | ... is ... | +| PostDominance.cs:12:13:12:13 | access to parameter s | PostDominance.cs:12:18:12:21 | null | +| PostDominance.cs:12:13:12:21 | ... is ... | PostDominance.cs:12:13:12:13 | access to parameter s | | PostDominance.cs:12:13:12:21 | After ... is ... [false] | PostDominance.cs:12:9:13:19 | After if (...) ... | | PostDominance.cs:12:13:12:21 | After ... is ... [true] | PostDominance.cs:13:13:13:19 | Before return ...; | -| PostDominance.cs:12:13:12:21 | Before ... is ... | PostDominance.cs:12:13:12:13 | access to parameter s | -| PostDominance.cs:12:13:12:21 | [MatchTrue] ... is ... | PostDominance.cs:12:18:12:21 | null | -| PostDominance.cs:12:18:12:21 | null | PostDominance.cs:12:13:12:21 | After ... is ... [true] | +| PostDominance.cs:12:18:12:21 | After null [match] | PostDominance.cs:12:13:12:21 | After ... is ... [true] | +| PostDominance.cs:12:18:12:21 | After null [no-match] | PostDominance.cs:12:13:12:21 | After ... is ... [false] | +| PostDominance.cs:12:18:12:21 | null | PostDominance.cs:12:18:12:21 | After null [match] | +| PostDominance.cs:12:18:12:21 | null | PostDominance.cs:12:18:12:21 | After null [no-match] | | PostDominance.cs:13:13:13:19 | Before return ...; | PostDominance.cs:13:13:13:19 | return ...; | | PostDominance.cs:14:9:14:28 | After call to method WriteLine | PostDominance.cs:14:9:14:29 | After ...; | | PostDominance.cs:14:9:14:28 | Before call to method WriteLine | PostDominance.cs:14:27:14:27 | access to parameter s | @@ -5690,15 +5686,15 @@ dominance | PostDominance.cs:18:5:22:5 | After {...} | PostDominance.cs:17:10:17:11 | Normal Exit | | PostDominance.cs:18:5:22:5 | {...} | PostDominance.cs:19:9:20:55 | if (...) ... | | PostDominance.cs:19:9:20:55 | After if (...) ... | PostDominance.cs:21:9:21:29 | ...; | -| PostDominance.cs:19:9:20:55 | if (...) ... | PostDominance.cs:19:13:19:21 | Before ... is ... | -| PostDominance.cs:19:13:19:13 | access to parameter s | PostDominance.cs:19:13:19:21 | ... is ... | -| PostDominance.cs:19:13:19:21 | ... is ... | PostDominance.cs:19:13:19:21 | After ... is ... [false] | -| PostDominance.cs:19:13:19:21 | ... is ... | PostDominance.cs:19:13:19:21 | [MatchTrue] ... is ... | +| PostDominance.cs:19:9:20:55 | if (...) ... | PostDominance.cs:19:13:19:21 | ... is ... | +| PostDominance.cs:19:13:19:13 | access to parameter s | PostDominance.cs:19:18:19:21 | null | +| PostDominance.cs:19:13:19:21 | ... is ... | PostDominance.cs:19:13:19:13 | access to parameter s | | PostDominance.cs:19:13:19:21 | After ... is ... [false] | PostDominance.cs:19:9:20:55 | After if (...) ... | | PostDominance.cs:19:13:19:21 | After ... is ... [true] | PostDominance.cs:20:13:20:55 | Before throw ...; | -| PostDominance.cs:19:13:19:21 | Before ... is ... | PostDominance.cs:19:13:19:13 | access to parameter s | -| PostDominance.cs:19:13:19:21 | [MatchTrue] ... is ... | PostDominance.cs:19:18:19:21 | null | -| PostDominance.cs:19:18:19:21 | null | PostDominance.cs:19:13:19:21 | After ... is ... [true] | +| PostDominance.cs:19:18:19:21 | After null [match] | PostDominance.cs:19:13:19:21 | After ... is ... [true] | +| PostDominance.cs:19:18:19:21 | After null [no-match] | PostDominance.cs:19:13:19:21 | After ... is ... [false] | +| PostDominance.cs:19:18:19:21 | null | PostDominance.cs:19:18:19:21 | After null [match] | +| PostDominance.cs:19:18:19:21 | null | PostDominance.cs:19:18:19:21 | After null [no-match] | | PostDominance.cs:20:13:20:55 | Before throw ...; | PostDominance.cs:20:19:20:54 | Before object creation of type ArgumentNullException | | PostDominance.cs:20:13:20:55 | throw ...; | PostDominance.cs:17:10:17:11 | Exceptional Exit | | PostDominance.cs:20:19:20:54 | After object creation of type ArgumentNullException | PostDominance.cs:20:13:20:55 | throw ...; | @@ -5926,13 +5922,14 @@ dominance | Switch.cs:19:17:19:29 | Before goto default; | Switch.cs:19:17:19:29 | goto default; | | Switch.cs:20:13:20:23 | After case ...: [match] | Switch.cs:21:17:22:27 | if (...) ... | | Switch.cs:20:13:20:23 | After case ...: [no-match] | Switch.cs:24:13:24:56 | case ...: | -| Switch.cs:20:13:20:23 | case ...: | Switch.cs:20:18:20:22 | Before Int32 i | +| Switch.cs:20:13:20:23 | case ...: | Switch.cs:20:18:20:22 | Int32 i | | Switch.cs:20:18:20:22 | After Int32 i [match] | Switch.cs:20:13:20:23 | After case ...: [match] | | Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:20:13:20:23 | After case ...: [no-match] | -| Switch.cs:20:18:20:22 | Before Int32 i | Switch.cs:20:22:20:22 | access to local variable i | -| Switch.cs:20:18:20:22 | Int32 i | Switch.cs:20:18:20:22 | After Int32 i [match] | | Switch.cs:20:18:20:22 | Int32 i | Switch.cs:20:18:20:22 | After Int32 i [no-match] | -| Switch.cs:20:22:20:22 | access to local variable i | Switch.cs:20:18:20:22 | Int32 i | +| Switch.cs:20:18:20:22 | Int32 i | Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | +| Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | Switch.cs:20:22:20:22 | access to local variable i | +| Switch.cs:20:22:20:22 | After access to local variable i [match] | Switch.cs:20:18:20:22 | After Int32 i [match] | +| Switch.cs:20:22:20:22 | access to local variable i | Switch.cs:20:22:20:22 | After access to local variable i [match] | | Switch.cs:21:17:22:27 | After if (...) ... | Switch.cs:23:17:23:28 | Before goto case ...; | | Switch.cs:21:17:22:27 | if (...) ... | Switch.cs:21:21:21:29 | Before ... == ... | | Switch.cs:21:21:21:21 | access to parameter o | Switch.cs:21:26:21:29 | null | @@ -5946,13 +5943,14 @@ dominance | Switch.cs:23:17:23:28 | Before goto case ...; | Switch.cs:23:27:23:27 | 0 | | Switch.cs:23:27:23:27 | 0 | Switch.cs:23:17:23:28 | goto case ...; | | Switch.cs:24:13:24:56 | After case ...: [match] | Switch.cs:24:32:24:55 | ... && ... | -| Switch.cs:24:13:24:56 | case ...: | Switch.cs:24:18:24:25 | Before String s | +| Switch.cs:24:13:24:56 | case ...: | Switch.cs:24:18:24:25 | String s | | Switch.cs:24:18:24:25 | After String s [match] | Switch.cs:24:13:24:56 | After case ...: [match] | | Switch.cs:24:18:24:25 | After String s [no-match] | Switch.cs:24:13:24:56 | After case ...: [no-match] | -| Switch.cs:24:18:24:25 | Before String s | Switch.cs:24:25:24:25 | access to local variable s | -| Switch.cs:24:18:24:25 | String s | Switch.cs:24:18:24:25 | After String s [match] | | Switch.cs:24:18:24:25 | String s | Switch.cs:24:18:24:25 | After String s [no-match] | -| Switch.cs:24:25:24:25 | access to local variable s | Switch.cs:24:18:24:25 | String s | +| Switch.cs:24:18:24:25 | String s | Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | +| Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | Switch.cs:24:25:24:25 | access to local variable s | +| Switch.cs:24:25:24:25 | After access to local variable s [match] | Switch.cs:24:18:24:25 | After String s [match] | +| Switch.cs:24:25:24:25 | access to local variable s | Switch.cs:24:25:24:25 | After access to local variable s [match] | | Switch.cs:24:32:24:32 | access to local variable s | Switch.cs:24:32:24:39 | access to property Length | | Switch.cs:24:32:24:39 | After access to property Length | Switch.cs:24:43:24:43 | 0 | | Switch.cs:24:32:24:39 | Before access to property Length | Switch.cs:24:32:24:32 | access to local variable s | @@ -5979,13 +5977,14 @@ dominance | Switch.cs:26:17:26:23 | Before return ...; | Switch.cs:26:17:26:23 | return ...; | | Switch.cs:27:13:27:39 | After case ...: [match] | Switch.cs:27:32:27:38 | Before call to method Throw | | Switch.cs:27:13:27:39 | After case ...: [no-match] | Switch.cs:30:13:30:20 | default: | -| Switch.cs:27:13:27:39 | case ...: | Switch.cs:27:18:27:25 | Before Double d | +| Switch.cs:27:13:27:39 | case ...: | Switch.cs:27:18:27:25 | Double d | | Switch.cs:27:18:27:25 | After Double d [match] | Switch.cs:27:13:27:39 | After case ...: [match] | | Switch.cs:27:18:27:25 | After Double d [no-match] | Switch.cs:27:13:27:39 | After case ...: [no-match] | -| Switch.cs:27:18:27:25 | Before Double d | Switch.cs:27:25:27:25 | access to local variable d | -| Switch.cs:27:18:27:25 | Double d | Switch.cs:27:18:27:25 | After Double d [match] | | Switch.cs:27:18:27:25 | Double d | Switch.cs:27:18:27:25 | After Double d [no-match] | -| Switch.cs:27:25:27:25 | access to local variable d | Switch.cs:27:18:27:25 | Double d | +| Switch.cs:27:18:27:25 | Double d | Switch.cs:27:18:27:25 | [OuterPatternMatch] Double d | +| Switch.cs:27:18:27:25 | [OuterPatternMatch] Double d | Switch.cs:27:25:27:25 | access to local variable d | +| Switch.cs:27:25:27:25 | After access to local variable d [match] | Switch.cs:27:18:27:25 | After Double d [match] | +| Switch.cs:27:25:27:25 | access to local variable d | Switch.cs:27:25:27:25 | After access to local variable d [match] | | Switch.cs:27:32:27:38 | Before call to method Throw | Switch.cs:27:32:27:38 | call to method Throw | | Switch.cs:28:13:28:17 | Label: | Switch.cs:29:17:29:23 | Before return ...; | | Switch.cs:29:17:29:23 | Before return ...; | Switch.cs:29:17:29:23 | return ...; | @@ -6230,13 +6229,14 @@ dominance | Switch.cs:125:13:125:48 | After ... switch { ... } [true] | Switch.cs:126:13:126:19 | Before return ...; | | Switch.cs:125:24:125:29 | After Boolean b [match] | Switch.cs:125:24:125:34 | After ... => ... [match] | | Switch.cs:125:24:125:29 | After Boolean b [no-match] | Switch.cs:125:24:125:34 | After ... => ... [no-match] | -| Switch.cs:125:24:125:29 | Before Boolean b | Switch.cs:125:29:125:29 | access to local variable b | -| Switch.cs:125:24:125:29 | Boolean b | Switch.cs:125:24:125:29 | After Boolean b [match] | | Switch.cs:125:24:125:29 | Boolean b | Switch.cs:125:24:125:29 | After Boolean b [no-match] | -| Switch.cs:125:24:125:34 | ... => ... | Switch.cs:125:24:125:29 | Before Boolean b | +| Switch.cs:125:24:125:29 | Boolean b | Switch.cs:125:24:125:29 | [OuterPatternMatch] Boolean b | +| Switch.cs:125:24:125:29 | [OuterPatternMatch] Boolean b | Switch.cs:125:29:125:29 | access to local variable b | +| Switch.cs:125:24:125:34 | ... => ... | Switch.cs:125:24:125:29 | Boolean b | | Switch.cs:125:24:125:34 | After ... => ... [match] | Switch.cs:125:34:125:34 | access to local variable b | | Switch.cs:125:24:125:34 | After ... => ... [no-match] | Switch.cs:125:37:125:46 | ... => ... | -| Switch.cs:125:29:125:29 | access to local variable b | Switch.cs:125:24:125:29 | Boolean b | +| Switch.cs:125:29:125:29 | After access to local variable b [match] | Switch.cs:125:24:125:29 | After Boolean b [match] | +| Switch.cs:125:29:125:29 | access to local variable b | Switch.cs:125:29:125:29 | After access to local variable b [match] | | Switch.cs:125:34:125:34 | After access to local variable b [true] | Switch.cs:125:13:125:48 | After ... switch { ... } [true] | | Switch.cs:125:34:125:34 | access to local variable b | Switch.cs:125:34:125:34 | After access to local variable b [false] | | Switch.cs:125:34:125:34 | access to local variable b | Switch.cs:125:34:125:34 | After access to local variable b [true] | @@ -6259,13 +6259,14 @@ dominance | Switch.cs:131:17:131:53 | After ... switch { ... } [non-null] | Switch.cs:131:16:131:66 | call to method ToString | | Switch.cs:131:28:131:35 | After String s [match] | Switch.cs:131:28:131:40 | After ... => ... [match] | | Switch.cs:131:28:131:35 | After String s [no-match] | Switch.cs:131:28:131:40 | After ... => ... [no-match] | -| Switch.cs:131:28:131:35 | Before String s | Switch.cs:131:35:131:35 | access to local variable s | -| Switch.cs:131:28:131:35 | String s | Switch.cs:131:28:131:35 | After String s [match] | | Switch.cs:131:28:131:35 | String s | Switch.cs:131:28:131:35 | After String s [no-match] | -| Switch.cs:131:28:131:40 | ... => ... | Switch.cs:131:28:131:35 | Before String s | +| Switch.cs:131:28:131:35 | String s | Switch.cs:131:28:131:35 | [OuterPatternMatch] String s | +| Switch.cs:131:28:131:35 | [OuterPatternMatch] String s | Switch.cs:131:35:131:35 | access to local variable s | +| Switch.cs:131:28:131:40 | ... => ... | Switch.cs:131:28:131:35 | String s | | Switch.cs:131:28:131:40 | After ... => ... [match] | Switch.cs:131:40:131:40 | access to local variable s | | Switch.cs:131:28:131:40 | After ... => ... [no-match] | Switch.cs:131:43:131:51 | ... => ... | -| Switch.cs:131:35:131:35 | access to local variable s | Switch.cs:131:28:131:35 | String s | +| Switch.cs:131:35:131:35 | After access to local variable s [match] | Switch.cs:131:28:131:35 | After String s [match] | +| Switch.cs:131:35:131:35 | access to local variable s | Switch.cs:131:35:131:35 | After access to local variable s [match] | | Switch.cs:131:40:131:40 | access to local variable s | Switch.cs:131:40:131:40 | After access to local variable s [non-null] | | Switch.cs:131:40:131:40 | access to local variable s | Switch.cs:131:40:131:40 | After access to local variable s [null] | | Switch.cs:131:43:131:43 | After _ [match] | Switch.cs:131:43:131:51 | After ... => ... [match] | @@ -6479,17 +6480,17 @@ dominance | TypeAccesses.cs:6:13:6:23 | After ... as ... | TypeAccesses.cs:6:9:6:23 | ... = ... | | TypeAccesses.cs:6:13:6:23 | Before ... as ... | TypeAccesses.cs:6:13:6:13 | access to parameter o | | TypeAccesses.cs:7:9:7:25 | After if (...) ... | TypeAccesses.cs:8:9:8:28 | ... ...; | -| TypeAccesses.cs:7:9:7:25 | if (...) ... | TypeAccesses.cs:7:13:7:22 | Before ... is ... | -| TypeAccesses.cs:7:13:7:13 | access to parameter o | TypeAccesses.cs:7:13:7:22 | ... is ... | -| TypeAccesses.cs:7:13:7:22 | ... is ... | TypeAccesses.cs:7:13:7:22 | After ... is ... [false] | -| TypeAccesses.cs:7:13:7:22 | ... is ... | TypeAccesses.cs:7:13:7:22 | [MatchTrue] ... is ... | +| TypeAccesses.cs:7:9:7:25 | if (...) ... | TypeAccesses.cs:7:13:7:22 | ... is ... | +| TypeAccesses.cs:7:13:7:13 | access to parameter o | TypeAccesses.cs:7:18:7:22 | Int32 j | +| TypeAccesses.cs:7:13:7:22 | ... is ... | TypeAccesses.cs:7:13:7:13 | access to parameter o | | TypeAccesses.cs:7:13:7:22 | After ... is ... [true] | TypeAccesses.cs:7:25:7:25 | ; | -| TypeAccesses.cs:7:13:7:22 | Before ... is ... | TypeAccesses.cs:7:13:7:13 | access to parameter o | -| TypeAccesses.cs:7:13:7:22 | [MatchTrue] ... is ... | TypeAccesses.cs:7:18:7:22 | Before Int32 j | -| TypeAccesses.cs:7:18:7:22 | After Int32 j | TypeAccesses.cs:7:13:7:22 | After ... is ... [true] | -| TypeAccesses.cs:7:18:7:22 | Before Int32 j | TypeAccesses.cs:7:22:7:22 | access to local variable j | -| TypeAccesses.cs:7:18:7:22 | Int32 j | TypeAccesses.cs:7:18:7:22 | After Int32 j | -| TypeAccesses.cs:7:22:7:22 | access to local variable j | TypeAccesses.cs:7:18:7:22 | Int32 j | +| TypeAccesses.cs:7:18:7:22 | After Int32 j [match] | TypeAccesses.cs:7:13:7:22 | After ... is ... [true] | +| TypeAccesses.cs:7:18:7:22 | After Int32 j [no-match] | TypeAccesses.cs:7:13:7:22 | After ... is ... [false] | +| TypeAccesses.cs:7:18:7:22 | Int32 j | TypeAccesses.cs:7:18:7:22 | After Int32 j [no-match] | +| TypeAccesses.cs:7:18:7:22 | Int32 j | TypeAccesses.cs:7:18:7:22 | [OuterPatternMatch] Int32 j | +| TypeAccesses.cs:7:18:7:22 | [OuterPatternMatch] Int32 j | TypeAccesses.cs:7:22:7:22 | access to local variable j | +| TypeAccesses.cs:7:22:7:22 | After access to local variable j [match] | TypeAccesses.cs:7:18:7:22 | After Int32 j [match] | +| TypeAccesses.cs:7:22:7:22 | access to local variable j | TypeAccesses.cs:7:22:7:22 | After access to local variable j [match] | | TypeAccesses.cs:8:9:8:28 | ... ...; | TypeAccesses.cs:8:13:8:27 | Before Type t = ... | | TypeAccesses.cs:8:9:8:28 | After ... ...; | TypeAccesses.cs:4:5:9:5 | After {...} | | TypeAccesses.cs:8:13:8:13 | access to local variable t | TypeAccesses.cs:8:17:8:27 | typeof(...) | @@ -13161,14 +13162,14 @@ postDominance | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:9:9:11:9 | After {...} | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:12:14:18:9 | After if (...) ... | | Patterns.cs:8:9:18:9 | if (...) ... | Patterns.cs:7:9:7:24 | After ... ...; | -| Patterns.cs:8:13:8:13 | access to local variable o | Patterns.cs:8:13:8:23 | Before ... is ... | -| Patterns.cs:8:13:8:23 | ... is ... | Patterns.cs:8:13:8:13 | access to local variable o | -| Patterns.cs:8:13:8:23 | After ... is ... [true] | Patterns.cs:8:18:8:23 | After Int32 i1 | -| Patterns.cs:8:13:8:23 | Before ... is ... | Patterns.cs:8:9:18:9 | if (...) ... | -| Patterns.cs:8:18:8:23 | After Int32 i1 | Patterns.cs:8:18:8:23 | Int32 i1 | -| Patterns.cs:8:18:8:23 | Before Int32 i1 | Patterns.cs:8:13:8:23 | [MatchTrue] ... is ... | -| Patterns.cs:8:18:8:23 | Int32 i1 | Patterns.cs:8:22:8:23 | access to local variable i1 | -| Patterns.cs:8:22:8:23 | access to local variable i1 | Patterns.cs:8:18:8:23 | Before Int32 i1 | +| Patterns.cs:8:13:8:13 | access to local variable o | Patterns.cs:8:13:8:23 | ... is ... | +| Patterns.cs:8:13:8:23 | ... is ... | Patterns.cs:8:9:18:9 | if (...) ... | +| Patterns.cs:8:13:8:23 | After ... is ... [false] | Patterns.cs:8:18:8:23 | After Int32 i1 [no-match] | +| Patterns.cs:8:13:8:23 | After ... is ... [true] | Patterns.cs:8:18:8:23 | After Int32 i1 [match] | +| Patterns.cs:8:18:8:23 | After Int32 i1 [match] | Patterns.cs:8:22:8:23 | After access to local variable i1 [match] | +| Patterns.cs:8:18:8:23 | Int32 i1 | Patterns.cs:8:13:8:13 | access to local variable o | +| Patterns.cs:8:22:8:23 | After access to local variable i1 [match] | Patterns.cs:8:22:8:23 | access to local variable i1 | +| Patterns.cs:8:22:8:23 | access to local variable i1 | Patterns.cs:8:18:8:23 | [OuterPatternMatch] Int32 i1 | | Patterns.cs:9:9:11:9 | After {...} | Patterns.cs:10:13:10:43 | After ...; | | Patterns.cs:9:9:11:9 | {...} | Patterns.cs:8:13:8:23 | After ... is ... [true] | | Patterns.cs:10:13:10:42 | After call to method WriteLine | Patterns.cs:10:13:10:42 | call to method WriteLine | @@ -13187,14 +13188,14 @@ postDominance | Patterns.cs:12:14:18:9 | After if (...) ... | Patterns.cs:13:9:15:9 | After {...} | | Patterns.cs:12:14:18:9 | After if (...) ... | Patterns.cs:16:14:18:9 | After if (...) ... | | Patterns.cs:12:14:18:9 | if (...) ... | Patterns.cs:8:13:8:23 | After ... is ... [false] | -| Patterns.cs:12:18:12:18 | access to local variable o | Patterns.cs:12:18:12:31 | Before ... is ... | -| Patterns.cs:12:18:12:31 | ... is ... | Patterns.cs:12:18:12:18 | access to local variable o | -| Patterns.cs:12:18:12:31 | After ... is ... [true] | Patterns.cs:12:23:12:31 | After String s1 | -| Patterns.cs:12:18:12:31 | Before ... is ... | Patterns.cs:12:14:18:9 | if (...) ... | -| Patterns.cs:12:23:12:31 | After String s1 | Patterns.cs:12:23:12:31 | String s1 | -| Patterns.cs:12:23:12:31 | Before String s1 | Patterns.cs:12:18:12:31 | [MatchTrue] ... is ... | -| Patterns.cs:12:23:12:31 | String s1 | Patterns.cs:12:30:12:31 | access to local variable s1 | -| Patterns.cs:12:30:12:31 | access to local variable s1 | Patterns.cs:12:23:12:31 | Before String s1 | +| Patterns.cs:12:18:12:18 | access to local variable o | Patterns.cs:12:18:12:31 | ... is ... | +| Patterns.cs:12:18:12:31 | ... is ... | Patterns.cs:12:14:18:9 | if (...) ... | +| Patterns.cs:12:18:12:31 | After ... is ... [false] | Patterns.cs:12:23:12:31 | After String s1 [no-match] | +| Patterns.cs:12:18:12:31 | After ... is ... [true] | Patterns.cs:12:23:12:31 | After String s1 [match] | +| Patterns.cs:12:23:12:31 | After String s1 [match] | Patterns.cs:12:30:12:31 | After access to local variable s1 [match] | +| Patterns.cs:12:23:12:31 | String s1 | Patterns.cs:12:18:12:18 | access to local variable o | +| Patterns.cs:12:30:12:31 | After access to local variable s1 [match] | Patterns.cs:12:30:12:31 | access to local variable s1 | +| Patterns.cs:12:30:12:31 | access to local variable s1 | Patterns.cs:12:23:12:31 | [OuterPatternMatch] String s1 | | Patterns.cs:13:9:15:9 | After {...} | Patterns.cs:14:13:14:46 | After ...; | | Patterns.cs:13:9:15:9 | {...} | Patterns.cs:12:18:12:31 | After ... is ... [true] | | Patterns.cs:14:13:14:45 | After call to method WriteLine | Patterns.cs:14:13:14:45 | call to method WriteLine | @@ -13210,24 +13211,22 @@ postDominance | Patterns.cs:14:40:14:43 | Before {...} | Patterns.cs:14:33:14:39 | "string " | | Patterns.cs:14:40:14:43 | {...} | Patterns.cs:14:41:14:42 | access to local variable s1 | | Patterns.cs:14:41:14:42 | access to local variable s1 | Patterns.cs:14:40:14:43 | Before {...} | -| Patterns.cs:16:14:18:9 | After if (...) ... | Patterns.cs:16:18:16:28 | After ... is ... [false] | | Patterns.cs:16:14:18:9 | After if (...) ... | Patterns.cs:17:9:18:9 | {...} | | Patterns.cs:16:14:18:9 | if (...) ... | Patterns.cs:12:18:12:31 | After ... is ... [false] | -| Patterns.cs:16:18:16:18 | access to local variable o | Patterns.cs:16:18:16:28 | Before ... is ... | -| Patterns.cs:16:18:16:28 | ... is ... | Patterns.cs:16:18:16:18 | access to local variable o | -| Patterns.cs:16:18:16:28 | After ... is ... [true] | Patterns.cs:16:23:16:28 | After Object v1 | -| Patterns.cs:16:18:16:28 | Before ... is ... | Patterns.cs:16:14:18:9 | if (...) ... | -| Patterns.cs:16:23:16:28 | After Object v1 | Patterns.cs:16:23:16:28 | Object v1 | -| Patterns.cs:16:23:16:28 | Before Object v1 | Patterns.cs:16:18:16:28 | [MatchTrue] ... is ... | -| Patterns.cs:16:23:16:28 | Object v1 | Patterns.cs:16:27:16:28 | access to local variable v1 | -| Patterns.cs:16:27:16:28 | access to local variable v1 | Patterns.cs:16:23:16:28 | Before Object v1 | +| Patterns.cs:16:18:16:18 | access to local variable o | Patterns.cs:16:18:16:28 | ... is ... | +| Patterns.cs:16:18:16:28 | ... is ... | Patterns.cs:16:14:18:9 | if (...) ... | +| Patterns.cs:16:18:16:28 | After ... is ... [true] | Patterns.cs:16:23:16:28 | After Object v1 [match] | +| Patterns.cs:16:23:16:28 | After Object v1 [match] | Patterns.cs:16:27:16:28 | After access to local variable v1 [match] | +| Patterns.cs:16:23:16:28 | Object v1 | Patterns.cs:16:18:16:18 | access to local variable o | +| Patterns.cs:16:23:16:28 | [OuterPatternMatch] Object v1 | Patterns.cs:16:23:16:28 | Object v1 | +| Patterns.cs:16:27:16:28 | After access to local variable v1 [match] | Patterns.cs:16:27:16:28 | access to local variable v1 | +| Patterns.cs:16:27:16:28 | access to local variable v1 | Patterns.cs:16:23:16:28 | [OuterPatternMatch] Object v1 | | Patterns.cs:17:9:18:9 | {...} | Patterns.cs:16:18:16:28 | After ... is ... [true] | | Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:23:17:23:22 | break; | | Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:26:17:26:22 | break; | | Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:29:17:29:22 | break; | | Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:32:17:32:22 | break; | | Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:34:17:34:22 | break; | -| Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:37:17:37:22 | break; | | Patterns.cs:20:9:38:9 | switch (...) {...} | Patterns.cs:8:9:18:9 | After if (...) ... | | Patterns.cs:20:17:20:17 | access to local variable o | Patterns.cs:20:9:38:9 | switch (...) {...} | | Patterns.cs:22:13:22:23 | After case ...: [match] | Patterns.cs:22:18:22:22 | After "xyz" [match] | @@ -13239,9 +13238,10 @@ postDominance | Patterns.cs:24:13:24:36 | After case ...: [match] | Patterns.cs:24:18:24:23 | After Int32 i2 [match] | | Patterns.cs:24:13:24:36 | After case ...: [no-match] | Patterns.cs:24:18:24:23 | After Int32 i2 [no-match] | | Patterns.cs:24:13:24:36 | case ...: | Patterns.cs:22:13:22:23 | After case ...: [no-match] | -| Patterns.cs:24:18:24:23 | Before Int32 i2 | Patterns.cs:24:13:24:36 | case ...: | -| Patterns.cs:24:18:24:23 | Int32 i2 | Patterns.cs:24:22:24:23 | access to local variable i2 | -| Patterns.cs:24:22:24:23 | access to local variable i2 | Patterns.cs:24:18:24:23 | Before Int32 i2 | +| Patterns.cs:24:18:24:23 | After Int32 i2 [match] | Patterns.cs:24:22:24:23 | After access to local variable i2 [match] | +| Patterns.cs:24:18:24:23 | Int32 i2 | Patterns.cs:24:13:24:36 | case ...: | +| Patterns.cs:24:22:24:23 | After access to local variable i2 [match] | Patterns.cs:24:22:24:23 | access to local variable i2 | +| Patterns.cs:24:22:24:23 | access to local variable i2 | Patterns.cs:24:18:24:23 | [OuterPatternMatch] Int32 i2 | | Patterns.cs:24:30:24:31 | access to local variable i2 | Patterns.cs:24:30:24:35 | Before ... > ... | | Patterns.cs:24:30:24:35 | ... > ... | Patterns.cs:24:35:24:35 | 0 | | Patterns.cs:24:30:24:35 | Before ... > ... | Patterns.cs:24:13:24:36 | After case ...: [match] | @@ -13265,9 +13265,10 @@ postDominance | Patterns.cs:27:13:27:24 | After case ...: [no-match] | Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | | Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:24:13:24:36 | After case ...: [no-match] | | Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:24:30:24:35 | After ... > ... [false] | -| Patterns.cs:27:18:27:23 | Before Int32 i3 | Patterns.cs:27:13:27:24 | case ...: | -| Patterns.cs:27:18:27:23 | Int32 i3 | Patterns.cs:27:22:27:23 | access to local variable i3 | -| Patterns.cs:27:22:27:23 | access to local variable i3 | Patterns.cs:27:18:27:23 | Before Int32 i3 | +| Patterns.cs:27:18:27:23 | After Int32 i3 [match] | Patterns.cs:27:22:27:23 | After access to local variable i3 [match] | +| Patterns.cs:27:18:27:23 | Int32 i3 | Patterns.cs:27:13:27:24 | case ...: | +| Patterns.cs:27:22:27:23 | After access to local variable i3 [match] | Patterns.cs:27:22:27:23 | access to local variable i3 | +| Patterns.cs:27:22:27:23 | access to local variable i3 | Patterns.cs:27:18:27:23 | [OuterPatternMatch] Int32 i3 | | Patterns.cs:28:17:28:46 | After call to method WriteLine | Patterns.cs:28:17:28:46 | call to method WriteLine | | Patterns.cs:28:17:28:46 | Before call to method WriteLine | Patterns.cs:28:17:28:47 | ...; | | Patterns.cs:28:17:28:46 | call to method WriteLine | Patterns.cs:28:35:28:45 | After $"..." | @@ -13286,9 +13287,10 @@ postDominance | Patterns.cs:30:13:30:27 | After case ...: [match] | Patterns.cs:30:18:30:26 | After String s2 [match] | | Patterns.cs:30:13:30:27 | After case ...: [no-match] | Patterns.cs:30:18:30:26 | After String s2 [no-match] | | Patterns.cs:30:13:30:27 | case ...: | Patterns.cs:27:13:27:24 | After case ...: [no-match] | -| Patterns.cs:30:18:30:26 | Before String s2 | Patterns.cs:30:13:30:27 | case ...: | -| Patterns.cs:30:18:30:26 | String s2 | Patterns.cs:30:25:30:26 | access to local variable s2 | -| Patterns.cs:30:25:30:26 | access to local variable s2 | Patterns.cs:30:18:30:26 | Before String s2 | +| Patterns.cs:30:18:30:26 | After String s2 [match] | Patterns.cs:30:25:30:26 | After access to local variable s2 [match] | +| Patterns.cs:30:18:30:26 | String s2 | Patterns.cs:30:13:30:27 | case ...: | +| Patterns.cs:30:25:30:26 | After access to local variable s2 [match] | Patterns.cs:30:25:30:26 | access to local variable s2 | +| Patterns.cs:30:25:30:26 | access to local variable s2 | Patterns.cs:30:18:30:26 | [OuterPatternMatch] String s2 | | Patterns.cs:31:17:31:49 | After call to method WriteLine | Patterns.cs:31:17:31:49 | call to method WriteLine | | Patterns.cs:31:17:31:49 | Before call to method WriteLine | Patterns.cs:31:17:31:50 | ...; | | Patterns.cs:31:17:31:49 | call to method WriteLine | Patterns.cs:31:35:31:48 | After $"..." | @@ -13305,87 +13307,76 @@ postDominance | Patterns.cs:32:17:32:22 | Before break; | Patterns.cs:31:17:31:50 | After ...; | | Patterns.cs:32:17:32:22 | break; | Patterns.cs:32:17:32:22 | Before break; | | Patterns.cs:33:13:33:24 | After case ...: [match] | Patterns.cs:33:18:33:23 | After Object v2 [match] | -| Patterns.cs:33:13:33:24 | After case ...: [no-match] | Patterns.cs:33:18:33:23 | After Object v2 [no-match] | | Patterns.cs:33:13:33:24 | case ...: | Patterns.cs:30:13:30:27 | After case ...: [no-match] | -| Patterns.cs:33:18:33:23 | Before Object v2 | Patterns.cs:33:13:33:24 | case ...: | -| Patterns.cs:33:18:33:23 | Object v2 | Patterns.cs:33:22:33:23 | access to local variable v2 | -| Patterns.cs:33:22:33:23 | access to local variable v2 | Patterns.cs:33:18:33:23 | Before Object v2 | +| Patterns.cs:33:18:33:23 | After Object v2 [match] | Patterns.cs:33:22:33:23 | After access to local variable v2 [match] | +| Patterns.cs:33:18:33:23 | Object v2 | Patterns.cs:33:13:33:24 | case ...: | +| Patterns.cs:33:18:33:23 | [OuterPatternMatch] Object v2 | Patterns.cs:33:18:33:23 | Object v2 | +| Patterns.cs:33:22:33:23 | After access to local variable v2 [match] | Patterns.cs:33:22:33:23 | access to local variable v2 | +| Patterns.cs:33:22:33:23 | access to local variable v2 | Patterns.cs:33:18:33:23 | [OuterPatternMatch] Object v2 | | Patterns.cs:34:17:34:22 | Before break; | Patterns.cs:33:13:33:24 | After case ...: [match] | | Patterns.cs:34:17:34:22 | break; | Patterns.cs:34:17:34:22 | Before break; | -| Patterns.cs:35:13:35:20 | After default: [match] | Patterns.cs:35:13:35:20 | default: | -| Patterns.cs:35:13:35:20 | default: | Patterns.cs:33:13:33:24 | After case ...: [no-match] | -| Patterns.cs:36:17:36:51 | After call to method WriteLine | Patterns.cs:36:17:36:51 | call to method WriteLine | -| Patterns.cs:36:17:36:51 | Before call to method WriteLine | Patterns.cs:36:17:36:52 | ...; | -| Patterns.cs:36:17:36:51 | call to method WriteLine | Patterns.cs:36:35:36:50 | "Something else" | -| Patterns.cs:36:17:36:52 | ...; | Patterns.cs:35:13:35:20 | After default: [match] | -| Patterns.cs:36:17:36:52 | After ...; | Patterns.cs:36:17:36:51 | After call to method WriteLine | -| Patterns.cs:36:35:36:50 | "Something else" | Patterns.cs:36:17:36:51 | Before call to method WriteLine | -| Patterns.cs:37:17:37:22 | Before break; | Patterns.cs:36:17:36:52 | After ...; | -| Patterns.cs:37:17:37:22 | break; | Patterns.cs:37:17:37:22 | Before break; | | Patterns.cs:40:9:42:9 | After switch (...) {...} | Patterns.cs:40:17:40:17 | access to local variable o | | Patterns.cs:40:9:42:9 | switch (...) {...} | Patterns.cs:20:9:38:9 | After switch (...) {...} | | Patterns.cs:40:17:40:17 | access to local variable o | Patterns.cs:40:9:42:9 | switch (...) {...} | | Patterns.cs:47:24:47:25 | Exit | Patterns.cs:47:24:47:25 | Normal Exit | | Patterns.cs:47:24:47:25 | Normal Exit | Patterns.cs:48:9:48:20 | After ... is ... | | Patterns.cs:47:32:47:32 | c | Patterns.cs:47:24:47:25 | Entry | -| Patterns.cs:48:9:48:9 | access to parameter c | Patterns.cs:48:9:48:20 | Before ... is ... | -| Patterns.cs:48:9:48:20 | ... is ... | Patterns.cs:48:9:48:9 | access to parameter c | -| Patterns.cs:48:9:48:20 | After ... is ... | Patterns.cs:48:9:48:20 | ... is ... | -| Patterns.cs:48:9:48:20 | After ... is ... | Patterns.cs:48:14:48:20 | After not ... | -| Patterns.cs:48:9:48:20 | Before ... is ... | Patterns.cs:47:32:47:32 | c | -| Patterns.cs:48:14:48:20 | After not ... | Patterns.cs:48:14:48:20 | not ... | -| Patterns.cs:48:14:48:20 | Before not ... | Patterns.cs:48:9:48:20 | [MatchTrue] ... is ... | -| Patterns.cs:48:14:48:20 | not ... | Patterns.cs:48:18:48:20 | a | -| Patterns.cs:48:18:48:20 | a | Patterns.cs:48:14:48:20 | Before not ... | +| Patterns.cs:48:9:48:9 | access to parameter c | Patterns.cs:48:9:48:20 | ... is ... | +| Patterns.cs:48:9:48:20 | ... is ... | Patterns.cs:47:32:47:32 | c | +| Patterns.cs:48:9:48:20 | After ... is ... | Patterns.cs:48:14:48:20 | After not ... [match] | +| Patterns.cs:48:9:48:20 | After ... is ... | Patterns.cs:48:14:48:20 | After not ... [no-match] | +| Patterns.cs:48:14:48:20 | After not ... [match] | Patterns.cs:48:18:48:20 | After a [no-match] | +| Patterns.cs:48:14:48:20 | After not ... [no-match] | Patterns.cs:48:18:48:20 | After a [match] | +| Patterns.cs:48:14:48:20 | not ... | Patterns.cs:48:9:48:9 | access to parameter c | +| Patterns.cs:48:18:48:20 | a | Patterns.cs:48:14:48:20 | not ... | | Patterns.cs:50:24:50:25 | Exit | Patterns.cs:50:24:50:25 | Normal Exit | | Patterns.cs:50:24:50:25 | Normal Exit | Patterns.cs:51:9:51:39 | After ... ? ... : ... | | Patterns.cs:50:34:50:34 | c | Patterns.cs:50:24:50:25 | Entry | -| Patterns.cs:51:9:51:9 | access to parameter c | Patterns.cs:51:9:51:21 | Before ... is ... | -| Patterns.cs:51:9:51:21 | ... is ... | Patterns.cs:51:9:51:9 | access to parameter c | -| Patterns.cs:51:9:51:21 | After ... is ... [true] | Patterns.cs:51:14:51:21 | After not ... | -| Patterns.cs:51:9:51:21 | Before ... is ... | Patterns.cs:51:9:51:39 | ... ? ... : ... | +| Patterns.cs:51:9:51:9 | access to parameter c | Patterns.cs:51:9:51:21 | ... is ... | +| Patterns.cs:51:9:51:21 | ... is ... | Patterns.cs:51:9:51:39 | ... ? ... : ... | +| Patterns.cs:51:9:51:21 | After ... is ... [false] | Patterns.cs:51:14:51:21 | After not ... [no-match] | +| Patterns.cs:51:9:51:21 | After ... is ... [true] | Patterns.cs:51:14:51:21 | After not ... [match] | | Patterns.cs:51:9:51:39 | ... ? ... : ... | Patterns.cs:50:34:50:34 | c | | Patterns.cs:51:9:51:39 | After ... ? ... : ... | Patterns.cs:51:25:51:30 | After ... is ... | | Patterns.cs:51:9:51:39 | After ... ? ... : ... | Patterns.cs:51:34:51:39 | After ... is ... | -| Patterns.cs:51:14:51:21 | After not ... | Patterns.cs:51:14:51:21 | not ... | -| Patterns.cs:51:14:51:21 | Before not ... | Patterns.cs:51:9:51:21 | [MatchTrue] ... is ... | -| Patterns.cs:51:14:51:21 | not ... | Patterns.cs:51:18:51:21 | null | -| Patterns.cs:51:18:51:21 | null | Patterns.cs:51:14:51:21 | Before not ... | -| Patterns.cs:51:25:51:25 | access to parameter c | Patterns.cs:51:25:51:30 | Before ... is ... | -| Patterns.cs:51:25:51:30 | ... is ... | Patterns.cs:51:25:51:25 | access to parameter c | -| Patterns.cs:51:25:51:30 | After ... is ... | Patterns.cs:51:25:51:30 | ... is ... | -| Patterns.cs:51:25:51:30 | After ... is ... | Patterns.cs:51:30:51:30 | 1 | -| Patterns.cs:51:25:51:30 | Before ... is ... | Patterns.cs:51:9:51:21 | After ... is ... [true] | -| Patterns.cs:51:30:51:30 | 1 | Patterns.cs:51:25:51:30 | [MatchTrue] ... is ... | -| Patterns.cs:51:34:51:34 | access to parameter c | Patterns.cs:51:34:51:39 | Before ... is ... | -| Patterns.cs:51:34:51:39 | ... is ... | Patterns.cs:51:34:51:34 | access to parameter c | -| Patterns.cs:51:34:51:39 | After ... is ... | Patterns.cs:51:34:51:39 | ... is ... | -| Patterns.cs:51:34:51:39 | After ... is ... | Patterns.cs:51:39:51:39 | 2 | -| Patterns.cs:51:34:51:39 | Before ... is ... | Patterns.cs:51:9:51:21 | After ... is ... [false] | -| Patterns.cs:51:39:51:39 | 2 | Patterns.cs:51:34:51:39 | [MatchTrue] ... is ... | +| Patterns.cs:51:14:51:21 | After not ... [match] | Patterns.cs:51:18:51:21 | After null [no-match] | +| Patterns.cs:51:14:51:21 | After not ... [no-match] | Patterns.cs:51:18:51:21 | After null [match] | +| Patterns.cs:51:14:51:21 | not ... | Patterns.cs:51:9:51:9 | access to parameter c | +| Patterns.cs:51:18:51:21 | null | Patterns.cs:51:14:51:21 | not ... | +| Patterns.cs:51:25:51:25 | access to parameter c | Patterns.cs:51:25:51:30 | ... is ... | +| Patterns.cs:51:25:51:30 | ... is ... | Patterns.cs:51:9:51:21 | After ... is ... [true] | +| Patterns.cs:51:25:51:30 | After ... is ... | Patterns.cs:51:30:51:30 | After 1 [match] | +| Patterns.cs:51:25:51:30 | After ... is ... | Patterns.cs:51:30:51:30 | After 1 [no-match] | +| Patterns.cs:51:30:51:30 | 1 | Patterns.cs:51:25:51:25 | access to parameter c | +| Patterns.cs:51:34:51:34 | access to parameter c | Patterns.cs:51:34:51:39 | ... is ... | +| Patterns.cs:51:34:51:39 | ... is ... | Patterns.cs:51:9:51:21 | After ... is ... [false] | +| Patterns.cs:51:34:51:39 | After ... is ... | Patterns.cs:51:39:51:39 | After 2 [match] | +| Patterns.cs:51:34:51:39 | After ... is ... | Patterns.cs:51:39:51:39 | After 2 [no-match] | +| Patterns.cs:51:39:51:39 | 2 | Patterns.cs:51:34:51:34 | access to parameter c | | Patterns.cs:53:24:53:25 | Exit | Patterns.cs:53:24:53:25 | Normal Exit | | Patterns.cs:53:24:53:25 | Normal Exit | Patterns.cs:54:9:54:37 | After ... is ... | | Patterns.cs:53:34:53:34 | c | Patterns.cs:53:24:53:25 | Entry | -| Patterns.cs:54:9:54:9 | access to parameter c | Patterns.cs:54:9:54:37 | Before ... is ... | -| Patterns.cs:54:9:54:37 | ... is ... | Patterns.cs:54:9:54:9 | access to parameter c | -| Patterns.cs:54:9:54:37 | After ... is ... | Patterns.cs:54:9:54:37 | ... is ... | -| Patterns.cs:54:9:54:37 | After ... is ... | Patterns.cs:54:14:54:37 | After not ... | -| Patterns.cs:54:9:54:37 | Before ... is ... | Patterns.cs:53:34:53:34 | c | -| Patterns.cs:54:14:54:37 | After not ... | Patterns.cs:54:14:54:37 | not ... | -| Patterns.cs:54:14:54:37 | Before not ... | Patterns.cs:54:9:54:37 | [MatchTrue] ... is ... | -| Patterns.cs:54:14:54:37 | not ... | Patterns.cs:54:18:54:37 | After { ... } | -| Patterns.cs:54:18:54:25 | access to type Patterns | Patterns.cs:54:18:54:37 | After Patterns u | -| Patterns.cs:54:18:54:37 | After Patterns u | Patterns.cs:54:18:54:37 | Patterns u | -| Patterns.cs:54:18:54:37 | After { ... } | Patterns.cs:54:18:54:37 | { ... } | -| Patterns.cs:54:18:54:37 | Before Patterns u | Patterns.cs:54:18:54:37 | Before { ... } | -| Patterns.cs:54:18:54:37 | Before { ... } | Patterns.cs:54:14:54:37 | Before not ... | -| Patterns.cs:54:18:54:37 | Patterns u | Patterns.cs:54:37:54:37 | access to local variable u | -| Patterns.cs:54:18:54:37 | { ... } | Patterns.cs:54:27:54:35 | After { ... } | -| Patterns.cs:54:27:54:35 | After { ... } | Patterns.cs:54:27:54:35 | { ... } | -| Patterns.cs:54:27:54:35 | Before { ... } | Patterns.cs:54:18:54:25 | access to type Patterns | -| Patterns.cs:54:27:54:35 | { ... } | Patterns.cs:54:33:54:33 | 1 | -| Patterns.cs:54:33:54:33 | 1 | Patterns.cs:54:27:54:35 | Before { ... } | -| Patterns.cs:54:37:54:37 | access to local variable u | Patterns.cs:54:18:54:37 | Before Patterns u | +| Patterns.cs:54:9:54:9 | access to parameter c | Patterns.cs:54:9:54:37 | ... is ... | +| Patterns.cs:54:9:54:37 | ... is ... | Patterns.cs:53:34:53:34 | c | +| Patterns.cs:54:9:54:37 | After ... is ... | Patterns.cs:54:14:54:37 | After not ... [match] | +| Patterns.cs:54:9:54:37 | After ... is ... | Patterns.cs:54:14:54:37 | After not ... [no-match] | +| Patterns.cs:54:14:54:37 | After not ... [match] | Patterns.cs:54:18:54:37 | After { ... } [no-match] | +| Patterns.cs:54:14:54:37 | After not ... [no-match] | Patterns.cs:54:18:54:37 | After { ... } [match] | +| Patterns.cs:54:14:54:37 | not ... | Patterns.cs:54:9:54:9 | access to parameter c | +| Patterns.cs:54:18:54:25 | access to type Patterns | Patterns.cs:54:18:54:37 | { ... } | +| Patterns.cs:54:18:54:37 | After Patterns u [match] | Patterns.cs:54:37:54:37 | After access to local variable u [match] | +| Patterns.cs:54:18:54:37 | After { ... } [match] | Patterns.cs:54:18:54:37 | After Patterns u [match] | +| Patterns.cs:54:18:54:37 | After { ... } [no-match] | Patterns.cs:54:18:54:25 | After access to type Patterns [no-match] | +| Patterns.cs:54:18:54:37 | After { ... } [no-match] | Patterns.cs:54:27:54:35 | After { ... } [no-match] | +| Patterns.cs:54:18:54:37 | Patterns u | Patterns.cs:54:27:54:35 | After { ... } [match] | +| Patterns.cs:54:18:54:37 | [OuterPatternMatch] Patterns u | Patterns.cs:54:18:54:37 | Patterns u | +| Patterns.cs:54:18:54:37 | { ... } | Patterns.cs:54:14:54:37 | not ... | +| Patterns.cs:54:27:54:35 | After { ... } [match] | Patterns.cs:54:33:54:33 | After 1 [match] | +| Patterns.cs:54:27:54:35 | After { ... } [no-match] | Patterns.cs:54:33:54:33 | After 1 [no-match] | +| Patterns.cs:54:27:54:35 | { ... } | Patterns.cs:54:18:54:25 | After access to type Patterns [match] | +| Patterns.cs:54:33:54:33 | 1 | Patterns.cs:54:27:54:35 | [OuterPatternMatch] { ... } | +| Patterns.cs:54:37:54:37 | After access to local variable u [match] | Patterns.cs:54:37:54:37 | access to local variable u | +| Patterns.cs:54:37:54:37 | access to local variable u | Patterns.cs:54:18:54:37 | [OuterPatternMatch] Patterns u | | Patterns.cs:56:26:56:27 | Exit | Patterns.cs:56:26:56:27 | Normal Exit | | Patterns.cs:56:26:56:27 | Normal Exit | Patterns.cs:58:9:62:10 | return ...; | | Patterns.cs:56:33:56:33 | i | Patterns.cs:56:26:56:27 | Entry | @@ -13396,12 +13387,13 @@ postDominance | Patterns.cs:58:16:62:9 | ... switch { ... } | Patterns.cs:58:9:62:10 | Before return ...; | | Patterns.cs:58:16:62:9 | After ... switch { ... } | Patterns.cs:60:22:60:28 | "not 1" | | Patterns.cs:58:16:62:9 | After ... switch { ... } | Patterns.cs:61:18:61:24 | "other" | -| Patterns.cs:60:13:60:17 | Before not ... | Patterns.cs:60:13:60:28 | ... => ... | -| Patterns.cs:60:13:60:17 | not ... | Patterns.cs:60:17:60:17 | 1 | +| Patterns.cs:60:13:60:17 | After not ... [match] | Patterns.cs:60:17:60:17 | After 1 [no-match] | +| Patterns.cs:60:13:60:17 | After not ... [no-match] | Patterns.cs:60:17:60:17 | After 1 [match] | +| Patterns.cs:60:13:60:17 | not ... | Patterns.cs:60:13:60:28 | ... => ... | | Patterns.cs:60:13:60:28 | ... => ... | Patterns.cs:58:16:58:16 | access to parameter i | | Patterns.cs:60:13:60:28 | After ... => ... [match] | Patterns.cs:60:13:60:17 | After not ... [match] | | Patterns.cs:60:13:60:28 | After ... => ... [no-match] | Patterns.cs:60:13:60:17 | After not ... [no-match] | -| Patterns.cs:60:17:60:17 | 1 | Patterns.cs:60:13:60:17 | Before not ... | +| Patterns.cs:60:17:60:17 | 1 | Patterns.cs:60:13:60:17 | not ... | | Patterns.cs:60:22:60:28 | "not 1" | Patterns.cs:60:13:60:28 | After ... => ... [match] | | Patterns.cs:61:13:61:13 | After _ [match] | Patterns.cs:61:13:61:13 | _ | | Patterns.cs:61:13:61:13 | _ | Patterns.cs:61:13:61:24 | ... => ... | @@ -13418,12 +13410,13 @@ postDominance | Patterns.cs:67:16:71:9 | After ... switch { ... } | Patterns.cs:69:22:69:33 | "impossible" | | Patterns.cs:67:16:71:9 | After ... switch { ... } | Patterns.cs:70:13:70:27 | After ... => ... [no-match] | | Patterns.cs:67:16:71:9 | After ... switch { ... } | Patterns.cs:70:18:70:27 | "possible" | -| Patterns.cs:69:13:69:17 | Before not ... | Patterns.cs:69:13:69:33 | ... => ... | -| Patterns.cs:69:13:69:17 | not ... | Patterns.cs:69:17:69:17 | 2 | +| Patterns.cs:69:13:69:17 | After not ... [match] | Patterns.cs:69:17:69:17 | After 2 [no-match] | +| Patterns.cs:69:13:69:17 | After not ... [no-match] | Patterns.cs:69:17:69:17 | After 2 [match] | +| Patterns.cs:69:13:69:17 | not ... | Patterns.cs:69:13:69:33 | ... => ... | | Patterns.cs:69:13:69:33 | ... => ... | Patterns.cs:67:16:67:16 | 2 | | Patterns.cs:69:13:69:33 | After ... => ... [match] | Patterns.cs:69:13:69:17 | After not ... [match] | | Patterns.cs:69:13:69:33 | After ... => ... [no-match] | Patterns.cs:69:13:69:17 | After not ... [no-match] | -| Patterns.cs:69:17:69:17 | 2 | Patterns.cs:69:13:69:17 | Before not ... | +| Patterns.cs:69:17:69:17 | 2 | Patterns.cs:69:13:69:17 | not ... | | Patterns.cs:69:22:69:33 | "impossible" | Patterns.cs:69:13:69:33 | After ... => ... [match] | | Patterns.cs:70:13:70:13 | 2 | Patterns.cs:70:13:70:27 | ... => ... | | Patterns.cs:70:13:70:27 | ... => ... | Patterns.cs:69:13:69:33 | After ... => ... [no-match] | @@ -13469,41 +13462,43 @@ postDominance | Patterns.cs:85:26:85:27 | Exit | Patterns.cs:85:26:85:27 | Normal Exit | | Patterns.cs:85:26:85:27 | Normal Exit | Patterns.cs:85:39:85:69 | After ... ? ... : ... | | Patterns.cs:85:33:85:33 | i | Patterns.cs:85:26:85:27 | Entry | -| Patterns.cs:85:39:85:39 | access to parameter i | Patterns.cs:85:39:85:53 | Before ... is ... | -| Patterns.cs:85:39:85:53 | ... is ... | Patterns.cs:85:39:85:39 | access to parameter i | -| Patterns.cs:85:39:85:53 | After ... is ... [true] | Patterns.cs:85:44:85:53 | After ... or ... | -| Patterns.cs:85:39:85:53 | Before ... is ... | Patterns.cs:85:39:85:69 | ... ? ... : ... | +| Patterns.cs:85:39:85:39 | access to parameter i | Patterns.cs:85:39:85:53 | ... is ... | +| Patterns.cs:85:39:85:53 | ... is ... | Patterns.cs:85:39:85:69 | ... ? ... : ... | +| Patterns.cs:85:39:85:53 | After ... is ... [false] | Patterns.cs:85:44:85:53 | After ... or ... [no-match] | +| Patterns.cs:85:39:85:53 | After ... is ... [true] | Patterns.cs:85:44:85:53 | After ... or ... [match] | | Patterns.cs:85:39:85:69 | ... ? ... : ... | Patterns.cs:85:33:85:33 | i | | Patterns.cs:85:39:85:69 | After ... ? ... : ... | Patterns.cs:85:57:85:63 | "not 2" | | Patterns.cs:85:39:85:69 | After ... ? ... : ... | Patterns.cs:85:67:85:69 | "2" | -| Patterns.cs:85:44:85:44 | 1 | Patterns.cs:85:44:85:53 | Before ... or ... | -| Patterns.cs:85:44:85:53 | ... or ... | Patterns.cs:85:49:85:53 | After not ... | -| Patterns.cs:85:44:85:53 | After ... or ... | Patterns.cs:85:44:85:53 | ... or ... | -| Patterns.cs:85:44:85:53 | Before ... or ... | Patterns.cs:85:39:85:53 | [MatchTrue] ... is ... | -| Patterns.cs:85:49:85:53 | After not ... | Patterns.cs:85:49:85:53 | not ... | -| Patterns.cs:85:49:85:53 | Before not ... | Patterns.cs:85:44:85:44 | 1 | -| Patterns.cs:85:49:85:53 | not ... | Patterns.cs:85:53:85:53 | 2 | -| Patterns.cs:85:53:85:53 | 2 | Patterns.cs:85:49:85:53 | Before not ... | +| Patterns.cs:85:44:85:44 | 1 | Patterns.cs:85:44:85:53 | ... or ... | +| Patterns.cs:85:44:85:53 | ... or ... | Patterns.cs:85:39:85:39 | access to parameter i | +| Patterns.cs:85:44:85:53 | After ... or ... [match] | Patterns.cs:85:44:85:44 | After 1 [match] | +| Patterns.cs:85:44:85:53 | After ... or ... [match] | Patterns.cs:85:49:85:53 | After not ... [match] | +| Patterns.cs:85:44:85:53 | After ... or ... [no-match] | Patterns.cs:85:49:85:53 | After not ... [no-match] | +| Patterns.cs:85:49:85:53 | After not ... [match] | Patterns.cs:85:53:85:53 | After 2 [no-match] | +| Patterns.cs:85:49:85:53 | After not ... [no-match] | Patterns.cs:85:53:85:53 | After 2 [match] | +| Patterns.cs:85:49:85:53 | not ... | Patterns.cs:85:44:85:44 | After 1 [no-match] | +| Patterns.cs:85:53:85:53 | 2 | Patterns.cs:85:49:85:53 | not ... | | Patterns.cs:85:57:85:63 | "not 2" | Patterns.cs:85:39:85:53 | After ... is ... [true] | | Patterns.cs:85:67:85:69 | "2" | Patterns.cs:85:39:85:53 | After ... is ... [false] | | Patterns.cs:87:26:87:27 | Exit | Patterns.cs:87:26:87:27 | Normal Exit | | Patterns.cs:87:26:87:27 | Normal Exit | Patterns.cs:87:39:87:70 | After ... ? ... : ... | | Patterns.cs:87:33:87:33 | i | Patterns.cs:87:26:87:27 | Entry | -| Patterns.cs:87:39:87:39 | access to parameter i | Patterns.cs:87:39:87:54 | Before ... is ... | -| Patterns.cs:87:39:87:54 | ... is ... | Patterns.cs:87:39:87:39 | access to parameter i | -| Patterns.cs:87:39:87:54 | After ... is ... [true] | Patterns.cs:87:44:87:54 | After ... and ... | -| Patterns.cs:87:39:87:54 | Before ... is ... | Patterns.cs:87:39:87:70 | ... ? ... : ... | +| Patterns.cs:87:39:87:39 | access to parameter i | Patterns.cs:87:39:87:54 | ... is ... | +| Patterns.cs:87:39:87:54 | ... is ... | Patterns.cs:87:39:87:70 | ... ? ... : ... | +| Patterns.cs:87:39:87:54 | After ... is ... [false] | Patterns.cs:87:44:87:54 | After ... and ... [no-match] | +| Patterns.cs:87:39:87:54 | After ... is ... [true] | Patterns.cs:87:44:87:54 | After ... and ... [match] | | Patterns.cs:87:39:87:70 | ... ? ... : ... | Patterns.cs:87:33:87:33 | i | | Patterns.cs:87:39:87:70 | After ... ? ... : ... | Patterns.cs:87:58:87:60 | "1" | | Patterns.cs:87:39:87:70 | After ... ? ... : ... | Patterns.cs:87:64:87:70 | "not 1" | -| Patterns.cs:87:44:87:44 | 1 | Patterns.cs:87:44:87:54 | Before ... and ... | -| Patterns.cs:87:44:87:54 | ... and ... | Patterns.cs:87:50:87:54 | After not ... | -| Patterns.cs:87:44:87:54 | After ... and ... | Patterns.cs:87:44:87:54 | ... and ... | -| Patterns.cs:87:44:87:54 | Before ... and ... | Patterns.cs:87:39:87:54 | [MatchTrue] ... is ... | -| Patterns.cs:87:50:87:54 | After not ... | Patterns.cs:87:50:87:54 | not ... | -| Patterns.cs:87:50:87:54 | Before not ... | Patterns.cs:87:44:87:44 | 1 | -| Patterns.cs:87:50:87:54 | not ... | Patterns.cs:87:54:87:54 | 2 | -| Patterns.cs:87:54:87:54 | 2 | Patterns.cs:87:50:87:54 | Before not ... | +| Patterns.cs:87:44:87:44 | 1 | Patterns.cs:87:44:87:54 | ... and ... | +| Patterns.cs:87:44:87:54 | ... and ... | Patterns.cs:87:39:87:39 | access to parameter i | +| Patterns.cs:87:44:87:54 | After ... and ... [match] | Patterns.cs:87:50:87:54 | After not ... [match] | +| Patterns.cs:87:44:87:54 | After ... and ... [no-match] | Patterns.cs:87:44:87:44 | After 1 [no-match] | +| Patterns.cs:87:44:87:54 | After ... and ... [no-match] | Patterns.cs:87:50:87:54 | After not ... [no-match] | +| Patterns.cs:87:50:87:54 | After not ... [match] | Patterns.cs:87:54:87:54 | After 2 [no-match] | +| Patterns.cs:87:50:87:54 | After not ... [no-match] | Patterns.cs:87:54:87:54 | After 2 [match] | +| Patterns.cs:87:50:87:54 | not ... | Patterns.cs:87:44:87:44 | After 1 [match] | +| Patterns.cs:87:54:87:54 | 2 | Patterns.cs:87:50:87:54 | not ... | | Patterns.cs:87:58:87:60 | "1" | Patterns.cs:87:39:87:54 | After ... is ... [true] | | Patterns.cs:87:64:87:70 | "not 1" | Patterns.cs:87:39:87:54 | After ... is ... [false] | | Patterns.cs:93:17:93:19 | Exit | Patterns.cs:93:17:93:19 | Normal Exit | @@ -13513,21 +13508,22 @@ postDominance | Patterns.cs:95:9:98:9 | After if (...) ... | Patterns.cs:95:13:95:40 | After ... is ... [false] | | Patterns.cs:95:9:98:9 | After if (...) ... | Patterns.cs:96:9:98:9 | After {...} | | Patterns.cs:95:9:98:9 | if (...) ... | Patterns.cs:94:5:99:5 | {...} | -| Patterns.cs:95:13:95:16 | this access | Patterns.cs:95:13:95:40 | Before ... is ... | -| Patterns.cs:95:13:95:40 | ... is ... | Patterns.cs:95:13:95:16 | this access | -| Patterns.cs:95:13:95:40 | After ... is ... [true] | Patterns.cs:95:21:95:40 | After { ... } | -| Patterns.cs:95:13:95:40 | Before ... is ... | Patterns.cs:95:9:98:9 | if (...) ... | -| Patterns.cs:95:21:95:40 | After { ... } | Patterns.cs:95:21:95:40 | { ... } | -| Patterns.cs:95:21:95:40 | After { ... } | Patterns.cs:95:21:95:40 | { ... } | -| Patterns.cs:95:21:95:40 | Before { ... } | Patterns.cs:95:13:95:40 | [MatchTrue] ... is ... | -| Patterns.cs:95:21:95:40 | Before { ... } | Patterns.cs:95:21:95:40 | Before { ... } | -| Patterns.cs:95:21:95:40 | { ... } | Patterns.cs:95:21:95:40 | After { ... } | -| Patterns.cs:95:21:95:40 | { ... } | Patterns.cs:95:29:95:38 | After ... or ... | -| Patterns.cs:95:29:95:31 | access to constant A | Patterns.cs:95:29:95:38 | Before ... or ... | -| Patterns.cs:95:29:95:38 | ... or ... | Patterns.cs:95:36:95:38 | access to constant B | -| Patterns.cs:95:29:95:38 | After ... or ... | Patterns.cs:95:29:95:38 | ... or ... | -| Patterns.cs:95:29:95:38 | Before ... or ... | Patterns.cs:95:21:95:40 | Before { ... } | -| Patterns.cs:95:36:95:38 | access to constant B | Patterns.cs:95:29:95:31 | access to constant A | +| Patterns.cs:95:13:95:16 | this access | Patterns.cs:95:13:95:40 | ... is ... | +| Patterns.cs:95:13:95:40 | ... is ... | Patterns.cs:95:9:98:9 | if (...) ... | +| Patterns.cs:95:13:95:40 | After ... is ... [false] | Patterns.cs:95:21:95:40 | After { ... } [no-match] | +| Patterns.cs:95:13:95:40 | After ... is ... [true] | Patterns.cs:95:21:95:40 | After { ... } [match] | +| Patterns.cs:95:21:95:40 | After { ... } [match] | Patterns.cs:95:21:95:40 | After { ... } [match] | +| Patterns.cs:95:21:95:40 | After { ... } [match] | Patterns.cs:95:29:95:38 | After ... or ... [match] | +| Patterns.cs:95:21:95:40 | After { ... } [no-match] | Patterns.cs:95:21:95:40 | After { ... } [no-match] | +| Patterns.cs:95:21:95:40 | After { ... } [no-match] | Patterns.cs:95:29:95:38 | After ... or ... [no-match] | +| Patterns.cs:95:21:95:40 | { ... } | Patterns.cs:95:13:95:16 | this access | +| Patterns.cs:95:21:95:40 | { ... } | Patterns.cs:95:21:95:40 | { ... } | +| Patterns.cs:95:29:95:31 | access to constant A | Patterns.cs:95:29:95:38 | ... or ... | +| Patterns.cs:95:29:95:38 | ... or ... | Patterns.cs:95:21:95:40 | [OuterPatternMatch] { ... } | +| Patterns.cs:95:29:95:38 | After ... or ... [match] | Patterns.cs:95:29:95:31 | After access to constant A [match] | +| Patterns.cs:95:29:95:38 | After ... or ... [match] | Patterns.cs:95:36:95:38 | After access to constant B [match] | +| Patterns.cs:95:29:95:38 | After ... or ... [no-match] | Patterns.cs:95:36:95:38 | After access to constant B [no-match] | +| Patterns.cs:95:36:95:38 | access to constant B | Patterns.cs:95:29:95:31 | After access to constant A [no-match] | | Patterns.cs:96:9:98:9 | After {...} | Patterns.cs:97:13:97:39 | After ...; | | Patterns.cs:96:9:98:9 | {...} | Patterns.cs:95:13:95:40 | After ... is ... [true] | | Patterns.cs:97:13:97:38 | After call to method WriteLine | Patterns.cs:97:13:97:38 | call to method WriteLine | @@ -13565,11 +13561,11 @@ postDominance | PostDominance.cs:11:5:15:5 | {...} | PostDominance.cs:10:20:10:20 | s | | PostDominance.cs:12:9:13:19 | After if (...) ... | PostDominance.cs:12:13:12:21 | After ... is ... [false] | | PostDominance.cs:12:9:13:19 | if (...) ... | PostDominance.cs:11:5:15:5 | {...} | -| PostDominance.cs:12:13:12:13 | access to parameter s | PostDominance.cs:12:13:12:21 | Before ... is ... | -| PostDominance.cs:12:13:12:21 | ... is ... | PostDominance.cs:12:13:12:13 | access to parameter s | -| PostDominance.cs:12:13:12:21 | After ... is ... [true] | PostDominance.cs:12:18:12:21 | null | -| PostDominance.cs:12:13:12:21 | Before ... is ... | PostDominance.cs:12:9:13:19 | if (...) ... | -| PostDominance.cs:12:18:12:21 | null | PostDominance.cs:12:13:12:21 | [MatchTrue] ... is ... | +| PostDominance.cs:12:13:12:13 | access to parameter s | PostDominance.cs:12:13:12:21 | ... is ... | +| PostDominance.cs:12:13:12:21 | ... is ... | PostDominance.cs:12:9:13:19 | if (...) ... | +| PostDominance.cs:12:13:12:21 | After ... is ... [false] | PostDominance.cs:12:18:12:21 | After null [no-match] | +| PostDominance.cs:12:13:12:21 | After ... is ... [true] | PostDominance.cs:12:18:12:21 | After null [match] | +| PostDominance.cs:12:18:12:21 | null | PostDominance.cs:12:13:12:13 | access to parameter s | | PostDominance.cs:13:13:13:19 | Before return ...; | PostDominance.cs:12:13:12:21 | After ... is ... [true] | | PostDominance.cs:13:13:13:19 | return ...; | PostDominance.cs:13:13:13:19 | Before return ...; | | PostDominance.cs:14:9:14:28 | After call to method WriteLine | PostDominance.cs:14:9:14:28 | call to method WriteLine | @@ -13585,12 +13581,12 @@ postDominance | PostDominance.cs:18:5:22:5 | {...} | PostDominance.cs:17:20:17:20 | s | | PostDominance.cs:19:9:20:55 | After if (...) ... | PostDominance.cs:19:13:19:21 | After ... is ... [false] | | PostDominance.cs:19:9:20:55 | if (...) ... | PostDominance.cs:18:5:22:5 | {...} | -| PostDominance.cs:19:13:19:13 | access to parameter s | PostDominance.cs:19:13:19:21 | Before ... is ... | -| PostDominance.cs:19:13:19:21 | ... is ... | PostDominance.cs:19:13:19:13 | access to parameter s | -| PostDominance.cs:19:13:19:21 | After ... is ... [false] | PostDominance.cs:19:13:19:21 | ... is ... | -| PostDominance.cs:19:13:19:21 | After ... is ... [true] | PostDominance.cs:19:18:19:21 | null | -| PostDominance.cs:19:13:19:21 | Before ... is ... | PostDominance.cs:19:9:20:55 | if (...) ... | -| PostDominance.cs:19:18:19:21 | null | PostDominance.cs:19:13:19:21 | [MatchTrue] ... is ... | +| PostDominance.cs:19:13:19:13 | access to parameter s | PostDominance.cs:19:13:19:21 | ... is ... | +| PostDominance.cs:19:13:19:21 | ... is ... | PostDominance.cs:19:9:20:55 | if (...) ... | +| PostDominance.cs:19:13:19:21 | After ... is ... [false] | PostDominance.cs:19:18:19:21 | After null [no-match] | +| PostDominance.cs:19:13:19:21 | After ... is ... [true] | PostDominance.cs:19:18:19:21 | After null [match] | +| PostDominance.cs:19:18:19:21 | After null [no-match] | PostDominance.cs:19:18:19:21 | null | +| PostDominance.cs:19:18:19:21 | null | PostDominance.cs:19:13:19:13 | access to parameter s | | PostDominance.cs:20:13:20:55 | Before throw ...; | PostDominance.cs:19:13:19:21 | After ... is ... [true] | | PostDominance.cs:20:13:20:55 | throw ...; | PostDominance.cs:20:19:20:54 | After object creation of type ArgumentNullException | | PostDominance.cs:20:19:20:54 | After object creation of type ArgumentNullException | PostDominance.cs:20:19:20:54 | object creation of type ArgumentNullException | @@ -13817,9 +13813,10 @@ postDominance | Switch.cs:20:13:20:23 | After case ...: [match] | Switch.cs:20:18:20:22 | After Int32 i [match] | | Switch.cs:20:13:20:23 | After case ...: [no-match] | Switch.cs:20:18:20:22 | After Int32 i [no-match] | | Switch.cs:20:13:20:23 | case ...: | Switch.cs:18:13:18:22 | After case ...: [no-match] | -| Switch.cs:20:18:20:22 | Before Int32 i | Switch.cs:20:13:20:23 | case ...: | -| Switch.cs:20:18:20:22 | Int32 i | Switch.cs:20:22:20:22 | access to local variable i | -| Switch.cs:20:22:20:22 | access to local variable i | Switch.cs:20:18:20:22 | Before Int32 i | +| Switch.cs:20:18:20:22 | After Int32 i [match] | Switch.cs:20:22:20:22 | After access to local variable i [match] | +| Switch.cs:20:18:20:22 | Int32 i | Switch.cs:20:13:20:23 | case ...: | +| Switch.cs:20:22:20:22 | After access to local variable i [match] | Switch.cs:20:22:20:22 | access to local variable i | +| Switch.cs:20:22:20:22 | access to local variable i | Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | | Switch.cs:21:17:22:27 | After if (...) ... | Switch.cs:21:21:21:29 | After ... == ... [false] | | Switch.cs:21:17:22:27 | if (...) ... | Switch.cs:20:13:20:23 | After case ...: [match] | | Switch.cs:21:21:21:21 | access to parameter o | Switch.cs:21:21:21:29 | Before ... == ... | @@ -13835,9 +13832,10 @@ postDominance | Switch.cs:24:13:24:56 | After case ...: [match] | Switch.cs:24:18:24:25 | After String s [match] | | Switch.cs:24:13:24:56 | After case ...: [no-match] | Switch.cs:24:18:24:25 | After String s [no-match] | | Switch.cs:24:13:24:56 | case ...: | Switch.cs:20:13:20:23 | After case ...: [no-match] | -| Switch.cs:24:18:24:25 | Before String s | Switch.cs:24:13:24:56 | case ...: | -| Switch.cs:24:18:24:25 | String s | Switch.cs:24:25:24:25 | access to local variable s | -| Switch.cs:24:25:24:25 | access to local variable s | Switch.cs:24:18:24:25 | Before String s | +| Switch.cs:24:18:24:25 | After String s [match] | Switch.cs:24:25:24:25 | After access to local variable s [match] | +| Switch.cs:24:18:24:25 | String s | Switch.cs:24:13:24:56 | case ...: | +| Switch.cs:24:25:24:25 | After access to local variable s [match] | Switch.cs:24:25:24:25 | access to local variable s | +| Switch.cs:24:25:24:25 | access to local variable s | Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | | Switch.cs:24:32:24:32 | access to local variable s | Switch.cs:24:32:24:39 | Before access to property Length | | Switch.cs:24:32:24:39 | After access to property Length | Switch.cs:24:32:24:39 | access to property Length | | Switch.cs:24:32:24:39 | Before access to property Length | Switch.cs:24:32:24:43 | Before ... > ... | @@ -13865,10 +13863,11 @@ postDominance | Switch.cs:27:13:27:39 | After case ...: [no-match] | Switch.cs:27:18:27:25 | After Double d [no-match] | | Switch.cs:27:13:27:39 | case ...: | Switch.cs:24:13:24:56 | After case ...: [no-match] | | Switch.cs:27:13:27:39 | case ...: | Switch.cs:24:32:24:55 | After ... && ... [false] | +| Switch.cs:27:18:27:25 | After Double d [match] | Switch.cs:27:25:27:25 | After access to local variable d [match] | | Switch.cs:27:18:27:25 | After Double d [no-match] | Switch.cs:27:18:27:25 | Double d | -| Switch.cs:27:18:27:25 | Before Double d | Switch.cs:27:13:27:39 | case ...: | -| Switch.cs:27:18:27:25 | Double d | Switch.cs:27:25:27:25 | access to local variable d | -| Switch.cs:27:25:27:25 | access to local variable d | Switch.cs:27:18:27:25 | Before Double d | +| Switch.cs:27:18:27:25 | Double d | Switch.cs:27:13:27:39 | case ...: | +| Switch.cs:27:25:27:25 | After access to local variable d [match] | Switch.cs:27:25:27:25 | access to local variable d | +| Switch.cs:27:25:27:25 | access to local variable d | Switch.cs:27:18:27:25 | [OuterPatternMatch] Double d | | Switch.cs:27:32:27:38 | Before call to method Throw | Switch.cs:27:13:27:39 | After case ...: [match] | | Switch.cs:27:32:27:38 | call to method Throw | Switch.cs:27:32:27:38 | Before call to method Throw | | Switch.cs:28:13:28:17 | Label: | Switch.cs:31:17:31:27 | goto ...; | @@ -14111,12 +14110,13 @@ postDominance | Switch.cs:125:13:125:48 | After ... switch { ... } [false] | Switch.cs:125:34:125:34 | After access to local variable b [false] | | Switch.cs:125:13:125:48 | After ... switch { ... } [false] | Switch.cs:125:42:125:46 | After false [false] | | Switch.cs:125:13:125:48 | After ... switch { ... } [true] | Switch.cs:125:34:125:34 | After access to local variable b [true] | -| Switch.cs:125:24:125:29 | Before Boolean b | Switch.cs:125:24:125:34 | ... => ... | -| Switch.cs:125:24:125:29 | Boolean b | Switch.cs:125:29:125:29 | access to local variable b | +| Switch.cs:125:24:125:29 | After Boolean b [match] | Switch.cs:125:29:125:29 | After access to local variable b [match] | +| Switch.cs:125:24:125:29 | Boolean b | Switch.cs:125:24:125:34 | ... => ... | | Switch.cs:125:24:125:34 | ... => ... | Switch.cs:125:13:125:13 | access to parameter o | | Switch.cs:125:24:125:34 | After ... => ... [match] | Switch.cs:125:24:125:29 | After Boolean b [match] | | Switch.cs:125:24:125:34 | After ... => ... [no-match] | Switch.cs:125:24:125:29 | After Boolean b [no-match] | -| Switch.cs:125:29:125:29 | access to local variable b | Switch.cs:125:24:125:29 | Before Boolean b | +| Switch.cs:125:29:125:29 | After access to local variable b [match] | Switch.cs:125:29:125:29 | access to local variable b | +| Switch.cs:125:29:125:29 | access to local variable b | Switch.cs:125:24:125:29 | [OuterPatternMatch] Boolean b | | Switch.cs:125:34:125:34 | access to local variable b | Switch.cs:125:24:125:34 | After ... => ... [match] | | Switch.cs:125:37:125:37 | After _ [match] | Switch.cs:125:37:125:37 | _ | | Switch.cs:125:37:125:37 | _ | Switch.cs:125:37:125:46 | ... => ... | @@ -14142,12 +14142,13 @@ postDominance | Switch.cs:131:17:131:53 | After ... switch { ... } [non-null] | Switch.cs:131:48:131:51 | After null [non-null] | | Switch.cs:131:17:131:53 | After ... switch { ... } [null] | Switch.cs:131:40:131:40 | After access to local variable s [null] | | Switch.cs:131:17:131:53 | After ... switch { ... } [null] | Switch.cs:131:48:131:51 | After null [null] | -| Switch.cs:131:28:131:35 | Before String s | Switch.cs:131:28:131:40 | ... => ... | -| Switch.cs:131:28:131:35 | String s | Switch.cs:131:35:131:35 | access to local variable s | +| Switch.cs:131:28:131:35 | After String s [match] | Switch.cs:131:35:131:35 | After access to local variable s [match] | +| Switch.cs:131:28:131:35 | String s | Switch.cs:131:28:131:40 | ... => ... | | Switch.cs:131:28:131:40 | ... => ... | Switch.cs:131:17:131:17 | access to parameter o | | Switch.cs:131:28:131:40 | After ... => ... [match] | Switch.cs:131:28:131:35 | After String s [match] | | Switch.cs:131:28:131:40 | After ... => ... [no-match] | Switch.cs:131:28:131:35 | After String s [no-match] | -| Switch.cs:131:35:131:35 | access to local variable s | Switch.cs:131:28:131:35 | Before String s | +| Switch.cs:131:35:131:35 | After access to local variable s [match] | Switch.cs:131:35:131:35 | access to local variable s | +| Switch.cs:131:35:131:35 | access to local variable s | Switch.cs:131:28:131:35 | [OuterPatternMatch] String s | | Switch.cs:131:40:131:40 | access to local variable s | Switch.cs:131:28:131:40 | After ... => ... [match] | | Switch.cs:131:43:131:43 | After _ [match] | Switch.cs:131:43:131:43 | _ | | Switch.cs:131:43:131:43 | _ | Switch.cs:131:43:131:51 | ... => ... | @@ -14357,14 +14358,14 @@ postDominance | TypeAccesses.cs:7:9:7:25 | After if (...) ... | TypeAccesses.cs:7:13:7:22 | After ... is ... [false] | | TypeAccesses.cs:7:9:7:25 | After if (...) ... | TypeAccesses.cs:7:25:7:25 | ; | | TypeAccesses.cs:7:9:7:25 | if (...) ... | TypeAccesses.cs:6:9:6:24 | After ...; | -| TypeAccesses.cs:7:13:7:13 | access to parameter o | TypeAccesses.cs:7:13:7:22 | Before ... is ... | -| TypeAccesses.cs:7:13:7:22 | ... is ... | TypeAccesses.cs:7:13:7:13 | access to parameter o | -| TypeAccesses.cs:7:13:7:22 | After ... is ... [true] | TypeAccesses.cs:7:18:7:22 | After Int32 j | -| TypeAccesses.cs:7:13:7:22 | Before ... is ... | TypeAccesses.cs:7:9:7:25 | if (...) ... | -| TypeAccesses.cs:7:18:7:22 | After Int32 j | TypeAccesses.cs:7:18:7:22 | Int32 j | -| TypeAccesses.cs:7:18:7:22 | Before Int32 j | TypeAccesses.cs:7:13:7:22 | [MatchTrue] ... is ... | -| TypeAccesses.cs:7:18:7:22 | Int32 j | TypeAccesses.cs:7:22:7:22 | access to local variable j | -| TypeAccesses.cs:7:22:7:22 | access to local variable j | TypeAccesses.cs:7:18:7:22 | Before Int32 j | +| TypeAccesses.cs:7:13:7:13 | access to parameter o | TypeAccesses.cs:7:13:7:22 | ... is ... | +| TypeAccesses.cs:7:13:7:22 | ... is ... | TypeAccesses.cs:7:9:7:25 | if (...) ... | +| TypeAccesses.cs:7:13:7:22 | After ... is ... [false] | TypeAccesses.cs:7:18:7:22 | After Int32 j [no-match] | +| TypeAccesses.cs:7:13:7:22 | After ... is ... [true] | TypeAccesses.cs:7:18:7:22 | After Int32 j [match] | +| TypeAccesses.cs:7:18:7:22 | After Int32 j [match] | TypeAccesses.cs:7:22:7:22 | After access to local variable j [match] | +| TypeAccesses.cs:7:18:7:22 | Int32 j | TypeAccesses.cs:7:13:7:13 | access to parameter o | +| TypeAccesses.cs:7:22:7:22 | After access to local variable j [match] | TypeAccesses.cs:7:22:7:22 | access to local variable j | +| TypeAccesses.cs:7:22:7:22 | access to local variable j | TypeAccesses.cs:7:18:7:22 | [OuterPatternMatch] Int32 j | | TypeAccesses.cs:7:25:7:25 | ; | TypeAccesses.cs:7:13:7:22 | After ... is ... [true] | | TypeAccesses.cs:8:9:8:28 | ... ...; | TypeAccesses.cs:7:9:7:25 | After if (...) ... | | TypeAccesses.cs:8:9:8:28 | After ... ...; | TypeAccesses.cs:8:13:8:27 | After Type t = ... | @@ -18880,146 +18881,146 @@ blockDominance | Patterns.cs:3:7:3:14 | Entry | Patterns.cs:3:7:3:14 | Entry | | Patterns.cs:5:10:5:11 | Entry | Patterns.cs:5:10:5:11 | Entry | | Patterns.cs:5:10:5:11 | Entry | Patterns.cs:8:9:18:9 | After if (...) ... | -| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:8:13:8:23 | After ... is ... [false] | -| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:8:13:8:23 | [MatchTrue] ... is ... | +| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:8:18:8:23 | After Int32 i1 [no-match] | +| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:8:18:8:23 | [OuterPatternMatch] Int32 i1 | | Patterns.cs:5:10:5:11 | Entry | Patterns.cs:12:14:18:9 | After if (...) ... | -| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:12:18:12:31 | After ... is ... [false] | -| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:12:18:12:31 | [MatchTrue] ... is ... | -| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:16:14:18:9 | After if (...) ... | -| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:16:18:16:28 | After ... is ... [false] | -| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:16:18:16:28 | [MatchTrue] ... is ... | +| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:12:23:12:31 | After String s1 [no-match] | +| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:12:23:12:31 | [OuterPatternMatch] String s1 | | Patterns.cs:5:10:5:11 | Entry | Patterns.cs:20:9:38:9 | After switch (...) {...} | | Patterns.cs:5:10:5:11 | Entry | Patterns.cs:22:18:22:22 | After "xyz" [match] | | Patterns.cs:5:10:5:11 | Entry | Patterns.cs:22:18:22:22 | After "xyz" [no-match] | -| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:24:18:24:23 | After Int32 i2 [match] | | Patterns.cs:5:10:5:11 | Entry | Patterns.cs:24:18:24:23 | After Int32 i2 [no-match] | +| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:24:18:24:23 | [OuterPatternMatch] Int32 i2 | | Patterns.cs:5:10:5:11 | Entry | Patterns.cs:24:30:24:35 | After ... > ... [false] | | Patterns.cs:5:10:5:11 | Entry | Patterns.cs:24:30:24:35 | After ... > ... [true] | | Patterns.cs:5:10:5:11 | Entry | Patterns.cs:27:13:27:24 | case ...: | -| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:27:18:27:23 | After Int32 i3 [match] | | Patterns.cs:5:10:5:11 | Entry | Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | -| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:30:18:30:26 | After String s2 [match] | +| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:27:18:27:23 | [OuterPatternMatch] Int32 i3 | | Patterns.cs:5:10:5:11 | Entry | Patterns.cs:30:18:30:26 | After String s2 [no-match] | -| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:33:18:33:23 | After Object v2 [match] | -| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:33:18:33:23 | After Object v2 [no-match] | +| Patterns.cs:5:10:5:11 | Entry | Patterns.cs:30:18:30:26 | [OuterPatternMatch] String s2 | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:8:9:18:9 | After if (...) ... | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:20:9:38:9 | After switch (...) {...} | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:22:18:22:22 | After "xyz" [match] | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:22:18:22:22 | After "xyz" [no-match] | -| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:24:18:24:23 | After Int32 i2 [match] | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:24:18:24:23 | After Int32 i2 [no-match] | +| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:24:18:24:23 | [OuterPatternMatch] Int32 i2 | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:24:30:24:35 | After ... > ... [false] | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:24:30:24:35 | After ... > ... [true] | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:27:13:27:24 | case ...: | -| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:27:18:27:23 | After Int32 i3 [match] | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | -| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:30:18:30:26 | After String s2 [match] | +| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:27:18:27:23 | [OuterPatternMatch] Int32 i3 | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:30:18:30:26 | After String s2 [no-match] | -| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:33:18:33:23 | After Object v2 [match] | -| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:33:18:33:23 | After Object v2 [no-match] | -| Patterns.cs:8:13:8:23 | After ... is ... [false] | Patterns.cs:8:13:8:23 | After ... is ... [false] | -| Patterns.cs:8:13:8:23 | After ... is ... [false] | Patterns.cs:12:14:18:9 | After if (...) ... | -| Patterns.cs:8:13:8:23 | After ... is ... [false] | Patterns.cs:12:18:12:31 | After ... is ... [false] | -| Patterns.cs:8:13:8:23 | After ... is ... [false] | Patterns.cs:12:18:12:31 | [MatchTrue] ... is ... | -| Patterns.cs:8:13:8:23 | After ... is ... [false] | Patterns.cs:16:14:18:9 | After if (...) ... | -| Patterns.cs:8:13:8:23 | After ... is ... [false] | Patterns.cs:16:18:16:28 | After ... is ... [false] | -| Patterns.cs:8:13:8:23 | After ... is ... [false] | Patterns.cs:16:18:16:28 | [MatchTrue] ... is ... | -| Patterns.cs:8:13:8:23 | [MatchTrue] ... is ... | Patterns.cs:8:13:8:23 | [MatchTrue] ... is ... | +| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:30:18:30:26 | [OuterPatternMatch] String s2 | +| Patterns.cs:8:18:8:23 | After Int32 i1 [no-match] | Patterns.cs:8:18:8:23 | After Int32 i1 [no-match] | +| Patterns.cs:8:18:8:23 | After Int32 i1 [no-match] | Patterns.cs:12:14:18:9 | After if (...) ... | +| Patterns.cs:8:18:8:23 | After Int32 i1 [no-match] | Patterns.cs:12:23:12:31 | After String s1 [no-match] | +| Patterns.cs:8:18:8:23 | After Int32 i1 [no-match] | Patterns.cs:12:23:12:31 | [OuterPatternMatch] String s1 | +| Patterns.cs:8:18:8:23 | [OuterPatternMatch] Int32 i1 | Patterns.cs:8:18:8:23 | [OuterPatternMatch] Int32 i1 | | Patterns.cs:12:14:18:9 | After if (...) ... | Patterns.cs:12:14:18:9 | After if (...) ... | -| Patterns.cs:12:18:12:31 | After ... is ... [false] | Patterns.cs:12:18:12:31 | After ... is ... [false] | -| Patterns.cs:12:18:12:31 | After ... is ... [false] | Patterns.cs:16:14:18:9 | After if (...) ... | -| Patterns.cs:12:18:12:31 | After ... is ... [false] | Patterns.cs:16:18:16:28 | After ... is ... [false] | -| Patterns.cs:12:18:12:31 | After ... is ... [false] | Patterns.cs:16:18:16:28 | [MatchTrue] ... is ... | -| Patterns.cs:12:18:12:31 | [MatchTrue] ... is ... | Patterns.cs:12:18:12:31 | [MatchTrue] ... is ... | -| Patterns.cs:16:14:18:9 | After if (...) ... | Patterns.cs:16:14:18:9 | After if (...) ... | -| Patterns.cs:16:18:16:28 | After ... is ... [false] | Patterns.cs:16:18:16:28 | After ... is ... [false] | -| Patterns.cs:16:18:16:28 | [MatchTrue] ... is ... | Patterns.cs:16:18:16:28 | [MatchTrue] ... is ... | +| Patterns.cs:12:23:12:31 | After String s1 [no-match] | Patterns.cs:12:23:12:31 | After String s1 [no-match] | +| Patterns.cs:12:23:12:31 | [OuterPatternMatch] String s1 | Patterns.cs:12:23:12:31 | [OuterPatternMatch] String s1 | | Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:20:9:38:9 | After switch (...) {...} | | Patterns.cs:22:18:22:22 | After "xyz" [match] | Patterns.cs:22:18:22:22 | After "xyz" [match] | | Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:22:18:22:22 | After "xyz" [no-match] | -| Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:24:18:24:23 | After Int32 i2 [match] | | Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:24:18:24:23 | After Int32 i2 [no-match] | +| Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:24:18:24:23 | [OuterPatternMatch] Int32 i2 | | Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:24:30:24:35 | After ... > ... [false] | | Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:24:30:24:35 | After ... > ... [true] | | Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:27:13:27:24 | case ...: | -| Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:27:18:27:23 | After Int32 i3 [match] | | Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | -| Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:30:18:30:26 | After String s2 [match] | +| Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:27:18:27:23 | [OuterPatternMatch] Int32 i3 | | Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:30:18:30:26 | After String s2 [no-match] | -| Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:33:18:33:23 | After Object v2 [match] | -| Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:33:18:33:23 | After Object v2 [no-match] | -| Patterns.cs:24:18:24:23 | After Int32 i2 [match] | Patterns.cs:24:18:24:23 | After Int32 i2 [match] | -| Patterns.cs:24:18:24:23 | After Int32 i2 [match] | Patterns.cs:24:30:24:35 | After ... > ... [false] | -| Patterns.cs:24:18:24:23 | After Int32 i2 [match] | Patterns.cs:24:30:24:35 | After ... > ... [true] | +| Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:30:18:30:26 | [OuterPatternMatch] String s2 | | Patterns.cs:24:18:24:23 | After Int32 i2 [no-match] | Patterns.cs:24:18:24:23 | After Int32 i2 [no-match] | +| Patterns.cs:24:18:24:23 | [OuterPatternMatch] Int32 i2 | Patterns.cs:24:18:24:23 | [OuterPatternMatch] Int32 i2 | +| Patterns.cs:24:18:24:23 | [OuterPatternMatch] Int32 i2 | Patterns.cs:24:30:24:35 | After ... > ... [false] | +| Patterns.cs:24:18:24:23 | [OuterPatternMatch] Int32 i2 | Patterns.cs:24:30:24:35 | After ... > ... [true] | | Patterns.cs:24:30:24:35 | After ... > ... [false] | Patterns.cs:24:30:24:35 | After ... > ... [false] | | Patterns.cs:24:30:24:35 | After ... > ... [true] | Patterns.cs:24:30:24:35 | After ... > ... [true] | | Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:27:13:27:24 | case ...: | -| Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:27:18:27:23 | After Int32 i3 [match] | | Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | -| Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:30:18:30:26 | After String s2 [match] | +| Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:27:18:27:23 | [OuterPatternMatch] Int32 i3 | | Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:30:18:30:26 | After String s2 [no-match] | -| Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:33:18:33:23 | After Object v2 [match] | -| Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:33:18:33:23 | After Object v2 [no-match] | -| Patterns.cs:27:18:27:23 | After Int32 i3 [match] | Patterns.cs:27:18:27:23 | After Int32 i3 [match] | +| Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:30:18:30:26 | [OuterPatternMatch] String s2 | | Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | -| Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | Patterns.cs:30:18:30:26 | After String s2 [match] | | Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | Patterns.cs:30:18:30:26 | After String s2 [no-match] | -| Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | Patterns.cs:33:18:33:23 | After Object v2 [match] | -| Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | Patterns.cs:33:18:33:23 | After Object v2 [no-match] | -| Patterns.cs:30:18:30:26 | After String s2 [match] | Patterns.cs:30:18:30:26 | After String s2 [match] | +| Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | Patterns.cs:30:18:30:26 | [OuterPatternMatch] String s2 | +| Patterns.cs:27:18:27:23 | [OuterPatternMatch] Int32 i3 | Patterns.cs:27:18:27:23 | [OuterPatternMatch] Int32 i3 | | Patterns.cs:30:18:30:26 | After String s2 [no-match] | Patterns.cs:30:18:30:26 | After String s2 [no-match] | -| Patterns.cs:30:18:30:26 | After String s2 [no-match] | Patterns.cs:33:18:33:23 | After Object v2 [match] | -| Patterns.cs:30:18:30:26 | After String s2 [no-match] | Patterns.cs:33:18:33:23 | After Object v2 [no-match] | -| Patterns.cs:33:18:33:23 | After Object v2 [match] | Patterns.cs:33:18:33:23 | After Object v2 [match] | -| Patterns.cs:33:18:33:23 | After Object v2 [no-match] | Patterns.cs:33:18:33:23 | After Object v2 [no-match] | +| Patterns.cs:30:18:30:26 | [OuterPatternMatch] String s2 | Patterns.cs:30:18:30:26 | [OuterPatternMatch] String s2 | | Patterns.cs:47:24:47:25 | Entry | Patterns.cs:47:24:47:25 | Entry | | Patterns.cs:47:24:47:25 | Entry | Patterns.cs:48:9:48:20 | After ... is ... | -| Patterns.cs:47:24:47:25 | Entry | Patterns.cs:48:9:48:20 | [MatchTrue] ... is ... | +| Patterns.cs:47:24:47:25 | Entry | Patterns.cs:48:18:48:20 | After a [match] | +| Patterns.cs:47:24:47:25 | Entry | Patterns.cs:48:18:48:20 | After a [no-match] | | Patterns.cs:48:9:48:20 | After ... is ... | Patterns.cs:48:9:48:20 | After ... is ... | -| Patterns.cs:48:9:48:20 | [MatchTrue] ... is ... | Patterns.cs:48:9:48:20 | [MatchTrue] ... is ... | +| Patterns.cs:48:18:48:20 | After a [match] | Patterns.cs:48:18:48:20 | After a [match] | +| Patterns.cs:48:18:48:20 | After a [no-match] | Patterns.cs:48:18:48:20 | After a [no-match] | | Patterns.cs:50:24:50:25 | Entry | Patterns.cs:50:24:50:25 | Entry | -| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:9:51:21 | After ... is ... [false] | -| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:9:51:21 | [MatchTrue] ... is ... | | Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:9:51:39 | After ... ? ... : ... | +| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:18:51:21 | After null [match] | +| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:18:51:21 | After null [no-match] | | Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:25:51:30 | After ... is ... | -| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:25:51:30 | [MatchTrue] ... is ... | +| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:30:51:30 | After 1 [match] | +| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:30:51:30 | After 1 [no-match] | | Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:34:51:39 | After ... is ... | -| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:34:51:39 | [MatchTrue] ... is ... | -| Patterns.cs:51:9:51:21 | After ... is ... [false] | Patterns.cs:51:9:51:21 | After ... is ... [false] | -| Patterns.cs:51:9:51:21 | After ... is ... [false] | Patterns.cs:51:34:51:39 | After ... is ... | -| Patterns.cs:51:9:51:21 | After ... is ... [false] | Patterns.cs:51:34:51:39 | [MatchTrue] ... is ... | -| Patterns.cs:51:9:51:21 | [MatchTrue] ... is ... | Patterns.cs:51:9:51:21 | [MatchTrue] ... is ... | -| Patterns.cs:51:9:51:21 | [MatchTrue] ... is ... | Patterns.cs:51:25:51:30 | After ... is ... | -| Patterns.cs:51:9:51:21 | [MatchTrue] ... is ... | Patterns.cs:51:25:51:30 | [MatchTrue] ... is ... | +| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:39:51:39 | After 2 [match] | +| Patterns.cs:50:24:50:25 | Entry | Patterns.cs:51:39:51:39 | After 2 [no-match] | | Patterns.cs:51:9:51:39 | After ... ? ... : ... | Patterns.cs:51:9:51:39 | After ... ? ... : ... | +| Patterns.cs:51:18:51:21 | After null [match] | Patterns.cs:51:18:51:21 | After null [match] | +| Patterns.cs:51:18:51:21 | After null [match] | Patterns.cs:51:34:51:39 | After ... is ... | +| Patterns.cs:51:18:51:21 | After null [match] | Patterns.cs:51:39:51:39 | After 2 [match] | +| Patterns.cs:51:18:51:21 | After null [match] | Patterns.cs:51:39:51:39 | After 2 [no-match] | +| Patterns.cs:51:18:51:21 | After null [no-match] | Patterns.cs:51:18:51:21 | After null [no-match] | +| Patterns.cs:51:18:51:21 | After null [no-match] | Patterns.cs:51:25:51:30 | After ... is ... | +| Patterns.cs:51:18:51:21 | After null [no-match] | Patterns.cs:51:30:51:30 | After 1 [match] | +| Patterns.cs:51:18:51:21 | After null [no-match] | Patterns.cs:51:30:51:30 | After 1 [no-match] | | Patterns.cs:51:25:51:30 | After ... is ... | Patterns.cs:51:25:51:30 | After ... is ... | -| Patterns.cs:51:25:51:30 | [MatchTrue] ... is ... | Patterns.cs:51:25:51:30 | [MatchTrue] ... is ... | +| Patterns.cs:51:30:51:30 | After 1 [match] | Patterns.cs:51:30:51:30 | After 1 [match] | +| Patterns.cs:51:30:51:30 | After 1 [no-match] | Patterns.cs:51:30:51:30 | After 1 [no-match] | | Patterns.cs:51:34:51:39 | After ... is ... | Patterns.cs:51:34:51:39 | After ... is ... | -| Patterns.cs:51:34:51:39 | [MatchTrue] ... is ... | Patterns.cs:51:34:51:39 | [MatchTrue] ... is ... | +| Patterns.cs:51:39:51:39 | After 2 [match] | Patterns.cs:51:39:51:39 | After 2 [match] | +| Patterns.cs:51:39:51:39 | After 2 [no-match] | Patterns.cs:51:39:51:39 | After 2 [no-match] | | Patterns.cs:53:24:53:25 | Entry | Patterns.cs:53:24:53:25 | Entry | | Patterns.cs:53:24:53:25 | Entry | Patterns.cs:54:9:54:37 | After ... is ... | -| Patterns.cs:53:24:53:25 | Entry | Patterns.cs:54:9:54:37 | [MatchTrue] ... is ... | +| Patterns.cs:53:24:53:25 | Entry | Patterns.cs:54:18:54:25 | After access to type Patterns [match] | +| Patterns.cs:53:24:53:25 | Entry | Patterns.cs:54:18:54:25 | After access to type Patterns [no-match] | +| Patterns.cs:53:24:53:25 | Entry | Patterns.cs:54:18:54:37 | After { ... } [no-match] | +| Patterns.cs:53:24:53:25 | Entry | Patterns.cs:54:27:54:35 | After { ... } [no-match] | +| Patterns.cs:53:24:53:25 | Entry | Patterns.cs:54:27:54:35 | [OuterPatternMatch] { ... } | +| Patterns.cs:53:24:53:25 | Entry | Patterns.cs:54:33:54:33 | After 1 [match] | +| Patterns.cs:53:24:53:25 | Entry | Patterns.cs:54:33:54:33 | After 1 [no-match] | | Patterns.cs:54:9:54:37 | After ... is ... | Patterns.cs:54:9:54:37 | After ... is ... | -| Patterns.cs:54:9:54:37 | [MatchTrue] ... is ... | Patterns.cs:54:9:54:37 | [MatchTrue] ... is ... | +| Patterns.cs:54:18:54:25 | After access to type Patterns [match] | Patterns.cs:54:18:54:25 | After access to type Patterns [match] | +| Patterns.cs:54:18:54:25 | After access to type Patterns [match] | Patterns.cs:54:27:54:35 | After { ... } [no-match] | +| Patterns.cs:54:18:54:25 | After access to type Patterns [match] | Patterns.cs:54:27:54:35 | [OuterPatternMatch] { ... } | +| Patterns.cs:54:18:54:25 | After access to type Patterns [match] | Patterns.cs:54:33:54:33 | After 1 [match] | +| Patterns.cs:54:18:54:25 | After access to type Patterns [match] | Patterns.cs:54:33:54:33 | After 1 [no-match] | +| Patterns.cs:54:18:54:25 | After access to type Patterns [no-match] | Patterns.cs:54:18:54:25 | After access to type Patterns [no-match] | +| Patterns.cs:54:18:54:37 | After { ... } [no-match] | Patterns.cs:54:18:54:37 | After { ... } [no-match] | +| Patterns.cs:54:27:54:35 | After { ... } [no-match] | Patterns.cs:54:27:54:35 | After { ... } [no-match] | +| Patterns.cs:54:27:54:35 | [OuterPatternMatch] { ... } | Patterns.cs:54:27:54:35 | [OuterPatternMatch] { ... } | +| Patterns.cs:54:27:54:35 | [OuterPatternMatch] { ... } | Patterns.cs:54:33:54:33 | After 1 [match] | +| Patterns.cs:54:27:54:35 | [OuterPatternMatch] { ... } | Patterns.cs:54:33:54:33 | After 1 [no-match] | +| Patterns.cs:54:33:54:33 | After 1 [match] | Patterns.cs:54:33:54:33 | After 1 [match] | +| Patterns.cs:54:33:54:33 | After 1 [no-match] | Patterns.cs:54:33:54:33 | After 1 [no-match] | | Patterns.cs:56:26:56:27 | Entry | Patterns.cs:56:26:56:27 | Entry | | Patterns.cs:56:26:56:27 | Entry | Patterns.cs:58:16:62:9 | After ... switch { ... } | -| Patterns.cs:56:26:56:27 | Entry | Patterns.cs:60:13:60:17 | After not ... [match] | -| Patterns.cs:56:26:56:27 | Entry | Patterns.cs:60:13:60:17 | After not ... [no-match] | +| Patterns.cs:56:26:56:27 | Entry | Patterns.cs:60:17:60:17 | After 1 [match] | +| Patterns.cs:56:26:56:27 | Entry | Patterns.cs:60:17:60:17 | After 1 [no-match] | | Patterns.cs:58:16:62:9 | After ... switch { ... } | Patterns.cs:58:16:62:9 | After ... switch { ... } | -| Patterns.cs:60:13:60:17 | After not ... [match] | Patterns.cs:60:13:60:17 | After not ... [match] | -| Patterns.cs:60:13:60:17 | After not ... [no-match] | Patterns.cs:60:13:60:17 | After not ... [no-match] | +| Patterns.cs:60:17:60:17 | After 1 [match] | Patterns.cs:60:17:60:17 | After 1 [match] | +| Patterns.cs:60:17:60:17 | After 1 [no-match] | Patterns.cs:60:17:60:17 | After 1 [no-match] | | Patterns.cs:65:26:65:27 | Entry | Patterns.cs:65:26:65:27 | Entry | | Patterns.cs:65:26:65:27 | Entry | Patterns.cs:67:16:71:9 | After ... switch { ... } | -| Patterns.cs:65:26:65:27 | Entry | Patterns.cs:69:13:69:17 | After not ... [match] | -| Patterns.cs:65:26:65:27 | Entry | Patterns.cs:69:13:69:17 | After not ... [no-match] | +| Patterns.cs:65:26:65:27 | Entry | Patterns.cs:69:17:69:17 | After 2 [match] | +| Patterns.cs:65:26:65:27 | Entry | Patterns.cs:69:17:69:17 | After 2 [no-match] | | Patterns.cs:65:26:65:27 | Entry | Patterns.cs:70:13:70:13 | After 2 [match] | | Patterns.cs:65:26:65:27 | Entry | Patterns.cs:70:13:70:13 | After 2 [no-match] | | Patterns.cs:67:16:71:9 | After ... switch { ... } | Patterns.cs:67:16:71:9 | After ... switch { ... } | -| Patterns.cs:69:13:69:17 | After not ... [match] | Patterns.cs:69:13:69:17 | After not ... [match] | -| Patterns.cs:69:13:69:17 | After not ... [no-match] | Patterns.cs:69:13:69:17 | After not ... [no-match] | -| Patterns.cs:69:13:69:17 | After not ... [no-match] | Patterns.cs:70:13:70:13 | After 2 [match] | -| Patterns.cs:69:13:69:17 | After not ... [no-match] | Patterns.cs:70:13:70:13 | After 2 [no-match] | +| Patterns.cs:69:17:69:17 | After 2 [match] | Patterns.cs:69:17:69:17 | After 2 [match] | +| Patterns.cs:69:17:69:17 | After 2 [match] | Patterns.cs:70:13:70:13 | After 2 [match] | +| Patterns.cs:69:17:69:17 | After 2 [match] | Patterns.cs:70:13:70:13 | After 2 [no-match] | +| Patterns.cs:69:17:69:17 | After 2 [no-match] | Patterns.cs:69:17:69:17 | After 2 [no-match] | | Patterns.cs:70:13:70:13 | After 2 [match] | Patterns.cs:70:13:70:13 | After 2 [match] | | Patterns.cs:70:13:70:13 | After 2 [no-match] | Patterns.cs:70:13:70:13 | After 2 [no-match] | | Patterns.cs:74:26:74:27 | Entry | Patterns.cs:74:26:74:27 | Entry | @@ -19044,42 +19045,75 @@ blockDominance | Patterns.cs:80:13:80:13 | After 1 [match] | Patterns.cs:80:13:80:13 | After 1 [match] | | Patterns.cs:80:13:80:13 | After 1 [no-match] | Patterns.cs:80:13:80:13 | After 1 [no-match] | | Patterns.cs:85:26:85:27 | Entry | Patterns.cs:85:26:85:27 | Entry | -| Patterns.cs:85:26:85:27 | Entry | Patterns.cs:85:39:85:53 | After ... is ... [false] | -| Patterns.cs:85:26:85:27 | Entry | Patterns.cs:85:39:85:53 | [MatchTrue] ... is ... | | Patterns.cs:85:26:85:27 | Entry | Patterns.cs:85:39:85:69 | After ... ? ... : ... | -| Patterns.cs:85:39:85:53 | After ... is ... [false] | Patterns.cs:85:39:85:53 | After ... is ... [false] | -| Patterns.cs:85:39:85:53 | [MatchTrue] ... is ... | Patterns.cs:85:39:85:53 | [MatchTrue] ... is ... | +| Patterns.cs:85:26:85:27 | Entry | Patterns.cs:85:44:85:44 | After 1 [match] | +| Patterns.cs:85:26:85:27 | Entry | Patterns.cs:85:44:85:44 | After 1 [no-match] | +| Patterns.cs:85:26:85:27 | Entry | Patterns.cs:85:44:85:53 | After ... or ... [match] | +| Patterns.cs:85:26:85:27 | Entry | Patterns.cs:85:53:85:53 | After 2 [match] | +| Patterns.cs:85:26:85:27 | Entry | Patterns.cs:85:53:85:53 | After 2 [no-match] | | Patterns.cs:85:39:85:69 | After ... ? ... : ... | Patterns.cs:85:39:85:69 | After ... ? ... : ... | +| Patterns.cs:85:44:85:44 | After 1 [match] | Patterns.cs:85:44:85:44 | After 1 [match] | +| Patterns.cs:85:44:85:44 | After 1 [no-match] | Patterns.cs:85:44:85:44 | After 1 [no-match] | +| Patterns.cs:85:44:85:44 | After 1 [no-match] | Patterns.cs:85:53:85:53 | After 2 [match] | +| Patterns.cs:85:44:85:44 | After 1 [no-match] | Patterns.cs:85:53:85:53 | After 2 [no-match] | +| Patterns.cs:85:44:85:53 | After ... or ... [match] | Patterns.cs:85:44:85:53 | After ... or ... [match] | +| Patterns.cs:85:53:85:53 | After 2 [match] | Patterns.cs:85:53:85:53 | After 2 [match] | +| Patterns.cs:85:53:85:53 | After 2 [no-match] | Patterns.cs:85:53:85:53 | After 2 [no-match] | | Patterns.cs:87:26:87:27 | Entry | Patterns.cs:87:26:87:27 | Entry | -| Patterns.cs:87:26:87:27 | Entry | Patterns.cs:87:39:87:54 | After ... is ... [false] | -| Patterns.cs:87:26:87:27 | Entry | Patterns.cs:87:39:87:54 | [MatchTrue] ... is ... | | Patterns.cs:87:26:87:27 | Entry | Patterns.cs:87:39:87:70 | After ... ? ... : ... | -| Patterns.cs:87:39:87:54 | After ... is ... [false] | Patterns.cs:87:39:87:54 | After ... is ... [false] | -| Patterns.cs:87:39:87:54 | [MatchTrue] ... is ... | Patterns.cs:87:39:87:54 | [MatchTrue] ... is ... | +| Patterns.cs:87:26:87:27 | Entry | Patterns.cs:87:44:87:44 | After 1 [match] | +| Patterns.cs:87:26:87:27 | Entry | Patterns.cs:87:44:87:44 | After 1 [no-match] | +| Patterns.cs:87:26:87:27 | Entry | Patterns.cs:87:44:87:54 | After ... and ... [no-match] | +| Patterns.cs:87:26:87:27 | Entry | Patterns.cs:87:54:87:54 | After 2 [match] | +| Patterns.cs:87:26:87:27 | Entry | Patterns.cs:87:54:87:54 | After 2 [no-match] | | Patterns.cs:87:39:87:70 | After ... ? ... : ... | Patterns.cs:87:39:87:70 | After ... ? ... : ... | +| Patterns.cs:87:44:87:44 | After 1 [match] | Patterns.cs:87:44:87:44 | After 1 [match] | +| Patterns.cs:87:44:87:44 | After 1 [match] | Patterns.cs:87:54:87:54 | After 2 [match] | +| Patterns.cs:87:44:87:44 | After 1 [match] | Patterns.cs:87:54:87:54 | After 2 [no-match] | +| Patterns.cs:87:44:87:44 | After 1 [no-match] | Patterns.cs:87:44:87:44 | After 1 [no-match] | +| Patterns.cs:87:44:87:54 | After ... and ... [no-match] | Patterns.cs:87:44:87:54 | After ... and ... [no-match] | +| Patterns.cs:87:54:87:54 | After 2 [match] | Patterns.cs:87:54:87:54 | After 2 [match] | +| Patterns.cs:87:54:87:54 | After 2 [no-match] | Patterns.cs:87:54:87:54 | After 2 [no-match] | | Patterns.cs:93:17:93:19 | Entry | Patterns.cs:93:17:93:19 | Entry | | Patterns.cs:93:17:93:19 | Entry | Patterns.cs:95:9:98:9 | After if (...) ... | -| Patterns.cs:93:17:93:19 | Entry | Patterns.cs:95:13:95:40 | After ... is ... [false] | -| Patterns.cs:93:17:93:19 | Entry | Patterns.cs:95:13:95:40 | [MatchTrue] ... is ... | +| Patterns.cs:93:17:93:19 | Entry | Patterns.cs:95:21:95:40 | After { ... } [no-match] | +| Patterns.cs:93:17:93:19 | Entry | Patterns.cs:95:21:95:40 | [OuterPatternMatch] { ... } | +| Patterns.cs:93:17:93:19 | Entry | Patterns.cs:95:29:95:31 | After access to constant A [match] | +| Patterns.cs:93:17:93:19 | Entry | Patterns.cs:95:29:95:31 | After access to constant A [no-match] | +| Patterns.cs:93:17:93:19 | Entry | Patterns.cs:95:29:95:38 | After ... or ... [match] | +| Patterns.cs:93:17:93:19 | Entry | Patterns.cs:95:36:95:38 | After access to constant B [match] | +| Patterns.cs:93:17:93:19 | Entry | Patterns.cs:95:36:95:38 | After access to constant B [no-match] | | Patterns.cs:95:9:98:9 | After if (...) ... | Patterns.cs:95:9:98:9 | After if (...) ... | -| Patterns.cs:95:13:95:40 | After ... is ... [false] | Patterns.cs:95:13:95:40 | After ... is ... [false] | -| Patterns.cs:95:13:95:40 | [MatchTrue] ... is ... | Patterns.cs:95:13:95:40 | [MatchTrue] ... is ... | +| Patterns.cs:95:21:95:40 | After { ... } [no-match] | Patterns.cs:95:21:95:40 | After { ... } [no-match] | +| Patterns.cs:95:21:95:40 | [OuterPatternMatch] { ... } | Patterns.cs:95:21:95:40 | [OuterPatternMatch] { ... } | +| Patterns.cs:95:21:95:40 | [OuterPatternMatch] { ... } | Patterns.cs:95:29:95:31 | After access to constant A [match] | +| Patterns.cs:95:21:95:40 | [OuterPatternMatch] { ... } | Patterns.cs:95:29:95:31 | After access to constant A [no-match] | +| Patterns.cs:95:21:95:40 | [OuterPatternMatch] { ... } | Patterns.cs:95:29:95:38 | After ... or ... [match] | +| Patterns.cs:95:21:95:40 | [OuterPatternMatch] { ... } | Patterns.cs:95:36:95:38 | After access to constant B [match] | +| Patterns.cs:95:21:95:40 | [OuterPatternMatch] { ... } | Patterns.cs:95:36:95:38 | After access to constant B [no-match] | +| Patterns.cs:95:29:95:31 | After access to constant A [match] | Patterns.cs:95:29:95:31 | After access to constant A [match] | +| Patterns.cs:95:29:95:31 | After access to constant A [no-match] | Patterns.cs:95:29:95:31 | After access to constant A [no-match] | +| Patterns.cs:95:29:95:31 | After access to constant A [no-match] | Patterns.cs:95:36:95:38 | After access to constant B [match] | +| Patterns.cs:95:29:95:31 | After access to constant A [no-match] | Patterns.cs:95:36:95:38 | After access to constant B [no-match] | +| Patterns.cs:95:29:95:38 | After ... or ... [match] | Patterns.cs:95:29:95:38 | After ... or ... [match] | +| Patterns.cs:95:36:95:38 | After access to constant B [match] | Patterns.cs:95:36:95:38 | After access to constant B [match] | +| Patterns.cs:95:36:95:38 | After access to constant B [no-match] | Patterns.cs:95:36:95:38 | After access to constant B [no-match] | | PostDominance.cs:3:7:3:19 | Entry | PostDominance.cs:3:7:3:19 | Entry | | PostDominance.cs:5:10:5:11 | Entry | PostDominance.cs:5:10:5:11 | Entry | | PostDominance.cs:10:10:10:11 | Entry | PostDominance.cs:10:10:10:11 | Entry | | PostDominance.cs:10:10:10:11 | Entry | PostDominance.cs:10:10:10:11 | Normal Exit | -| PostDominance.cs:10:10:10:11 | Entry | PostDominance.cs:12:13:12:21 | After ... is ... [false] | -| PostDominance.cs:10:10:10:11 | Entry | PostDominance.cs:12:13:12:21 | [MatchTrue] ... is ... | +| PostDominance.cs:10:10:10:11 | Entry | PostDominance.cs:12:18:12:21 | After null [match] | +| PostDominance.cs:10:10:10:11 | Entry | PostDominance.cs:12:18:12:21 | After null [no-match] | | PostDominance.cs:10:10:10:11 | Normal Exit | PostDominance.cs:10:10:10:11 | Normal Exit | -| PostDominance.cs:12:13:12:21 | After ... is ... [false] | PostDominance.cs:12:13:12:21 | After ... is ... [false] | -| PostDominance.cs:12:13:12:21 | [MatchTrue] ... is ... | PostDominance.cs:12:13:12:21 | [MatchTrue] ... is ... | +| PostDominance.cs:12:18:12:21 | After null [match] | PostDominance.cs:12:18:12:21 | After null [match] | +| PostDominance.cs:12:18:12:21 | After null [no-match] | PostDominance.cs:12:18:12:21 | After null [no-match] | | PostDominance.cs:17:10:17:11 | Entry | PostDominance.cs:17:10:17:11 | Entry | | PostDominance.cs:17:10:17:11 | Entry | PostDominance.cs:17:10:17:11 | Exit | -| PostDominance.cs:17:10:17:11 | Entry | PostDominance.cs:19:13:19:21 | After ... is ... [false] | -| PostDominance.cs:17:10:17:11 | Entry | PostDominance.cs:19:13:19:21 | [MatchTrue] ... is ... | +| PostDominance.cs:17:10:17:11 | Entry | PostDominance.cs:19:18:19:21 | After null [match] | +| PostDominance.cs:17:10:17:11 | Entry | PostDominance.cs:19:18:19:21 | After null [no-match] | | PostDominance.cs:17:10:17:11 | Exit | PostDominance.cs:17:10:17:11 | Exit | -| PostDominance.cs:19:13:19:21 | After ... is ... [false] | PostDominance.cs:19:13:19:21 | After ... is ... [false] | -| PostDominance.cs:19:13:19:21 | [MatchTrue] ... is ... | PostDominance.cs:19:13:19:21 | [MatchTrue] ... is ... | +| PostDominance.cs:19:18:19:21 | After null [match] | PostDominance.cs:19:18:19:21 | After null [match] | +| PostDominance.cs:19:18:19:21 | After null [no-match] | PostDominance.cs:19:18:19:21 | After null [no-match] | | Qualifiers.cs:1:7:1:16 | Entry | Qualifiers.cs:1:7:1:16 | Entry | | Qualifiers.cs:7:16:7:21 | Entry | Qualifiers.cs:7:16:7:21 | Entry | | Qualifiers.cs:8:23:8:34 | Entry | Qualifiers.cs:8:23:8:34 | Entry | @@ -19097,20 +19131,20 @@ blockDominance | Switch.cs:10:10:10:11 | Entry | Switch.cs:16:18:16:18 | After 0 [no-match] | | Switch.cs:10:10:10:11 | Entry | Switch.cs:18:18:18:21 | After null [match] | | Switch.cs:10:10:10:11 | Entry | Switch.cs:18:18:18:21 | After null [no-match] | -| Switch.cs:10:10:10:11 | Entry | Switch.cs:20:18:20:22 | After Int32 i [match] | | Switch.cs:10:10:10:11 | Entry | Switch.cs:20:18:20:22 | After Int32 i [no-match] | +| Switch.cs:10:10:10:11 | Entry | Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | | Switch.cs:10:10:10:11 | Entry | Switch.cs:21:21:21:29 | After ... == ... [false] | | Switch.cs:10:10:10:11 | Entry | Switch.cs:21:21:21:29 | After ... == ... [true] | -| Switch.cs:10:10:10:11 | Entry | Switch.cs:24:18:24:25 | After String s [match] | | Switch.cs:10:10:10:11 | Entry | Switch.cs:24:18:24:25 | After String s [no-match] | +| Switch.cs:10:10:10:11 | Entry | Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | | Switch.cs:10:10:10:11 | Entry | Switch.cs:24:32:24:43 | After ... > ... [false] | | Switch.cs:10:10:10:11 | Entry | Switch.cs:24:32:24:43 | After ... > ... [true] | | Switch.cs:10:10:10:11 | Entry | Switch.cs:24:32:24:55 | After ... && ... [false] | | Switch.cs:10:10:10:11 | Entry | Switch.cs:24:48:24:55 | After ... != ... [false] | | Switch.cs:10:10:10:11 | Entry | Switch.cs:24:48:24:55 | After ... != ... [true] | | Switch.cs:10:10:10:11 | Entry | Switch.cs:27:13:27:39 | case ...: | -| Switch.cs:10:10:10:11 | Entry | Switch.cs:27:18:27:25 | After Double d [match] | | Switch.cs:10:10:10:11 | Entry | Switch.cs:27:18:27:25 | After Double d [no-match] | +| Switch.cs:10:10:10:11 | Entry | Switch.cs:27:18:27:25 | [OuterPatternMatch] Double d | | Switch.cs:10:10:10:11 | Entry | Switch.cs:30:13:30:20 | After default: [match] | | Switch.cs:10:10:10:11 | Exceptional Exit | Switch.cs:10:10:10:11 | Exceptional Exit | | Switch.cs:10:10:10:11 | Exit | Switch.cs:10:10:10:11 | Exit | @@ -19123,80 +19157,80 @@ blockDominance | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:16:18:16:18 | After 0 [no-match] | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:18:18:18:21 | After null [match] | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:18:18:18:21 | After null [no-match] | -| Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:20:18:20:22 | After Int32 i [match] | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:20:18:20:22 | After Int32 i [no-match] | +| Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:21:21:21:29 | After ... == ... [false] | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:21:21:21:29 | After ... == ... [true] | -| Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:24:18:24:25 | After String s [match] | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:24:18:24:25 | After String s [no-match] | +| Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:24:32:24:43 | After ... > ... [false] | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:24:32:24:43 | After ... > ... [true] | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:24:32:24:55 | After ... && ... [false] | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:24:48:24:55 | After ... != ... [false] | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:24:48:24:55 | After ... != ... [true] | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:27:13:27:39 | case ...: | -| Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:27:18:27:25 | After Double d [match] | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:27:18:27:25 | After Double d [no-match] | +| Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:27:18:27:25 | [OuterPatternMatch] Double d | | Switch.cs:14:18:14:20 | After "a" [no-match] | Switch.cs:30:13:30:20 | After default: [match] | | Switch.cs:16:13:16:19 | After case ...: [match] | Switch.cs:16:13:16:19 | After case ...: [match] | | Switch.cs:16:18:16:18 | After 0 [match] | Switch.cs:16:18:16:18 | After 0 [match] | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:16:18:16:18 | After 0 [no-match] | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:18:18:18:21 | After null [match] | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:18:18:18:21 | After null [no-match] | -| Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:20:18:20:22 | After Int32 i [match] | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:20:18:20:22 | After Int32 i [no-match] | +| Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:21:21:21:29 | After ... == ... [false] | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:21:21:21:29 | After ... == ... [true] | -| Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:24:18:24:25 | After String s [match] | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:24:18:24:25 | After String s [no-match] | +| Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:24:32:24:43 | After ... > ... [false] | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:24:32:24:43 | After ... > ... [true] | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:24:32:24:55 | After ... && ... [false] | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:24:48:24:55 | After ... != ... [false] | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:24:48:24:55 | After ... != ... [true] | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:27:13:27:39 | case ...: | -| Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:27:18:27:25 | After Double d [match] | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:27:18:27:25 | After Double d [no-match] | +| Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:27:18:27:25 | [OuterPatternMatch] Double d | | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:30:13:30:20 | After default: [match] | | Switch.cs:18:18:18:21 | After null [match] | Switch.cs:18:18:18:21 | After null [match] | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:18:18:18:21 | After null [no-match] | -| Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:20:18:20:22 | After Int32 i [match] | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:20:18:20:22 | After Int32 i [no-match] | +| Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:21:21:21:29 | After ... == ... [false] | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:21:21:21:29 | After ... == ... [true] | -| Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:24:18:24:25 | After String s [match] | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:24:18:24:25 | After String s [no-match] | +| Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:24:32:24:43 | After ... > ... [false] | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:24:32:24:43 | After ... > ... [true] | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:24:32:24:55 | After ... && ... [false] | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:24:48:24:55 | After ... != ... [false] | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:24:48:24:55 | After ... != ... [true] | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:27:13:27:39 | case ...: | -| Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:27:18:27:25 | After Double d [match] | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:27:18:27:25 | After Double d [no-match] | -| Switch.cs:20:18:20:22 | After Int32 i [match] | Switch.cs:20:18:20:22 | After Int32 i [match] | -| Switch.cs:20:18:20:22 | After Int32 i [match] | Switch.cs:21:21:21:29 | After ... == ... [false] | -| Switch.cs:20:18:20:22 | After Int32 i [match] | Switch.cs:21:21:21:29 | After ... == ... [true] | +| Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:27:18:27:25 | [OuterPatternMatch] Double d | | Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:20:18:20:22 | After Int32 i [no-match] | -| Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:24:18:24:25 | After String s [match] | | Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:24:18:24:25 | After String s [no-match] | +| Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | | Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:24:32:24:43 | After ... > ... [false] | | Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:24:32:24:43 | After ... > ... [true] | | Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:24:32:24:55 | After ... && ... [false] | | Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:24:48:24:55 | After ... != ... [false] | | Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:24:48:24:55 | After ... != ... [true] | | Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:27:13:27:39 | case ...: | -| Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:27:18:27:25 | After Double d [match] | | Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:27:18:27:25 | After Double d [no-match] | +| Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:27:18:27:25 | [OuterPatternMatch] Double d | +| Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | +| Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | Switch.cs:21:21:21:29 | After ... == ... [false] | +| Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | Switch.cs:21:21:21:29 | After ... == ... [true] | | Switch.cs:21:21:21:29 | After ... == ... [false] | Switch.cs:21:21:21:29 | After ... == ... [false] | | Switch.cs:21:21:21:29 | After ... == ... [true] | Switch.cs:21:21:21:29 | After ... == ... [true] | -| Switch.cs:24:18:24:25 | After String s [match] | Switch.cs:24:18:24:25 | After String s [match] | -| Switch.cs:24:18:24:25 | After String s [match] | Switch.cs:24:32:24:43 | After ... > ... [false] | -| Switch.cs:24:18:24:25 | After String s [match] | Switch.cs:24:32:24:43 | After ... > ... [true] | -| Switch.cs:24:18:24:25 | After String s [match] | Switch.cs:24:32:24:55 | After ... && ... [false] | -| Switch.cs:24:18:24:25 | After String s [match] | Switch.cs:24:48:24:55 | After ... != ... [false] | -| Switch.cs:24:18:24:25 | After String s [match] | Switch.cs:24:48:24:55 | After ... != ... [true] | | Switch.cs:24:18:24:25 | After String s [no-match] | Switch.cs:24:18:24:25 | After String s [no-match] | +| Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | +| Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | Switch.cs:24:32:24:43 | After ... > ... [false] | +| Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | Switch.cs:24:32:24:43 | After ... > ... [true] | +| Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | Switch.cs:24:32:24:55 | After ... && ... [false] | +| Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | Switch.cs:24:48:24:55 | After ... != ... [false] | +| Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | Switch.cs:24:48:24:55 | After ... != ... [true] | | Switch.cs:24:32:24:43 | After ... > ... [false] | Switch.cs:24:32:24:43 | After ... > ... [false] | | Switch.cs:24:32:24:43 | After ... > ... [true] | Switch.cs:24:32:24:43 | After ... > ... [true] | | Switch.cs:24:32:24:43 | After ... > ... [true] | Switch.cs:24:48:24:55 | After ... != ... [false] | @@ -19205,10 +19239,10 @@ blockDominance | Switch.cs:24:48:24:55 | After ... != ... [false] | Switch.cs:24:48:24:55 | After ... != ... [false] | | Switch.cs:24:48:24:55 | After ... != ... [true] | Switch.cs:24:48:24:55 | After ... != ... [true] | | Switch.cs:27:13:27:39 | case ...: | Switch.cs:27:13:27:39 | case ...: | -| Switch.cs:27:13:27:39 | case ...: | Switch.cs:27:18:27:25 | After Double d [match] | | Switch.cs:27:13:27:39 | case ...: | Switch.cs:27:18:27:25 | After Double d [no-match] | -| Switch.cs:27:18:27:25 | After Double d [match] | Switch.cs:27:18:27:25 | After Double d [match] | +| Switch.cs:27:13:27:39 | case ...: | Switch.cs:27:18:27:25 | [OuterPatternMatch] Double d | | Switch.cs:27:18:27:25 | After Double d [no-match] | Switch.cs:27:18:27:25 | After Double d [no-match] | +| Switch.cs:27:18:27:25 | [OuterPatternMatch] Double d | Switch.cs:27:18:27:25 | [OuterPatternMatch] Double d | | Switch.cs:30:13:30:20 | After default: [match] | Switch.cs:30:13:30:20 | After default: [match] | | Switch.cs:35:10:35:11 | Entry | Switch.cs:35:10:35:11 | Entry | | Switch.cs:44:10:44:11 | Entry | Switch.cs:44:10:44:11 | Entry | @@ -19349,24 +19383,24 @@ blockDominance | Switch.cs:123:10:123:12 | Entry | Switch.cs:123:10:123:12 | Entry | | Switch.cs:123:10:123:12 | Entry | Switch.cs:123:10:123:12 | Normal Exit | | Switch.cs:123:10:123:12 | Entry | Switch.cs:125:13:125:48 | After ... switch { ... } [false] | -| Switch.cs:123:10:123:12 | Entry | Switch.cs:125:24:125:29 | After Boolean b [match] | | Switch.cs:123:10:123:12 | Entry | Switch.cs:125:24:125:29 | After Boolean b [no-match] | +| Switch.cs:123:10:123:12 | Entry | Switch.cs:125:24:125:29 | [OuterPatternMatch] Boolean b | | Switch.cs:123:10:123:12 | Entry | Switch.cs:125:34:125:34 | After access to local variable b [false] | | Switch.cs:123:10:123:12 | Entry | Switch.cs:125:34:125:34 | After access to local variable b [true] | | Switch.cs:123:10:123:12 | Normal Exit | Switch.cs:123:10:123:12 | Normal Exit | | Switch.cs:125:13:125:48 | After ... switch { ... } [false] | Switch.cs:125:13:125:48 | After ... switch { ... } [false] | -| Switch.cs:125:24:125:29 | After Boolean b [match] | Switch.cs:125:24:125:29 | After Boolean b [match] | -| Switch.cs:125:24:125:29 | After Boolean b [match] | Switch.cs:125:34:125:34 | After access to local variable b [false] | -| Switch.cs:125:24:125:29 | After Boolean b [match] | Switch.cs:125:34:125:34 | After access to local variable b [true] | | Switch.cs:125:24:125:29 | After Boolean b [no-match] | Switch.cs:125:24:125:29 | After Boolean b [no-match] | +| Switch.cs:125:24:125:29 | [OuterPatternMatch] Boolean b | Switch.cs:125:24:125:29 | [OuterPatternMatch] Boolean b | +| Switch.cs:125:24:125:29 | [OuterPatternMatch] Boolean b | Switch.cs:125:34:125:34 | After access to local variable b [false] | +| Switch.cs:125:24:125:29 | [OuterPatternMatch] Boolean b | Switch.cs:125:34:125:34 | After access to local variable b [true] | | Switch.cs:125:34:125:34 | After access to local variable b [false] | Switch.cs:125:34:125:34 | After access to local variable b [false] | | Switch.cs:125:34:125:34 | After access to local variable b [true] | Switch.cs:125:34:125:34 | After access to local variable b [true] | | Switch.cs:129:12:129:14 | Entry | Switch.cs:129:12:129:14 | Entry | | Switch.cs:129:12:129:14 | Entry | Switch.cs:131:16:131:66 | After call to method ToString | | Switch.cs:129:12:129:14 | Entry | Switch.cs:131:17:131:53 | After ... switch { ... } [non-null] | | Switch.cs:129:12:129:14 | Entry | Switch.cs:131:17:131:53 | After ... switch { ... } [null] | -| Switch.cs:129:12:129:14 | Entry | Switch.cs:131:28:131:35 | After String s [match] | | Switch.cs:129:12:129:14 | Entry | Switch.cs:131:28:131:35 | After String s [no-match] | +| Switch.cs:129:12:129:14 | Entry | Switch.cs:131:28:131:35 | [OuterPatternMatch] String s | | Switch.cs:129:12:129:14 | Entry | Switch.cs:131:40:131:40 | After access to local variable s [non-null] | | Switch.cs:129:12:129:14 | Entry | Switch.cs:131:40:131:40 | After access to local variable s [null] | | Switch.cs:129:12:129:14 | Entry | Switch.cs:131:48:131:51 | After null [non-null] | @@ -19374,12 +19408,12 @@ blockDominance | Switch.cs:131:16:131:66 | After call to method ToString | Switch.cs:131:16:131:66 | After call to method ToString | | Switch.cs:131:17:131:53 | After ... switch { ... } [non-null] | Switch.cs:131:17:131:53 | After ... switch { ... } [non-null] | | Switch.cs:131:17:131:53 | After ... switch { ... } [null] | Switch.cs:131:17:131:53 | After ... switch { ... } [null] | -| Switch.cs:131:28:131:35 | After String s [match] | Switch.cs:131:28:131:35 | After String s [match] | -| Switch.cs:131:28:131:35 | After String s [match] | Switch.cs:131:40:131:40 | After access to local variable s [non-null] | -| Switch.cs:131:28:131:35 | After String s [match] | Switch.cs:131:40:131:40 | After access to local variable s [null] | | Switch.cs:131:28:131:35 | After String s [no-match] | Switch.cs:131:28:131:35 | After String s [no-match] | | Switch.cs:131:28:131:35 | After String s [no-match] | Switch.cs:131:48:131:51 | After null [non-null] | | Switch.cs:131:28:131:35 | After String s [no-match] | Switch.cs:131:48:131:51 | After null [null] | +| Switch.cs:131:28:131:35 | [OuterPatternMatch] String s | Switch.cs:131:28:131:35 | [OuterPatternMatch] String s | +| Switch.cs:131:28:131:35 | [OuterPatternMatch] String s | Switch.cs:131:40:131:40 | After access to local variable s [non-null] | +| Switch.cs:131:28:131:35 | [OuterPatternMatch] String s | Switch.cs:131:40:131:40 | After access to local variable s [null] | | Switch.cs:131:40:131:40 | After access to local variable s [non-null] | Switch.cs:131:40:131:40 | After access to local variable s [non-null] | | Switch.cs:131:40:131:40 | After access to local variable s [null] | Switch.cs:131:40:131:40 | After access to local variable s [null] | | Switch.cs:131:48:131:51 | After null [non-null] | Switch.cs:131:48:131:51 | After null [non-null] | @@ -19458,11 +19492,11 @@ blockDominance | TypeAccesses.cs:1:7:1:18 | Entry | TypeAccesses.cs:1:7:1:18 | Entry | | TypeAccesses.cs:3:10:3:10 | Entry | TypeAccesses.cs:3:10:3:10 | Entry | | TypeAccesses.cs:3:10:3:10 | Entry | TypeAccesses.cs:7:9:7:25 | After if (...) ... | -| TypeAccesses.cs:3:10:3:10 | Entry | TypeAccesses.cs:7:13:7:22 | After ... is ... [false] | -| TypeAccesses.cs:3:10:3:10 | Entry | TypeAccesses.cs:7:13:7:22 | [MatchTrue] ... is ... | +| TypeAccesses.cs:3:10:3:10 | Entry | TypeAccesses.cs:7:18:7:22 | After Int32 j [no-match] | +| TypeAccesses.cs:3:10:3:10 | Entry | TypeAccesses.cs:7:18:7:22 | [OuterPatternMatch] Int32 j | | TypeAccesses.cs:7:9:7:25 | After if (...) ... | TypeAccesses.cs:7:9:7:25 | After if (...) ... | -| TypeAccesses.cs:7:13:7:22 | After ... is ... [false] | TypeAccesses.cs:7:13:7:22 | After ... is ... [false] | -| TypeAccesses.cs:7:13:7:22 | [MatchTrue] ... is ... | TypeAccesses.cs:7:13:7:22 | [MatchTrue] ... is ... | +| TypeAccesses.cs:7:18:7:22 | After Int32 j [no-match] | TypeAccesses.cs:7:18:7:22 | After Int32 j [no-match] | +| TypeAccesses.cs:7:18:7:22 | [OuterPatternMatch] Int32 j | TypeAccesses.cs:7:18:7:22 | [OuterPatternMatch] Int32 j | | VarDecls.cs:3:7:3:14 | Entry | VarDecls.cs:3:7:3:14 | Entry | | VarDecls.cs:5:18:5:19 | Entry | VarDecls.cs:5:18:5:19 | Entry | | VarDecls.cs:13:12:13:13 | Entry | VarDecls.cs:13:12:13:13 | Entry | @@ -23045,115 +23079,120 @@ postBlockDominance | Patterns.cs:5:10:5:11 | Entry | Patterns.cs:5:10:5:11 | Entry | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:5:10:5:11 | Entry | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:8:9:18:9 | After if (...) ... | -| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:8:13:8:23 | After ... is ... [false] | -| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:8:13:8:23 | [MatchTrue] ... is ... | +| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:8:18:8:23 | After Int32 i1 [no-match] | +| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:8:18:8:23 | [OuterPatternMatch] Int32 i1 | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:12:14:18:9 | After if (...) ... | -| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:12:18:12:31 | After ... is ... [false] | -| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:12:18:12:31 | [MatchTrue] ... is ... | -| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:16:14:18:9 | After if (...) ... | -| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:16:18:16:28 | After ... is ... [false] | -| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:16:18:16:28 | [MatchTrue] ... is ... | -| Patterns.cs:8:13:8:23 | After ... is ... [false] | Patterns.cs:8:13:8:23 | After ... is ... [false] | -| Patterns.cs:8:13:8:23 | [MatchTrue] ... is ... | Patterns.cs:8:13:8:23 | [MatchTrue] ... is ... | -| Patterns.cs:12:14:18:9 | After if (...) ... | Patterns.cs:8:13:8:23 | After ... is ... [false] | +| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:12:23:12:31 | After String s1 [no-match] | +| Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:12:23:12:31 | [OuterPatternMatch] String s1 | +| Patterns.cs:8:18:8:23 | After Int32 i1 [no-match] | Patterns.cs:8:18:8:23 | After Int32 i1 [no-match] | +| Patterns.cs:8:18:8:23 | [OuterPatternMatch] Int32 i1 | Patterns.cs:8:18:8:23 | [OuterPatternMatch] Int32 i1 | +| Patterns.cs:12:14:18:9 | After if (...) ... | Patterns.cs:8:18:8:23 | After Int32 i1 [no-match] | | Patterns.cs:12:14:18:9 | After if (...) ... | Patterns.cs:12:14:18:9 | After if (...) ... | -| Patterns.cs:12:14:18:9 | After if (...) ... | Patterns.cs:12:18:12:31 | After ... is ... [false] | -| Patterns.cs:12:14:18:9 | After if (...) ... | Patterns.cs:12:18:12:31 | [MatchTrue] ... is ... | -| Patterns.cs:12:14:18:9 | After if (...) ... | Patterns.cs:16:14:18:9 | After if (...) ... | -| Patterns.cs:12:14:18:9 | After if (...) ... | Patterns.cs:16:18:16:28 | After ... is ... [false] | -| Patterns.cs:12:14:18:9 | After if (...) ... | Patterns.cs:16:18:16:28 | [MatchTrue] ... is ... | -| Patterns.cs:12:18:12:31 | After ... is ... [false] | Patterns.cs:12:18:12:31 | After ... is ... [false] | -| Patterns.cs:12:18:12:31 | [MatchTrue] ... is ... | Patterns.cs:12:18:12:31 | [MatchTrue] ... is ... | -| Patterns.cs:16:14:18:9 | After if (...) ... | Patterns.cs:12:18:12:31 | After ... is ... [false] | -| Patterns.cs:16:14:18:9 | After if (...) ... | Patterns.cs:16:14:18:9 | After if (...) ... | -| Patterns.cs:16:14:18:9 | After if (...) ... | Patterns.cs:16:18:16:28 | After ... is ... [false] | -| Patterns.cs:16:14:18:9 | After if (...) ... | Patterns.cs:16:18:16:28 | [MatchTrue] ... is ... | -| Patterns.cs:16:18:16:28 | After ... is ... [false] | Patterns.cs:16:18:16:28 | After ... is ... [false] | -| Patterns.cs:16:18:16:28 | [MatchTrue] ... is ... | Patterns.cs:16:18:16:28 | [MatchTrue] ... is ... | +| Patterns.cs:12:14:18:9 | After if (...) ... | Patterns.cs:12:23:12:31 | After String s1 [no-match] | +| Patterns.cs:12:14:18:9 | After if (...) ... | Patterns.cs:12:23:12:31 | [OuterPatternMatch] String s1 | +| Patterns.cs:12:23:12:31 | After String s1 [no-match] | Patterns.cs:12:23:12:31 | After String s1 [no-match] | +| Patterns.cs:12:23:12:31 | [OuterPatternMatch] String s1 | Patterns.cs:12:23:12:31 | [OuterPatternMatch] String s1 | | Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:5:10:5:11 | Entry | | Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:8:9:18:9 | After if (...) ... | -| Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:8:13:8:23 | After ... is ... [false] | -| Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:8:13:8:23 | [MatchTrue] ... is ... | +| Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:8:18:8:23 | After Int32 i1 [no-match] | +| Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:8:18:8:23 | [OuterPatternMatch] Int32 i1 | | Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:12:14:18:9 | After if (...) ... | -| Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:12:18:12:31 | After ... is ... [false] | -| Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:12:18:12:31 | [MatchTrue] ... is ... | -| Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:16:14:18:9 | After if (...) ... | -| Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:16:18:16:28 | After ... is ... [false] | -| Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:16:18:16:28 | [MatchTrue] ... is ... | +| Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:12:23:12:31 | After String s1 [no-match] | +| Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:12:23:12:31 | [OuterPatternMatch] String s1 | | Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:20:9:38:9 | After switch (...) {...} | | Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:22:18:22:22 | After "xyz" [match] | | Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:22:18:22:22 | After "xyz" [no-match] | -| Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:24:18:24:23 | After Int32 i2 [match] | | Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:24:18:24:23 | After Int32 i2 [no-match] | +| Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:24:18:24:23 | [OuterPatternMatch] Int32 i2 | | Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:24:30:24:35 | After ... > ... [false] | | Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:24:30:24:35 | After ... > ... [true] | | Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:27:13:27:24 | case ...: | -| Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:27:18:27:23 | After Int32 i3 [match] | | Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | -| Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:30:18:30:26 | After String s2 [match] | +| Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:27:18:27:23 | [OuterPatternMatch] Int32 i3 | | Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:30:18:30:26 | After String s2 [no-match] | -| Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:33:18:33:23 | After Object v2 [match] | -| Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:33:18:33:23 | After Object v2 [no-match] | +| Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:30:18:30:26 | [OuterPatternMatch] String s2 | | Patterns.cs:22:18:22:22 | After "xyz" [match] | Patterns.cs:22:18:22:22 | After "xyz" [match] | | Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:22:18:22:22 | After "xyz" [no-match] | -| Patterns.cs:24:18:24:23 | After Int32 i2 [match] | Patterns.cs:24:18:24:23 | After Int32 i2 [match] | | Patterns.cs:24:18:24:23 | After Int32 i2 [no-match] | Patterns.cs:24:18:24:23 | After Int32 i2 [no-match] | +| Patterns.cs:24:18:24:23 | [OuterPatternMatch] Int32 i2 | Patterns.cs:24:18:24:23 | [OuterPatternMatch] Int32 i2 | | Patterns.cs:24:30:24:35 | After ... > ... [false] | Patterns.cs:24:30:24:35 | After ... > ... [false] | | Patterns.cs:24:30:24:35 | After ... > ... [true] | Patterns.cs:24:30:24:35 | After ... > ... [true] | | Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:24:18:24:23 | After Int32 i2 [no-match] | | Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:24:30:24:35 | After ... > ... [false] | | Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:27:13:27:24 | case ...: | -| Patterns.cs:27:18:27:23 | After Int32 i3 [match] | Patterns.cs:27:18:27:23 | After Int32 i3 [match] | | Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | -| Patterns.cs:30:18:30:26 | After String s2 [match] | Patterns.cs:30:18:30:26 | After String s2 [match] | +| Patterns.cs:27:18:27:23 | [OuterPatternMatch] Int32 i3 | Patterns.cs:27:18:27:23 | [OuterPatternMatch] Int32 i3 | | Patterns.cs:30:18:30:26 | After String s2 [no-match] | Patterns.cs:30:18:30:26 | After String s2 [no-match] | -| Patterns.cs:33:18:33:23 | After Object v2 [match] | Patterns.cs:33:18:33:23 | After Object v2 [match] | -| Patterns.cs:33:18:33:23 | After Object v2 [no-match] | Patterns.cs:33:18:33:23 | After Object v2 [no-match] | +| Patterns.cs:30:18:30:26 | [OuterPatternMatch] String s2 | Patterns.cs:30:18:30:26 | [OuterPatternMatch] String s2 | | Patterns.cs:47:24:47:25 | Entry | Patterns.cs:47:24:47:25 | Entry | | Patterns.cs:48:9:48:20 | After ... is ... | Patterns.cs:47:24:47:25 | Entry | | Patterns.cs:48:9:48:20 | After ... is ... | Patterns.cs:48:9:48:20 | After ... is ... | -| Patterns.cs:48:9:48:20 | After ... is ... | Patterns.cs:48:9:48:20 | [MatchTrue] ... is ... | -| Patterns.cs:48:9:48:20 | [MatchTrue] ... is ... | Patterns.cs:48:9:48:20 | [MatchTrue] ... is ... | +| Patterns.cs:48:9:48:20 | After ... is ... | Patterns.cs:48:18:48:20 | After a [match] | +| Patterns.cs:48:9:48:20 | After ... is ... | Patterns.cs:48:18:48:20 | After a [no-match] | +| Patterns.cs:48:18:48:20 | After a [match] | Patterns.cs:48:18:48:20 | After a [match] | +| Patterns.cs:48:18:48:20 | After a [no-match] | Patterns.cs:48:18:48:20 | After a [no-match] | | Patterns.cs:50:24:50:25 | Entry | Patterns.cs:50:24:50:25 | Entry | -| Patterns.cs:51:9:51:21 | After ... is ... [false] | Patterns.cs:51:9:51:21 | After ... is ... [false] | -| Patterns.cs:51:9:51:21 | [MatchTrue] ... is ... | Patterns.cs:51:9:51:21 | [MatchTrue] ... is ... | | Patterns.cs:51:9:51:39 | After ... ? ... : ... | Patterns.cs:50:24:50:25 | Entry | -| Patterns.cs:51:9:51:39 | After ... ? ... : ... | Patterns.cs:51:9:51:21 | After ... is ... [false] | -| Patterns.cs:51:9:51:39 | After ... ? ... : ... | Patterns.cs:51:9:51:21 | [MatchTrue] ... is ... | | Patterns.cs:51:9:51:39 | After ... ? ... : ... | Patterns.cs:51:9:51:39 | After ... ? ... : ... | +| Patterns.cs:51:9:51:39 | After ... ? ... : ... | Patterns.cs:51:18:51:21 | After null [match] | +| Patterns.cs:51:9:51:39 | After ... ? ... : ... | Patterns.cs:51:18:51:21 | After null [no-match] | | Patterns.cs:51:9:51:39 | After ... ? ... : ... | Patterns.cs:51:25:51:30 | After ... is ... | -| Patterns.cs:51:9:51:39 | After ... ? ... : ... | Patterns.cs:51:25:51:30 | [MatchTrue] ... is ... | +| Patterns.cs:51:9:51:39 | After ... ? ... : ... | Patterns.cs:51:30:51:30 | After 1 [match] | +| Patterns.cs:51:9:51:39 | After ... ? ... : ... | Patterns.cs:51:30:51:30 | After 1 [no-match] | | Patterns.cs:51:9:51:39 | After ... ? ... : ... | Patterns.cs:51:34:51:39 | After ... is ... | -| Patterns.cs:51:9:51:39 | After ... ? ... : ... | Patterns.cs:51:34:51:39 | [MatchTrue] ... is ... | -| Patterns.cs:51:25:51:30 | After ... is ... | Patterns.cs:51:9:51:21 | [MatchTrue] ... is ... | +| Patterns.cs:51:9:51:39 | After ... ? ... : ... | Patterns.cs:51:39:51:39 | After 2 [match] | +| Patterns.cs:51:9:51:39 | After ... ? ... : ... | Patterns.cs:51:39:51:39 | After 2 [no-match] | +| Patterns.cs:51:18:51:21 | After null [match] | Patterns.cs:51:18:51:21 | After null [match] | +| Patterns.cs:51:18:51:21 | After null [no-match] | Patterns.cs:51:18:51:21 | After null [no-match] | +| Patterns.cs:51:25:51:30 | After ... is ... | Patterns.cs:51:18:51:21 | After null [no-match] | | Patterns.cs:51:25:51:30 | After ... is ... | Patterns.cs:51:25:51:30 | After ... is ... | -| Patterns.cs:51:25:51:30 | After ... is ... | Patterns.cs:51:25:51:30 | [MatchTrue] ... is ... | -| Patterns.cs:51:25:51:30 | [MatchTrue] ... is ... | Patterns.cs:51:25:51:30 | [MatchTrue] ... is ... | -| Patterns.cs:51:34:51:39 | After ... is ... | Patterns.cs:51:9:51:21 | After ... is ... [false] | +| Patterns.cs:51:25:51:30 | After ... is ... | Patterns.cs:51:30:51:30 | After 1 [match] | +| Patterns.cs:51:25:51:30 | After ... is ... | Patterns.cs:51:30:51:30 | After 1 [no-match] | +| Patterns.cs:51:30:51:30 | After 1 [match] | Patterns.cs:51:30:51:30 | After 1 [match] | +| Patterns.cs:51:30:51:30 | After 1 [no-match] | Patterns.cs:51:30:51:30 | After 1 [no-match] | +| Patterns.cs:51:34:51:39 | After ... is ... | Patterns.cs:51:18:51:21 | After null [match] | | Patterns.cs:51:34:51:39 | After ... is ... | Patterns.cs:51:34:51:39 | After ... is ... | -| Patterns.cs:51:34:51:39 | After ... is ... | Patterns.cs:51:34:51:39 | [MatchTrue] ... is ... | -| Patterns.cs:51:34:51:39 | [MatchTrue] ... is ... | Patterns.cs:51:34:51:39 | [MatchTrue] ... is ... | +| Patterns.cs:51:34:51:39 | After ... is ... | Patterns.cs:51:39:51:39 | After 2 [match] | +| Patterns.cs:51:34:51:39 | After ... is ... | Patterns.cs:51:39:51:39 | After 2 [no-match] | +| Patterns.cs:51:39:51:39 | After 2 [match] | Patterns.cs:51:39:51:39 | After 2 [match] | +| Patterns.cs:51:39:51:39 | After 2 [no-match] | Patterns.cs:51:39:51:39 | After 2 [no-match] | | Patterns.cs:53:24:53:25 | Entry | Patterns.cs:53:24:53:25 | Entry | | Patterns.cs:54:9:54:37 | After ... is ... | Patterns.cs:53:24:53:25 | Entry | | Patterns.cs:54:9:54:37 | After ... is ... | Patterns.cs:54:9:54:37 | After ... is ... | -| Patterns.cs:54:9:54:37 | After ... is ... | Patterns.cs:54:9:54:37 | [MatchTrue] ... is ... | -| Patterns.cs:54:9:54:37 | [MatchTrue] ... is ... | Patterns.cs:54:9:54:37 | [MatchTrue] ... is ... | +| Patterns.cs:54:9:54:37 | After ... is ... | Patterns.cs:54:18:54:25 | After access to type Patterns [match] | +| Patterns.cs:54:9:54:37 | After ... is ... | Patterns.cs:54:18:54:25 | After access to type Patterns [no-match] | +| Patterns.cs:54:9:54:37 | After ... is ... | Patterns.cs:54:18:54:37 | After { ... } [no-match] | +| Patterns.cs:54:9:54:37 | After ... is ... | Patterns.cs:54:27:54:35 | After { ... } [no-match] | +| Patterns.cs:54:9:54:37 | After ... is ... | Patterns.cs:54:27:54:35 | [OuterPatternMatch] { ... } | +| Patterns.cs:54:9:54:37 | After ... is ... | Patterns.cs:54:33:54:33 | After 1 [match] | +| Patterns.cs:54:9:54:37 | After ... is ... | Patterns.cs:54:33:54:33 | After 1 [no-match] | +| Patterns.cs:54:18:54:25 | After access to type Patterns [match] | Patterns.cs:54:18:54:25 | After access to type Patterns [match] | +| Patterns.cs:54:18:54:25 | After access to type Patterns [no-match] | Patterns.cs:54:18:54:25 | After access to type Patterns [no-match] | +| Patterns.cs:54:18:54:37 | After { ... } [no-match] | Patterns.cs:54:18:54:25 | After access to type Patterns [no-match] | +| Patterns.cs:54:18:54:37 | After { ... } [no-match] | Patterns.cs:54:18:54:37 | After { ... } [no-match] | +| Patterns.cs:54:18:54:37 | After { ... } [no-match] | Patterns.cs:54:27:54:35 | After { ... } [no-match] | +| Patterns.cs:54:18:54:37 | After { ... } [no-match] | Patterns.cs:54:33:54:33 | After 1 [no-match] | +| Patterns.cs:54:27:54:35 | After { ... } [no-match] | Patterns.cs:54:27:54:35 | After { ... } [no-match] | +| Patterns.cs:54:27:54:35 | After { ... } [no-match] | Patterns.cs:54:33:54:33 | After 1 [no-match] | +| Patterns.cs:54:27:54:35 | [OuterPatternMatch] { ... } | Patterns.cs:54:27:54:35 | [OuterPatternMatch] { ... } | +| Patterns.cs:54:33:54:33 | After 1 [match] | Patterns.cs:54:33:54:33 | After 1 [match] | +| Patterns.cs:54:33:54:33 | After 1 [no-match] | Patterns.cs:54:33:54:33 | After 1 [no-match] | | Patterns.cs:56:26:56:27 | Entry | Patterns.cs:56:26:56:27 | Entry | | Patterns.cs:58:16:62:9 | After ... switch { ... } | Patterns.cs:56:26:56:27 | Entry | | Patterns.cs:58:16:62:9 | After ... switch { ... } | Patterns.cs:58:16:62:9 | After ... switch { ... } | -| Patterns.cs:58:16:62:9 | After ... switch { ... } | Patterns.cs:60:13:60:17 | After not ... [match] | -| Patterns.cs:58:16:62:9 | After ... switch { ... } | Patterns.cs:60:13:60:17 | After not ... [no-match] | -| Patterns.cs:60:13:60:17 | After not ... [match] | Patterns.cs:60:13:60:17 | After not ... [match] | -| Patterns.cs:60:13:60:17 | After not ... [no-match] | Patterns.cs:60:13:60:17 | After not ... [no-match] | +| Patterns.cs:58:16:62:9 | After ... switch { ... } | Patterns.cs:60:17:60:17 | After 1 [match] | +| Patterns.cs:58:16:62:9 | After ... switch { ... } | Patterns.cs:60:17:60:17 | After 1 [no-match] | +| Patterns.cs:60:17:60:17 | After 1 [match] | Patterns.cs:60:17:60:17 | After 1 [match] | +| Patterns.cs:60:17:60:17 | After 1 [no-match] | Patterns.cs:60:17:60:17 | After 1 [no-match] | | Patterns.cs:65:26:65:27 | Entry | Patterns.cs:65:26:65:27 | Entry | | Patterns.cs:67:16:71:9 | After ... switch { ... } | Patterns.cs:65:26:65:27 | Entry | | Patterns.cs:67:16:71:9 | After ... switch { ... } | Patterns.cs:67:16:71:9 | After ... switch { ... } | -| Patterns.cs:67:16:71:9 | After ... switch { ... } | Patterns.cs:69:13:69:17 | After not ... [match] | -| Patterns.cs:67:16:71:9 | After ... switch { ... } | Patterns.cs:69:13:69:17 | After not ... [no-match] | +| Patterns.cs:67:16:71:9 | After ... switch { ... } | Patterns.cs:69:17:69:17 | After 2 [match] | +| Patterns.cs:67:16:71:9 | After ... switch { ... } | Patterns.cs:69:17:69:17 | After 2 [no-match] | | Patterns.cs:67:16:71:9 | After ... switch { ... } | Patterns.cs:70:13:70:13 | After 2 [match] | | Patterns.cs:67:16:71:9 | After ... switch { ... } | Patterns.cs:70:13:70:13 | After 2 [no-match] | -| Patterns.cs:69:13:69:17 | After not ... [match] | Patterns.cs:69:13:69:17 | After not ... [match] | -| Patterns.cs:69:13:69:17 | After not ... [no-match] | Patterns.cs:69:13:69:17 | After not ... [no-match] | +| Patterns.cs:69:17:69:17 | After 2 [match] | Patterns.cs:69:17:69:17 | After 2 [match] | +| Patterns.cs:69:17:69:17 | After 2 [no-match] | Patterns.cs:69:17:69:17 | After 2 [no-match] | | Patterns.cs:70:13:70:13 | After 2 [match] | Patterns.cs:70:13:70:13 | After 2 [match] | | Patterns.cs:70:13:70:13 | After 2 [no-match] | Patterns.cs:70:13:70:13 | After 2 [no-match] | | Patterns.cs:74:26:74:27 | Entry | Patterns.cs:74:26:74:27 | Entry | @@ -23172,40 +23211,69 @@ postBlockDominance | Patterns.cs:80:13:80:13 | After 1 [match] | Patterns.cs:80:13:80:13 | After 1 [match] | | Patterns.cs:80:13:80:13 | After 1 [no-match] | Patterns.cs:80:13:80:13 | After 1 [no-match] | | Patterns.cs:85:26:85:27 | Entry | Patterns.cs:85:26:85:27 | Entry | -| Patterns.cs:85:39:85:53 | After ... is ... [false] | Patterns.cs:85:39:85:53 | After ... is ... [false] | -| Patterns.cs:85:39:85:53 | [MatchTrue] ... is ... | Patterns.cs:85:39:85:53 | [MatchTrue] ... is ... | | Patterns.cs:85:39:85:69 | After ... ? ... : ... | Patterns.cs:85:26:85:27 | Entry | -| Patterns.cs:85:39:85:69 | After ... ? ... : ... | Patterns.cs:85:39:85:53 | After ... is ... [false] | -| Patterns.cs:85:39:85:69 | After ... ? ... : ... | Patterns.cs:85:39:85:53 | [MatchTrue] ... is ... | | Patterns.cs:85:39:85:69 | After ... ? ... : ... | Patterns.cs:85:39:85:69 | After ... ? ... : ... | +| Patterns.cs:85:39:85:69 | After ... ? ... : ... | Patterns.cs:85:44:85:44 | After 1 [match] | +| Patterns.cs:85:39:85:69 | After ... ? ... : ... | Patterns.cs:85:44:85:44 | After 1 [no-match] | +| Patterns.cs:85:39:85:69 | After ... ? ... : ... | Patterns.cs:85:44:85:53 | After ... or ... [match] | +| Patterns.cs:85:39:85:69 | After ... ? ... : ... | Patterns.cs:85:53:85:53 | After 2 [match] | +| Patterns.cs:85:39:85:69 | After ... ? ... : ... | Patterns.cs:85:53:85:53 | After 2 [no-match] | +| Patterns.cs:85:44:85:44 | After 1 [match] | Patterns.cs:85:44:85:44 | After 1 [match] | +| Patterns.cs:85:44:85:44 | After 1 [no-match] | Patterns.cs:85:44:85:44 | After 1 [no-match] | +| Patterns.cs:85:44:85:53 | After ... or ... [match] | Patterns.cs:85:44:85:44 | After 1 [match] | +| Patterns.cs:85:44:85:53 | After ... or ... [match] | Patterns.cs:85:44:85:53 | After ... or ... [match] | +| Patterns.cs:85:44:85:53 | After ... or ... [match] | Patterns.cs:85:53:85:53 | After 2 [no-match] | +| Patterns.cs:85:53:85:53 | After 2 [match] | Patterns.cs:85:53:85:53 | After 2 [match] | +| Patterns.cs:85:53:85:53 | After 2 [no-match] | Patterns.cs:85:53:85:53 | After 2 [no-match] | | Patterns.cs:87:26:87:27 | Entry | Patterns.cs:87:26:87:27 | Entry | -| Patterns.cs:87:39:87:54 | After ... is ... [false] | Patterns.cs:87:39:87:54 | After ... is ... [false] | -| Patterns.cs:87:39:87:54 | [MatchTrue] ... is ... | Patterns.cs:87:39:87:54 | [MatchTrue] ... is ... | | Patterns.cs:87:39:87:70 | After ... ? ... : ... | Patterns.cs:87:26:87:27 | Entry | -| Patterns.cs:87:39:87:70 | After ... ? ... : ... | Patterns.cs:87:39:87:54 | After ... is ... [false] | -| Patterns.cs:87:39:87:70 | After ... ? ... : ... | Patterns.cs:87:39:87:54 | [MatchTrue] ... is ... | | Patterns.cs:87:39:87:70 | After ... ? ... : ... | Patterns.cs:87:39:87:70 | After ... ? ... : ... | +| Patterns.cs:87:39:87:70 | After ... ? ... : ... | Patterns.cs:87:44:87:44 | After 1 [match] | +| Patterns.cs:87:39:87:70 | After ... ? ... : ... | Patterns.cs:87:44:87:44 | After 1 [no-match] | +| Patterns.cs:87:39:87:70 | After ... ? ... : ... | Patterns.cs:87:44:87:54 | After ... and ... [no-match] | +| Patterns.cs:87:39:87:70 | After ... ? ... : ... | Patterns.cs:87:54:87:54 | After 2 [match] | +| Patterns.cs:87:39:87:70 | After ... ? ... : ... | Patterns.cs:87:54:87:54 | After 2 [no-match] | +| Patterns.cs:87:44:87:44 | After 1 [match] | Patterns.cs:87:44:87:44 | After 1 [match] | +| Patterns.cs:87:44:87:44 | After 1 [no-match] | Patterns.cs:87:44:87:44 | After 1 [no-match] | +| Patterns.cs:87:44:87:54 | After ... and ... [no-match] | Patterns.cs:87:44:87:44 | After 1 [no-match] | +| Patterns.cs:87:44:87:54 | After ... and ... [no-match] | Patterns.cs:87:44:87:54 | After ... and ... [no-match] | +| Patterns.cs:87:44:87:54 | After ... and ... [no-match] | Patterns.cs:87:54:87:54 | After 2 [match] | +| Patterns.cs:87:54:87:54 | After 2 [match] | Patterns.cs:87:54:87:54 | After 2 [match] | +| Patterns.cs:87:54:87:54 | After 2 [no-match] | Patterns.cs:87:54:87:54 | After 2 [no-match] | | Patterns.cs:93:17:93:19 | Entry | Patterns.cs:93:17:93:19 | Entry | | Patterns.cs:95:9:98:9 | After if (...) ... | Patterns.cs:93:17:93:19 | Entry | | Patterns.cs:95:9:98:9 | After if (...) ... | Patterns.cs:95:9:98:9 | After if (...) ... | -| Patterns.cs:95:9:98:9 | After if (...) ... | Patterns.cs:95:13:95:40 | After ... is ... [false] | -| Patterns.cs:95:9:98:9 | After if (...) ... | Patterns.cs:95:13:95:40 | [MatchTrue] ... is ... | -| Patterns.cs:95:13:95:40 | After ... is ... [false] | Patterns.cs:95:13:95:40 | After ... is ... [false] | -| Patterns.cs:95:13:95:40 | [MatchTrue] ... is ... | Patterns.cs:95:13:95:40 | [MatchTrue] ... is ... | +| Patterns.cs:95:9:98:9 | After if (...) ... | Patterns.cs:95:21:95:40 | After { ... } [no-match] | +| Patterns.cs:95:9:98:9 | After if (...) ... | Patterns.cs:95:21:95:40 | [OuterPatternMatch] { ... } | +| Patterns.cs:95:9:98:9 | After if (...) ... | Patterns.cs:95:29:95:31 | After access to constant A [match] | +| Patterns.cs:95:9:98:9 | After if (...) ... | Patterns.cs:95:29:95:31 | After access to constant A [no-match] | +| Patterns.cs:95:9:98:9 | After if (...) ... | Patterns.cs:95:29:95:38 | After ... or ... [match] | +| Patterns.cs:95:9:98:9 | After if (...) ... | Patterns.cs:95:36:95:38 | After access to constant B [match] | +| Patterns.cs:95:9:98:9 | After if (...) ... | Patterns.cs:95:36:95:38 | After access to constant B [no-match] | +| Patterns.cs:95:21:95:40 | After { ... } [no-match] | Patterns.cs:95:21:95:40 | After { ... } [no-match] | +| Patterns.cs:95:21:95:40 | After { ... } [no-match] | Patterns.cs:95:36:95:38 | After access to constant B [no-match] | +| Patterns.cs:95:21:95:40 | [OuterPatternMatch] { ... } | Patterns.cs:95:21:95:40 | [OuterPatternMatch] { ... } | +| Patterns.cs:95:29:95:31 | After access to constant A [match] | Patterns.cs:95:29:95:31 | After access to constant A [match] | +| Patterns.cs:95:29:95:31 | After access to constant A [no-match] | Patterns.cs:95:29:95:31 | After access to constant A [no-match] | +| Patterns.cs:95:29:95:38 | After ... or ... [match] | Patterns.cs:95:29:95:31 | After access to constant A [match] | +| Patterns.cs:95:29:95:38 | After ... or ... [match] | Patterns.cs:95:29:95:38 | After ... or ... [match] | +| Patterns.cs:95:29:95:38 | After ... or ... [match] | Patterns.cs:95:36:95:38 | After access to constant B [match] | +| Patterns.cs:95:36:95:38 | After access to constant B [match] | Patterns.cs:95:36:95:38 | After access to constant B [match] | +| Patterns.cs:95:36:95:38 | After access to constant B [no-match] | Patterns.cs:95:36:95:38 | After access to constant B [no-match] | | PostDominance.cs:3:7:3:19 | Entry | PostDominance.cs:3:7:3:19 | Entry | | PostDominance.cs:5:10:5:11 | Entry | PostDominance.cs:5:10:5:11 | Entry | | PostDominance.cs:10:10:10:11 | Entry | PostDominance.cs:10:10:10:11 | Entry | | PostDominance.cs:10:10:10:11 | Normal Exit | PostDominance.cs:10:10:10:11 | Entry | | PostDominance.cs:10:10:10:11 | Normal Exit | PostDominance.cs:10:10:10:11 | Normal Exit | -| PostDominance.cs:10:10:10:11 | Normal Exit | PostDominance.cs:12:13:12:21 | After ... is ... [false] | -| PostDominance.cs:10:10:10:11 | Normal Exit | PostDominance.cs:12:13:12:21 | [MatchTrue] ... is ... | -| PostDominance.cs:12:13:12:21 | After ... is ... [false] | PostDominance.cs:12:13:12:21 | After ... is ... [false] | -| PostDominance.cs:12:13:12:21 | [MatchTrue] ... is ... | PostDominance.cs:12:13:12:21 | [MatchTrue] ... is ... | +| PostDominance.cs:10:10:10:11 | Normal Exit | PostDominance.cs:12:18:12:21 | After null [match] | +| PostDominance.cs:10:10:10:11 | Normal Exit | PostDominance.cs:12:18:12:21 | After null [no-match] | +| PostDominance.cs:12:18:12:21 | After null [match] | PostDominance.cs:12:18:12:21 | After null [match] | +| PostDominance.cs:12:18:12:21 | After null [no-match] | PostDominance.cs:12:18:12:21 | After null [no-match] | | PostDominance.cs:17:10:17:11 | Entry | PostDominance.cs:17:10:17:11 | Entry | | PostDominance.cs:17:10:17:11 | Exit | PostDominance.cs:17:10:17:11 | Exit | -| PostDominance.cs:19:13:19:21 | After ... is ... [false] | PostDominance.cs:17:10:17:11 | Entry | -| PostDominance.cs:19:13:19:21 | After ... is ... [false] | PostDominance.cs:19:13:19:21 | After ... is ... [false] | -| PostDominance.cs:19:13:19:21 | [MatchTrue] ... is ... | PostDominance.cs:19:13:19:21 | [MatchTrue] ... is ... | +| PostDominance.cs:19:18:19:21 | After null [match] | PostDominance.cs:19:18:19:21 | After null [match] | +| PostDominance.cs:19:18:19:21 | After null [no-match] | PostDominance.cs:17:10:17:11 | Entry | +| PostDominance.cs:19:18:19:21 | After null [no-match] | PostDominance.cs:19:18:19:21 | After null [no-match] | | Qualifiers.cs:1:7:1:16 | Entry | Qualifiers.cs:1:7:1:16 | Entry | | Qualifiers.cs:7:16:7:21 | Entry | Qualifiers.cs:7:16:7:21 | Entry | | Qualifiers.cs:8:23:8:34 | Entry | Qualifiers.cs:8:23:8:34 | Entry | @@ -23222,11 +23290,11 @@ postBlockDominance | Switch.cs:10:10:10:11 | Normal Exit | Switch.cs:16:18:16:18 | After 0 [no-match] | | Switch.cs:10:10:10:11 | Normal Exit | Switch.cs:18:18:18:21 | After null [match] | | Switch.cs:10:10:10:11 | Normal Exit | Switch.cs:18:18:18:21 | After null [no-match] | -| Switch.cs:10:10:10:11 | Normal Exit | Switch.cs:20:18:20:22 | After Int32 i [match] | | Switch.cs:10:10:10:11 | Normal Exit | Switch.cs:20:18:20:22 | After Int32 i [no-match] | +| Switch.cs:10:10:10:11 | Normal Exit | Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | | Switch.cs:10:10:10:11 | Normal Exit | Switch.cs:21:21:21:29 | After ... == ... [true] | -| Switch.cs:10:10:10:11 | Normal Exit | Switch.cs:24:18:24:25 | After String s [match] | | Switch.cs:10:10:10:11 | Normal Exit | Switch.cs:24:18:24:25 | After String s [no-match] | +| Switch.cs:10:10:10:11 | Normal Exit | Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | | Switch.cs:10:10:10:11 | Normal Exit | Switch.cs:24:32:24:43 | After ... > ... [false] | | Switch.cs:10:10:10:11 | Normal Exit | Switch.cs:24:32:24:43 | After ... > ... [true] | | Switch.cs:10:10:10:11 | Normal Exit | Switch.cs:24:32:24:55 | After ... && ... [false] | @@ -23243,13 +23311,13 @@ postBlockDominance | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:16:18:16:18 | After 0 [no-match] | | Switch.cs:18:18:18:21 | After null [match] | Switch.cs:18:18:18:21 | After null [match] | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:18:18:18:21 | After null [no-match] | -| Switch.cs:20:18:20:22 | After Int32 i [match] | Switch.cs:20:18:20:22 | After Int32 i [match] | | Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:20:18:20:22 | After Int32 i [no-match] | +| Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | | Switch.cs:21:21:21:29 | After ... == ... [false] | Switch.cs:21:21:21:29 | After ... == ... [false] | -| Switch.cs:21:21:21:29 | After ... == ... [true] | Switch.cs:20:18:20:22 | After Int32 i [match] | +| Switch.cs:21:21:21:29 | After ... == ... [true] | Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | | Switch.cs:21:21:21:29 | After ... == ... [true] | Switch.cs:21:21:21:29 | After ... == ... [true] | -| Switch.cs:24:18:24:25 | After String s [match] | Switch.cs:24:18:24:25 | After String s [match] | | Switch.cs:24:18:24:25 | After String s [no-match] | Switch.cs:24:18:24:25 | After String s [no-match] | +| Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | | Switch.cs:24:32:24:43 | After ... > ... [false] | Switch.cs:24:32:24:43 | After ... > ... [false] | | Switch.cs:24:32:24:43 | After ... > ... [true] | Switch.cs:24:32:24:43 | After ... > ... [true] | | Switch.cs:24:32:24:55 | After ... && ... [false] | Switch.cs:24:32:24:43 | After ... > ... [false] | @@ -23262,13 +23330,13 @@ postBlockDominance | Switch.cs:27:13:27:39 | case ...: | Switch.cs:24:32:24:55 | After ... && ... [false] | | Switch.cs:27:13:27:39 | case ...: | Switch.cs:24:48:24:55 | After ... != ... [false] | | Switch.cs:27:13:27:39 | case ...: | Switch.cs:27:13:27:39 | case ...: | -| Switch.cs:27:18:27:25 | After Double d [match] | Switch.cs:27:18:27:25 | After Double d [match] | | Switch.cs:27:18:27:25 | After Double d [no-match] | Switch.cs:24:18:24:25 | After String s [no-match] | | Switch.cs:27:18:27:25 | After Double d [no-match] | Switch.cs:24:32:24:43 | After ... > ... [false] | | Switch.cs:27:18:27:25 | After Double d [no-match] | Switch.cs:24:32:24:55 | After ... && ... [false] | | Switch.cs:27:18:27:25 | After Double d [no-match] | Switch.cs:24:48:24:55 | After ... != ... [false] | | Switch.cs:27:18:27:25 | After Double d [no-match] | Switch.cs:27:13:27:39 | case ...: | | Switch.cs:27:18:27:25 | After Double d [no-match] | Switch.cs:27:18:27:25 | After Double d [no-match] | +| Switch.cs:27:18:27:25 | [OuterPatternMatch] Double d | Switch.cs:27:18:27:25 | [OuterPatternMatch] Double d | | Switch.cs:30:13:30:20 | After default: [match] | Switch.cs:18:18:18:21 | After null [match] | | Switch.cs:30:13:30:20 | After default: [match] | Switch.cs:24:18:24:25 | After String s [no-match] | | Switch.cs:30:13:30:20 | After default: [match] | Switch.cs:24:32:24:43 | After ... > ... [false] | @@ -23393,15 +23461,15 @@ postBlockDominance | Switch.cs:123:10:123:12 | Normal Exit | Switch.cs:123:10:123:12 | Entry | | Switch.cs:123:10:123:12 | Normal Exit | Switch.cs:123:10:123:12 | Normal Exit | | Switch.cs:123:10:123:12 | Normal Exit | Switch.cs:125:13:125:48 | After ... switch { ... } [false] | -| Switch.cs:123:10:123:12 | Normal Exit | Switch.cs:125:24:125:29 | After Boolean b [match] | | Switch.cs:123:10:123:12 | Normal Exit | Switch.cs:125:24:125:29 | After Boolean b [no-match] | +| Switch.cs:123:10:123:12 | Normal Exit | Switch.cs:125:24:125:29 | [OuterPatternMatch] Boolean b | | Switch.cs:123:10:123:12 | Normal Exit | Switch.cs:125:34:125:34 | After access to local variable b [false] | | Switch.cs:123:10:123:12 | Normal Exit | Switch.cs:125:34:125:34 | After access to local variable b [true] | | Switch.cs:125:13:125:48 | After ... switch { ... } [false] | Switch.cs:125:13:125:48 | After ... switch { ... } [false] | | Switch.cs:125:13:125:48 | After ... switch { ... } [false] | Switch.cs:125:24:125:29 | After Boolean b [no-match] | | Switch.cs:125:13:125:48 | After ... switch { ... } [false] | Switch.cs:125:34:125:34 | After access to local variable b [false] | -| Switch.cs:125:24:125:29 | After Boolean b [match] | Switch.cs:125:24:125:29 | After Boolean b [match] | | Switch.cs:125:24:125:29 | After Boolean b [no-match] | Switch.cs:125:24:125:29 | After Boolean b [no-match] | +| Switch.cs:125:24:125:29 | [OuterPatternMatch] Boolean b | Switch.cs:125:24:125:29 | [OuterPatternMatch] Boolean b | | Switch.cs:125:34:125:34 | After access to local variable b [false] | Switch.cs:125:34:125:34 | After access to local variable b [false] | | Switch.cs:125:34:125:34 | After access to local variable b [true] | Switch.cs:125:34:125:34 | After access to local variable b [true] | | Switch.cs:129:12:129:14 | Entry | Switch.cs:129:12:129:14 | Entry | @@ -23409,8 +23477,8 @@ postBlockDominance | Switch.cs:131:16:131:66 | After call to method ToString | Switch.cs:131:16:131:66 | After call to method ToString | | Switch.cs:131:16:131:66 | After call to method ToString | Switch.cs:131:17:131:53 | After ... switch { ... } [non-null] | | Switch.cs:131:16:131:66 | After call to method ToString | Switch.cs:131:17:131:53 | After ... switch { ... } [null] | -| Switch.cs:131:16:131:66 | After call to method ToString | Switch.cs:131:28:131:35 | After String s [match] | | Switch.cs:131:16:131:66 | After call to method ToString | Switch.cs:131:28:131:35 | After String s [no-match] | +| Switch.cs:131:16:131:66 | After call to method ToString | Switch.cs:131:28:131:35 | [OuterPatternMatch] String s | | Switch.cs:131:16:131:66 | After call to method ToString | Switch.cs:131:40:131:40 | After access to local variable s [non-null] | | Switch.cs:131:16:131:66 | After call to method ToString | Switch.cs:131:40:131:40 | After access to local variable s [null] | | Switch.cs:131:16:131:66 | After call to method ToString | Switch.cs:131:48:131:51 | After null [non-null] | @@ -23421,8 +23489,8 @@ postBlockDominance | Switch.cs:131:17:131:53 | After ... switch { ... } [null] | Switch.cs:131:17:131:53 | After ... switch { ... } [null] | | Switch.cs:131:17:131:53 | After ... switch { ... } [null] | Switch.cs:131:40:131:40 | After access to local variable s [null] | | Switch.cs:131:17:131:53 | After ... switch { ... } [null] | Switch.cs:131:48:131:51 | After null [null] | -| Switch.cs:131:28:131:35 | After String s [match] | Switch.cs:131:28:131:35 | After String s [match] | | Switch.cs:131:28:131:35 | After String s [no-match] | Switch.cs:131:28:131:35 | After String s [no-match] | +| Switch.cs:131:28:131:35 | [OuterPatternMatch] String s | Switch.cs:131:28:131:35 | [OuterPatternMatch] String s | | Switch.cs:131:40:131:40 | After access to local variable s [non-null] | Switch.cs:131:40:131:40 | After access to local variable s [non-null] | | Switch.cs:131:40:131:40 | After access to local variable s [null] | Switch.cs:131:40:131:40 | After access to local variable s [null] | | Switch.cs:131:48:131:51 | After null [non-null] | Switch.cs:131:48:131:51 | After null [non-null] | @@ -23494,10 +23562,10 @@ postBlockDominance | TypeAccesses.cs:3:10:3:10 | Entry | TypeAccesses.cs:3:10:3:10 | Entry | | TypeAccesses.cs:7:9:7:25 | After if (...) ... | TypeAccesses.cs:3:10:3:10 | Entry | | TypeAccesses.cs:7:9:7:25 | After if (...) ... | TypeAccesses.cs:7:9:7:25 | After if (...) ... | -| TypeAccesses.cs:7:9:7:25 | After if (...) ... | TypeAccesses.cs:7:13:7:22 | After ... is ... [false] | -| TypeAccesses.cs:7:9:7:25 | After if (...) ... | TypeAccesses.cs:7:13:7:22 | [MatchTrue] ... is ... | -| TypeAccesses.cs:7:13:7:22 | After ... is ... [false] | TypeAccesses.cs:7:13:7:22 | After ... is ... [false] | -| TypeAccesses.cs:7:13:7:22 | [MatchTrue] ... is ... | TypeAccesses.cs:7:13:7:22 | [MatchTrue] ... is ... | +| TypeAccesses.cs:7:9:7:25 | After if (...) ... | TypeAccesses.cs:7:18:7:22 | After Int32 j [no-match] | +| TypeAccesses.cs:7:9:7:25 | After if (...) ... | TypeAccesses.cs:7:18:7:22 | [OuterPatternMatch] Int32 j | +| TypeAccesses.cs:7:18:7:22 | After Int32 j [no-match] | TypeAccesses.cs:7:18:7:22 | After Int32 j [no-match] | +| TypeAccesses.cs:7:18:7:22 | [OuterPatternMatch] Int32 j | TypeAccesses.cs:7:18:7:22 | [OuterPatternMatch] Int32 j | | VarDecls.cs:3:7:3:14 | Entry | VarDecls.cs:3:7:3:14 | Entry | | VarDecls.cs:5:18:5:19 | Entry | VarDecls.cs:5:18:5:19 | Entry | | VarDecls.cs:13:12:13:13 | Entry | VarDecls.cs:13:12:13:13 | Entry | diff --git a/csharp/ql/test/library-tests/controlflow/graph/EnclosingCallable.expected b/csharp/ql/test/library-tests/controlflow/graph/EnclosingCallable.expected index f00e46d67483..e6f2e5194797 100644 --- a/csharp/ql/test/library-tests/controlflow/graph/EnclosingCallable.expected +++ b/csharp/ql/test/library-tests/controlflow/graph/EnclosingCallable.expected @@ -5664,11 +5664,11 @@ nodeEnclosing | Patterns.cs:8:13:8:23 | ... is ... | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:8:13:8:23 | After ... is ... [false] | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:8:13:8:23 | After ... is ... [true] | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:8:13:8:23 | Before ... is ... | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:8:13:8:23 | [MatchTrue] ... is ... | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:8:18:8:23 | After Int32 i1 | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:8:18:8:23 | Before Int32 i1 | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:8:18:8:23 | After Int32 i1 [match] | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:8:18:8:23 | After Int32 i1 [no-match] | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:8:18:8:23 | Int32 i1 | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:8:18:8:23 | [OuterPatternMatch] Int32 i1 | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:8:22:8:23 | After access to local variable i1 [match] | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:8:22:8:23 | access to local variable i1 | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:9:9:11:9 | After {...} | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:9:9:11:9 | {...} | Patterns.cs:5:10:5:11 | M1 | @@ -5691,11 +5691,11 @@ nodeEnclosing | Patterns.cs:12:18:12:31 | ... is ... | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:12:18:12:31 | After ... is ... [false] | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:12:18:12:31 | After ... is ... [true] | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:12:18:12:31 | Before ... is ... | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:12:18:12:31 | [MatchTrue] ... is ... | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:12:23:12:31 | After String s1 | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:12:23:12:31 | Before String s1 | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:12:23:12:31 | After String s1 [match] | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:12:23:12:31 | After String s1 [no-match] | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:12:23:12:31 | String s1 | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:12:23:12:31 | [OuterPatternMatch] String s1 | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:12:30:12:31 | After access to local variable s1 [match] | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:12:30:12:31 | access to local variable s1 | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:13:9:15:9 | After {...} | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:13:9:15:9 | {...} | Patterns.cs:5:10:5:11 | M1 | @@ -5716,13 +5716,11 @@ nodeEnclosing | Patterns.cs:16:14:18:9 | if (...) ... | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:16:18:16:18 | access to local variable o | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:16:18:16:28 | ... is ... | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:16:18:16:28 | After ... is ... [false] | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:16:18:16:28 | After ... is ... [true] | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:16:18:16:28 | Before ... is ... | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:16:18:16:28 | [MatchTrue] ... is ... | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:16:23:16:28 | After Object v1 | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:16:23:16:28 | Before Object v1 | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:16:23:16:28 | After Object v1 [match] | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:16:23:16:28 | Object v1 | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:16:23:16:28 | [OuterPatternMatch] Object v1 | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:16:27:16:28 | After access to local variable v1 [match] | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:16:27:16:28 | access to local variable v1 | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:17:9:18:9 | {...} | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:5:10:5:11 | M1 | @@ -5741,8 +5739,9 @@ nodeEnclosing | Patterns.cs:24:13:24:36 | case ...: | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:24:18:24:23 | After Int32 i2 [match] | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:24:18:24:23 | After Int32 i2 [no-match] | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:24:18:24:23 | Before Int32 i2 | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:24:18:24:23 | Int32 i2 | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:24:18:24:23 | [OuterPatternMatch] Int32 i2 | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:24:22:24:23 | After access to local variable i2 [match] | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:24:22:24:23 | access to local variable i2 | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:24:30:24:31 | access to local variable i2 | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:24:30:24:35 | ... > ... | Patterns.cs:5:10:5:11 | M1 | @@ -5770,8 +5769,9 @@ nodeEnclosing | Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:27:18:27:23 | After Int32 i3 [match] | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:27:18:27:23 | Before Int32 i3 | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:27:18:27:23 | Int32 i3 | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:27:18:27:23 | [OuterPatternMatch] Int32 i3 | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:27:22:27:23 | After access to local variable i3 [match] | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:27:22:27:23 | access to local variable i3 | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:28:17:28:46 | After call to method WriteLine | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:28:17:28:46 | Before call to method WriteLine | Patterns.cs:5:10:5:11 | M1 | @@ -5793,8 +5793,9 @@ nodeEnclosing | Patterns.cs:30:13:30:27 | case ...: | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:30:18:30:26 | After String s2 [match] | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:30:18:30:26 | After String s2 [no-match] | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:30:18:30:26 | Before String s2 | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:30:18:30:26 | String s2 | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:30:18:30:26 | [OuterPatternMatch] String s2 | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:30:25:30:26 | After access to local variable s2 [match] | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:30:25:30:26 | access to local variable s2 | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:31:17:31:49 | After call to method WriteLine | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:31:17:31:49 | Before call to method WriteLine | Patterns.cs:5:10:5:11 | M1 | @@ -5812,25 +5813,14 @@ nodeEnclosing | Patterns.cs:32:17:32:22 | Before break; | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:32:17:32:22 | break; | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:33:13:33:24 | After case ...: [match] | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:33:13:33:24 | After case ...: [no-match] | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:33:13:33:24 | case ...: | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:33:18:33:23 | After Object v2 [match] | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:33:18:33:23 | After Object v2 [no-match] | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:33:18:33:23 | Before Object v2 | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:33:18:33:23 | Object v2 | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:33:18:33:23 | [OuterPatternMatch] Object v2 | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:33:22:33:23 | After access to local variable v2 [match] | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:33:22:33:23 | access to local variable v2 | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:34:17:34:22 | Before break; | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:34:17:34:22 | break; | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:35:13:35:20 | After default: [match] | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:35:13:35:20 | default: | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:36:17:36:51 | After call to method WriteLine | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:36:17:36:51 | Before call to method WriteLine | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:36:17:36:51 | call to method WriteLine | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:36:17:36:52 | ...; | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:36:17:36:52 | After ...; | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:36:35:36:50 | "Something else" | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:37:17:37:22 | Before break; | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:37:17:37:22 | break; | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:40:9:42:9 | After switch (...) {...} | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:40:9:42:9 | switch (...) {...} | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:40:17:40:17 | access to local variable o | Patterns.cs:5:10:5:11 | M1 | @@ -5841,11 +5831,11 @@ nodeEnclosing | Patterns.cs:48:9:48:9 | access to parameter c | Patterns.cs:47:24:47:25 | M2 | | Patterns.cs:48:9:48:20 | ... is ... | Patterns.cs:47:24:47:25 | M2 | | Patterns.cs:48:9:48:20 | After ... is ... | Patterns.cs:47:24:47:25 | M2 | -| Patterns.cs:48:9:48:20 | Before ... is ... | Patterns.cs:47:24:47:25 | M2 | -| Patterns.cs:48:9:48:20 | [MatchTrue] ... is ... | Patterns.cs:47:24:47:25 | M2 | -| Patterns.cs:48:14:48:20 | After not ... | Patterns.cs:47:24:47:25 | M2 | -| Patterns.cs:48:14:48:20 | Before not ... | Patterns.cs:47:24:47:25 | M2 | +| Patterns.cs:48:14:48:20 | After not ... [match] | Patterns.cs:47:24:47:25 | M2 | +| Patterns.cs:48:14:48:20 | After not ... [no-match] | Patterns.cs:47:24:47:25 | M2 | | Patterns.cs:48:14:48:20 | not ... | Patterns.cs:47:24:47:25 | M2 | +| Patterns.cs:48:18:48:20 | After a [match] | Patterns.cs:47:24:47:25 | M2 | +| Patterns.cs:48:18:48:20 | After a [no-match] | Patterns.cs:47:24:47:25 | M2 | | Patterns.cs:48:18:48:20 | a | Patterns.cs:47:24:47:25 | M2 | | Patterns.cs:50:24:50:25 | Entry | Patterns.cs:50:24:50:25 | M3 | | Patterns.cs:50:24:50:25 | Exit | Patterns.cs:50:24:50:25 | M3 | @@ -5855,26 +5845,26 @@ nodeEnclosing | Patterns.cs:51:9:51:21 | ... is ... | Patterns.cs:50:24:50:25 | M3 | | Patterns.cs:51:9:51:21 | After ... is ... [false] | Patterns.cs:50:24:50:25 | M3 | | Patterns.cs:51:9:51:21 | After ... is ... [true] | Patterns.cs:50:24:50:25 | M3 | -| Patterns.cs:51:9:51:21 | Before ... is ... | Patterns.cs:50:24:50:25 | M3 | -| Patterns.cs:51:9:51:21 | [MatchTrue] ... is ... | Patterns.cs:50:24:50:25 | M3 | | Patterns.cs:51:9:51:39 | ... ? ... : ... | Patterns.cs:50:24:50:25 | M3 | | Patterns.cs:51:9:51:39 | After ... ? ... : ... | Patterns.cs:50:24:50:25 | M3 | -| Patterns.cs:51:14:51:21 | After not ... | Patterns.cs:50:24:50:25 | M3 | -| Patterns.cs:51:14:51:21 | Before not ... | Patterns.cs:50:24:50:25 | M3 | +| Patterns.cs:51:14:51:21 | After not ... [match] | Patterns.cs:50:24:50:25 | M3 | +| Patterns.cs:51:14:51:21 | After not ... [no-match] | Patterns.cs:50:24:50:25 | M3 | | Patterns.cs:51:14:51:21 | not ... | Patterns.cs:50:24:50:25 | M3 | +| Patterns.cs:51:18:51:21 | After null [match] | Patterns.cs:50:24:50:25 | M3 | +| Patterns.cs:51:18:51:21 | After null [no-match] | Patterns.cs:50:24:50:25 | M3 | | Patterns.cs:51:18:51:21 | null | Patterns.cs:50:24:50:25 | M3 | | Patterns.cs:51:25:51:25 | access to parameter c | Patterns.cs:50:24:50:25 | M3 | | Patterns.cs:51:25:51:30 | ... is ... | Patterns.cs:50:24:50:25 | M3 | | Patterns.cs:51:25:51:30 | After ... is ... | Patterns.cs:50:24:50:25 | M3 | -| Patterns.cs:51:25:51:30 | Before ... is ... | Patterns.cs:50:24:50:25 | M3 | -| Patterns.cs:51:25:51:30 | [MatchTrue] ... is ... | Patterns.cs:50:24:50:25 | M3 | | Patterns.cs:51:30:51:30 | 1 | Patterns.cs:50:24:50:25 | M3 | +| Patterns.cs:51:30:51:30 | After 1 [match] | Patterns.cs:50:24:50:25 | M3 | +| Patterns.cs:51:30:51:30 | After 1 [no-match] | Patterns.cs:50:24:50:25 | M3 | | Patterns.cs:51:34:51:34 | access to parameter c | Patterns.cs:50:24:50:25 | M3 | | Patterns.cs:51:34:51:39 | ... is ... | Patterns.cs:50:24:50:25 | M3 | | Patterns.cs:51:34:51:39 | After ... is ... | Patterns.cs:50:24:50:25 | M3 | -| Patterns.cs:51:34:51:39 | Before ... is ... | Patterns.cs:50:24:50:25 | M3 | -| Patterns.cs:51:34:51:39 | [MatchTrue] ... is ... | Patterns.cs:50:24:50:25 | M3 | | Patterns.cs:51:39:51:39 | 2 | Patterns.cs:50:24:50:25 | M3 | +| Patterns.cs:51:39:51:39 | After 2 [match] | Patterns.cs:50:24:50:25 | M3 | +| Patterns.cs:51:39:51:39 | After 2 [no-match] | Patterns.cs:50:24:50:25 | M3 | | Patterns.cs:53:24:53:25 | Entry | Patterns.cs:53:24:53:25 | M4 | | Patterns.cs:53:24:53:25 | Exit | Patterns.cs:53:24:53:25 | M4 | | Patterns.cs:53:24:53:25 | Normal Exit | Patterns.cs:53:24:53:25 | M4 | @@ -5882,22 +5872,26 @@ nodeEnclosing | Patterns.cs:54:9:54:9 | access to parameter c | Patterns.cs:53:24:53:25 | M4 | | Patterns.cs:54:9:54:37 | ... is ... | Patterns.cs:53:24:53:25 | M4 | | Patterns.cs:54:9:54:37 | After ... is ... | Patterns.cs:53:24:53:25 | M4 | -| Patterns.cs:54:9:54:37 | Before ... is ... | Patterns.cs:53:24:53:25 | M4 | -| Patterns.cs:54:9:54:37 | [MatchTrue] ... is ... | Patterns.cs:53:24:53:25 | M4 | -| Patterns.cs:54:14:54:37 | After not ... | Patterns.cs:53:24:53:25 | M4 | -| Patterns.cs:54:14:54:37 | Before not ... | Patterns.cs:53:24:53:25 | M4 | +| Patterns.cs:54:14:54:37 | After not ... [match] | Patterns.cs:53:24:53:25 | M4 | +| Patterns.cs:54:14:54:37 | After not ... [no-match] | Patterns.cs:53:24:53:25 | M4 | | Patterns.cs:54:14:54:37 | not ... | Patterns.cs:53:24:53:25 | M4 | +| Patterns.cs:54:18:54:25 | After access to type Patterns [match] | Patterns.cs:53:24:53:25 | M4 | +| Patterns.cs:54:18:54:25 | After access to type Patterns [no-match] | Patterns.cs:53:24:53:25 | M4 | | Patterns.cs:54:18:54:25 | access to type Patterns | Patterns.cs:53:24:53:25 | M4 | -| Patterns.cs:54:18:54:37 | After Patterns u | Patterns.cs:53:24:53:25 | M4 | -| Patterns.cs:54:18:54:37 | After { ... } | Patterns.cs:53:24:53:25 | M4 | -| Patterns.cs:54:18:54:37 | Before Patterns u | Patterns.cs:53:24:53:25 | M4 | -| Patterns.cs:54:18:54:37 | Before { ... } | Patterns.cs:53:24:53:25 | M4 | +| Patterns.cs:54:18:54:37 | After Patterns u [match] | Patterns.cs:53:24:53:25 | M4 | +| Patterns.cs:54:18:54:37 | After { ... } [match] | Patterns.cs:53:24:53:25 | M4 | +| Patterns.cs:54:18:54:37 | After { ... } [no-match] | Patterns.cs:53:24:53:25 | M4 | | Patterns.cs:54:18:54:37 | Patterns u | Patterns.cs:53:24:53:25 | M4 | +| Patterns.cs:54:18:54:37 | [OuterPatternMatch] Patterns u | Patterns.cs:53:24:53:25 | M4 | | Patterns.cs:54:18:54:37 | { ... } | Patterns.cs:53:24:53:25 | M4 | -| Patterns.cs:54:27:54:35 | After { ... } | Patterns.cs:53:24:53:25 | M4 | -| Patterns.cs:54:27:54:35 | Before { ... } | Patterns.cs:53:24:53:25 | M4 | +| Patterns.cs:54:27:54:35 | After { ... } [match] | Patterns.cs:53:24:53:25 | M4 | +| Patterns.cs:54:27:54:35 | After { ... } [no-match] | Patterns.cs:53:24:53:25 | M4 | +| Patterns.cs:54:27:54:35 | [OuterPatternMatch] { ... } | Patterns.cs:53:24:53:25 | M4 | | Patterns.cs:54:27:54:35 | { ... } | Patterns.cs:53:24:53:25 | M4 | | Patterns.cs:54:33:54:33 | 1 | Patterns.cs:53:24:53:25 | M4 | +| Patterns.cs:54:33:54:33 | After 1 [match] | Patterns.cs:53:24:53:25 | M4 | +| Patterns.cs:54:33:54:33 | After 1 [no-match] | Patterns.cs:53:24:53:25 | M4 | +| Patterns.cs:54:37:54:37 | After access to local variable u [match] | Patterns.cs:53:24:53:25 | M4 | | Patterns.cs:54:37:54:37 | access to local variable u | Patterns.cs:53:24:53:25 | M4 | | Patterns.cs:56:26:56:27 | Entry | Patterns.cs:56:26:56:27 | M5 | | Patterns.cs:56:26:56:27 | Exit | Patterns.cs:56:26:56:27 | M5 | @@ -5911,12 +5905,13 @@ nodeEnclosing | Patterns.cs:58:16:62:9 | After ... switch { ... } | Patterns.cs:56:26:56:27 | M5 | | Patterns.cs:60:13:60:17 | After not ... [match] | Patterns.cs:56:26:56:27 | M5 | | Patterns.cs:60:13:60:17 | After not ... [no-match] | Patterns.cs:56:26:56:27 | M5 | -| Patterns.cs:60:13:60:17 | Before not ... | Patterns.cs:56:26:56:27 | M5 | | Patterns.cs:60:13:60:17 | not ... | Patterns.cs:56:26:56:27 | M5 | | Patterns.cs:60:13:60:28 | ... => ... | Patterns.cs:56:26:56:27 | M5 | | Patterns.cs:60:13:60:28 | After ... => ... [match] | Patterns.cs:56:26:56:27 | M5 | | Patterns.cs:60:13:60:28 | After ... => ... [no-match] | Patterns.cs:56:26:56:27 | M5 | | Patterns.cs:60:17:60:17 | 1 | Patterns.cs:56:26:56:27 | M5 | +| Patterns.cs:60:17:60:17 | After 1 [match] | Patterns.cs:56:26:56:27 | M5 | +| Patterns.cs:60:17:60:17 | After 1 [no-match] | Patterns.cs:56:26:56:27 | M5 | | Patterns.cs:60:22:60:28 | "not 1" | Patterns.cs:56:26:56:27 | M5 | | Patterns.cs:61:13:61:13 | After _ [match] | Patterns.cs:56:26:56:27 | M5 | | Patterns.cs:61:13:61:13 | _ | Patterns.cs:56:26:56:27 | M5 | @@ -5934,12 +5929,13 @@ nodeEnclosing | Patterns.cs:67:16:71:9 | After ... switch { ... } | Patterns.cs:65:26:65:27 | M6 | | Patterns.cs:69:13:69:17 | After not ... [match] | Patterns.cs:65:26:65:27 | M6 | | Patterns.cs:69:13:69:17 | After not ... [no-match] | Patterns.cs:65:26:65:27 | M6 | -| Patterns.cs:69:13:69:17 | Before not ... | Patterns.cs:65:26:65:27 | M6 | | Patterns.cs:69:13:69:17 | not ... | Patterns.cs:65:26:65:27 | M6 | | Patterns.cs:69:13:69:33 | ... => ... | Patterns.cs:65:26:65:27 | M6 | | Patterns.cs:69:13:69:33 | After ... => ... [match] | Patterns.cs:65:26:65:27 | M6 | | Patterns.cs:69:13:69:33 | After ... => ... [no-match] | Patterns.cs:65:26:65:27 | M6 | | Patterns.cs:69:17:69:17 | 2 | Patterns.cs:65:26:65:27 | M6 | +| Patterns.cs:69:17:69:17 | After 2 [match] | Patterns.cs:65:26:65:27 | M6 | +| Patterns.cs:69:17:69:17 | After 2 [no-match] | Patterns.cs:65:26:65:27 | M6 | | Patterns.cs:69:22:69:33 | "impossible" | Patterns.cs:65:26:65:27 | M6 | | Patterns.cs:70:13:70:13 | 2 | Patterns.cs:65:26:65:27 | M6 | | Patterns.cs:70:13:70:13 | After 2 [match] | Patterns.cs:65:26:65:27 | M6 | @@ -5996,18 +5992,20 @@ nodeEnclosing | Patterns.cs:85:39:85:53 | ... is ... | Patterns.cs:85:26:85:27 | M8 | | Patterns.cs:85:39:85:53 | After ... is ... [false] | Patterns.cs:85:26:85:27 | M8 | | Patterns.cs:85:39:85:53 | After ... is ... [true] | Patterns.cs:85:26:85:27 | M8 | -| Patterns.cs:85:39:85:53 | Before ... is ... | Patterns.cs:85:26:85:27 | M8 | -| Patterns.cs:85:39:85:53 | [MatchTrue] ... is ... | Patterns.cs:85:26:85:27 | M8 | | Patterns.cs:85:39:85:69 | ... ? ... : ... | Patterns.cs:85:26:85:27 | M8 | | Patterns.cs:85:39:85:69 | After ... ? ... : ... | Patterns.cs:85:26:85:27 | M8 | | Patterns.cs:85:44:85:44 | 1 | Patterns.cs:85:26:85:27 | M8 | +| Patterns.cs:85:44:85:44 | After 1 [match] | Patterns.cs:85:26:85:27 | M8 | +| Patterns.cs:85:44:85:44 | After 1 [no-match] | Patterns.cs:85:26:85:27 | M8 | | Patterns.cs:85:44:85:53 | ... or ... | Patterns.cs:85:26:85:27 | M8 | -| Patterns.cs:85:44:85:53 | After ... or ... | Patterns.cs:85:26:85:27 | M8 | -| Patterns.cs:85:44:85:53 | Before ... or ... | Patterns.cs:85:26:85:27 | M8 | -| Patterns.cs:85:49:85:53 | After not ... | Patterns.cs:85:26:85:27 | M8 | -| Patterns.cs:85:49:85:53 | Before not ... | Patterns.cs:85:26:85:27 | M8 | +| Patterns.cs:85:44:85:53 | After ... or ... [match] | Patterns.cs:85:26:85:27 | M8 | +| Patterns.cs:85:44:85:53 | After ... or ... [no-match] | Patterns.cs:85:26:85:27 | M8 | +| Patterns.cs:85:49:85:53 | After not ... [match] | Patterns.cs:85:26:85:27 | M8 | +| Patterns.cs:85:49:85:53 | After not ... [no-match] | Patterns.cs:85:26:85:27 | M8 | | Patterns.cs:85:49:85:53 | not ... | Patterns.cs:85:26:85:27 | M8 | | Patterns.cs:85:53:85:53 | 2 | Patterns.cs:85:26:85:27 | M8 | +| Patterns.cs:85:53:85:53 | After 2 [match] | Patterns.cs:85:26:85:27 | M8 | +| Patterns.cs:85:53:85:53 | After 2 [no-match] | Patterns.cs:85:26:85:27 | M8 | | Patterns.cs:85:57:85:63 | "not 2" | Patterns.cs:85:26:85:27 | M8 | | Patterns.cs:85:67:85:69 | "2" | Patterns.cs:85:26:85:27 | M8 | | Patterns.cs:87:26:87:27 | Entry | Patterns.cs:87:26:87:27 | M9 | @@ -6018,18 +6016,20 @@ nodeEnclosing | Patterns.cs:87:39:87:54 | ... is ... | Patterns.cs:87:26:87:27 | M9 | | Patterns.cs:87:39:87:54 | After ... is ... [false] | Patterns.cs:87:26:87:27 | M9 | | Patterns.cs:87:39:87:54 | After ... is ... [true] | Patterns.cs:87:26:87:27 | M9 | -| Patterns.cs:87:39:87:54 | Before ... is ... | Patterns.cs:87:26:87:27 | M9 | -| Patterns.cs:87:39:87:54 | [MatchTrue] ... is ... | Patterns.cs:87:26:87:27 | M9 | | Patterns.cs:87:39:87:70 | ... ? ... : ... | Patterns.cs:87:26:87:27 | M9 | | Patterns.cs:87:39:87:70 | After ... ? ... : ... | Patterns.cs:87:26:87:27 | M9 | | Patterns.cs:87:44:87:44 | 1 | Patterns.cs:87:26:87:27 | M9 | +| Patterns.cs:87:44:87:44 | After 1 [match] | Patterns.cs:87:26:87:27 | M9 | +| Patterns.cs:87:44:87:44 | After 1 [no-match] | Patterns.cs:87:26:87:27 | M9 | | Patterns.cs:87:44:87:54 | ... and ... | Patterns.cs:87:26:87:27 | M9 | -| Patterns.cs:87:44:87:54 | After ... and ... | Patterns.cs:87:26:87:27 | M9 | -| Patterns.cs:87:44:87:54 | Before ... and ... | Patterns.cs:87:26:87:27 | M9 | -| Patterns.cs:87:50:87:54 | After not ... | Patterns.cs:87:26:87:27 | M9 | -| Patterns.cs:87:50:87:54 | Before not ... | Patterns.cs:87:26:87:27 | M9 | +| Patterns.cs:87:44:87:54 | After ... and ... [match] | Patterns.cs:87:26:87:27 | M9 | +| Patterns.cs:87:44:87:54 | After ... and ... [no-match] | Patterns.cs:87:26:87:27 | M9 | +| Patterns.cs:87:50:87:54 | After not ... [match] | Patterns.cs:87:26:87:27 | M9 | +| Patterns.cs:87:50:87:54 | After not ... [no-match] | Patterns.cs:87:26:87:27 | M9 | | Patterns.cs:87:50:87:54 | not ... | Patterns.cs:87:26:87:27 | M9 | | Patterns.cs:87:54:87:54 | 2 | Patterns.cs:87:26:87:27 | M9 | +| Patterns.cs:87:54:87:54 | After 2 [match] | Patterns.cs:87:26:87:27 | M9 | +| Patterns.cs:87:54:87:54 | After 2 [no-match] | Patterns.cs:87:26:87:27 | M9 | | Patterns.cs:87:58:87:60 | "1" | Patterns.cs:87:26:87:27 | M9 | | Patterns.cs:87:64:87:70 | "not 1" | Patterns.cs:87:26:87:27 | M9 | | Patterns.cs:93:17:93:19 | Entry | Patterns.cs:93:17:93:19 | M10 | @@ -6043,18 +6043,21 @@ nodeEnclosing | Patterns.cs:95:13:95:40 | ... is ... | Patterns.cs:93:17:93:19 | M10 | | Patterns.cs:95:13:95:40 | After ... is ... [false] | Patterns.cs:93:17:93:19 | M10 | | Patterns.cs:95:13:95:40 | After ... is ... [true] | Patterns.cs:93:17:93:19 | M10 | -| Patterns.cs:95:13:95:40 | Before ... is ... | Patterns.cs:93:17:93:19 | M10 | -| Patterns.cs:95:13:95:40 | [MatchTrue] ... is ... | Patterns.cs:93:17:93:19 | M10 | -| Patterns.cs:95:21:95:40 | After { ... } | Patterns.cs:93:17:93:19 | M10 | -| Patterns.cs:95:21:95:40 | After { ... } | Patterns.cs:93:17:93:19 | M10 | -| Patterns.cs:95:21:95:40 | Before { ... } | Patterns.cs:93:17:93:19 | M10 | -| Patterns.cs:95:21:95:40 | Before { ... } | Patterns.cs:93:17:93:19 | M10 | +| Patterns.cs:95:21:95:40 | After { ... } [match] | Patterns.cs:93:17:93:19 | M10 | +| Patterns.cs:95:21:95:40 | After { ... } [match] | Patterns.cs:93:17:93:19 | M10 | +| Patterns.cs:95:21:95:40 | After { ... } [no-match] | Patterns.cs:93:17:93:19 | M10 | +| Patterns.cs:95:21:95:40 | After { ... } [no-match] | Patterns.cs:93:17:93:19 | M10 | +| Patterns.cs:95:21:95:40 | [OuterPatternMatch] { ... } | Patterns.cs:93:17:93:19 | M10 | | Patterns.cs:95:21:95:40 | { ... } | Patterns.cs:93:17:93:19 | M10 | | Patterns.cs:95:21:95:40 | { ... } | Patterns.cs:93:17:93:19 | M10 | +| Patterns.cs:95:29:95:31 | After access to constant A [match] | Patterns.cs:93:17:93:19 | M10 | +| Patterns.cs:95:29:95:31 | After access to constant A [no-match] | Patterns.cs:93:17:93:19 | M10 | | Patterns.cs:95:29:95:31 | access to constant A | Patterns.cs:93:17:93:19 | M10 | | Patterns.cs:95:29:95:38 | ... or ... | Patterns.cs:93:17:93:19 | M10 | -| Patterns.cs:95:29:95:38 | After ... or ... | Patterns.cs:93:17:93:19 | M10 | -| Patterns.cs:95:29:95:38 | Before ... or ... | Patterns.cs:93:17:93:19 | M10 | +| Patterns.cs:95:29:95:38 | After ... or ... [match] | Patterns.cs:93:17:93:19 | M10 | +| Patterns.cs:95:29:95:38 | After ... or ... [no-match] | Patterns.cs:93:17:93:19 | M10 | +| Patterns.cs:95:36:95:38 | After access to constant B [match] | Patterns.cs:93:17:93:19 | M10 | +| Patterns.cs:95:36:95:38 | After access to constant B [no-match] | Patterns.cs:93:17:93:19 | M10 | | Patterns.cs:95:36:95:38 | access to constant B | Patterns.cs:93:17:93:19 | M10 | | Patterns.cs:96:9:98:9 | After {...} | Patterns.cs:93:17:93:19 | M10 | | Patterns.cs:96:9:98:9 | {...} | Patterns.cs:93:17:93:19 | M10 | @@ -6099,8 +6102,8 @@ nodeEnclosing | PostDominance.cs:12:13:12:21 | ... is ... | PostDominance.cs:10:10:10:11 | M2 | | PostDominance.cs:12:13:12:21 | After ... is ... [false] | PostDominance.cs:10:10:10:11 | M2 | | PostDominance.cs:12:13:12:21 | After ... is ... [true] | PostDominance.cs:10:10:10:11 | M2 | -| PostDominance.cs:12:13:12:21 | Before ... is ... | PostDominance.cs:10:10:10:11 | M2 | -| PostDominance.cs:12:13:12:21 | [MatchTrue] ... is ... | PostDominance.cs:10:10:10:11 | M2 | +| PostDominance.cs:12:18:12:21 | After null [match] | PostDominance.cs:10:10:10:11 | M2 | +| PostDominance.cs:12:18:12:21 | After null [no-match] | PostDominance.cs:10:10:10:11 | M2 | | PostDominance.cs:12:18:12:21 | null | PostDominance.cs:10:10:10:11 | M2 | | PostDominance.cs:13:13:13:19 | Before return ...; | PostDominance.cs:10:10:10:11 | M2 | | PostDominance.cs:13:13:13:19 | return ...; | PostDominance.cs:10:10:10:11 | M2 | @@ -6123,8 +6126,8 @@ nodeEnclosing | PostDominance.cs:19:13:19:21 | ... is ... | PostDominance.cs:17:10:17:11 | M3 | | PostDominance.cs:19:13:19:21 | After ... is ... [false] | PostDominance.cs:17:10:17:11 | M3 | | PostDominance.cs:19:13:19:21 | After ... is ... [true] | PostDominance.cs:17:10:17:11 | M3 | -| PostDominance.cs:19:13:19:21 | Before ... is ... | PostDominance.cs:17:10:17:11 | M3 | -| PostDominance.cs:19:13:19:21 | [MatchTrue] ... is ... | PostDominance.cs:17:10:17:11 | M3 | +| PostDominance.cs:19:18:19:21 | After null [match] | PostDominance.cs:17:10:17:11 | M3 | +| PostDominance.cs:19:18:19:21 | After null [no-match] | PostDominance.cs:17:10:17:11 | M3 | | PostDominance.cs:19:18:19:21 | null | PostDominance.cs:17:10:17:11 | M3 | | PostDominance.cs:20:13:20:55 | Before throw ...; | PostDominance.cs:17:10:17:11 | M3 | | PostDominance.cs:20:13:20:55 | throw ...; | PostDominance.cs:17:10:17:11 | M3 | @@ -6366,8 +6369,9 @@ nodeEnclosing | Switch.cs:20:13:20:23 | case ...: | Switch.cs:10:10:10:11 | M2 | | Switch.cs:20:18:20:22 | After Int32 i [match] | Switch.cs:10:10:10:11 | M2 | | Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:10:10:10:11 | M2 | -| Switch.cs:20:18:20:22 | Before Int32 i | Switch.cs:10:10:10:11 | M2 | | Switch.cs:20:18:20:22 | Int32 i | Switch.cs:10:10:10:11 | M2 | +| Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | Switch.cs:10:10:10:11 | M2 | +| Switch.cs:20:22:20:22 | After access to local variable i [match] | Switch.cs:10:10:10:11 | M2 | | Switch.cs:20:22:20:22 | access to local variable i | Switch.cs:10:10:10:11 | M2 | | Switch.cs:21:17:22:27 | After if (...) ... | Switch.cs:10:10:10:11 | M2 | | Switch.cs:21:17:22:27 | if (...) ... | Switch.cs:10:10:10:11 | M2 | @@ -6387,8 +6391,9 @@ nodeEnclosing | Switch.cs:24:13:24:56 | case ...: | Switch.cs:10:10:10:11 | M2 | | Switch.cs:24:18:24:25 | After String s [match] | Switch.cs:10:10:10:11 | M2 | | Switch.cs:24:18:24:25 | After String s [no-match] | Switch.cs:10:10:10:11 | M2 | -| Switch.cs:24:18:24:25 | Before String s | Switch.cs:10:10:10:11 | M2 | | Switch.cs:24:18:24:25 | String s | Switch.cs:10:10:10:11 | M2 | +| Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | Switch.cs:10:10:10:11 | M2 | +| Switch.cs:24:25:24:25 | After access to local variable s [match] | Switch.cs:10:10:10:11 | M2 | | Switch.cs:24:25:24:25 | access to local variable s | Switch.cs:10:10:10:11 | M2 | | Switch.cs:24:32:24:32 | access to local variable s | Switch.cs:10:10:10:11 | M2 | | Switch.cs:24:32:24:39 | After access to property Length | Switch.cs:10:10:10:11 | M2 | @@ -6421,8 +6426,9 @@ nodeEnclosing | Switch.cs:27:13:27:39 | case ...: | Switch.cs:10:10:10:11 | M2 | | Switch.cs:27:18:27:25 | After Double d [match] | Switch.cs:10:10:10:11 | M2 | | Switch.cs:27:18:27:25 | After Double d [no-match] | Switch.cs:10:10:10:11 | M2 | -| Switch.cs:27:18:27:25 | Before Double d | Switch.cs:10:10:10:11 | M2 | | Switch.cs:27:18:27:25 | Double d | Switch.cs:10:10:10:11 | M2 | +| Switch.cs:27:18:27:25 | [OuterPatternMatch] Double d | Switch.cs:10:10:10:11 | M2 | +| Switch.cs:27:25:27:25 | After access to local variable d [match] | Switch.cs:10:10:10:11 | M2 | | Switch.cs:27:25:27:25 | access to local variable d | Switch.cs:10:10:10:11 | M2 | | Switch.cs:27:32:27:38 | Before call to method Throw | Switch.cs:10:10:10:11 | M2 | | Switch.cs:27:32:27:38 | call to method Throw | Switch.cs:10:10:10:11 | M2 | @@ -6693,11 +6699,12 @@ nodeEnclosing | Switch.cs:125:13:125:48 | After ... switch { ... } [true] | Switch.cs:123:10:123:12 | M11 | | Switch.cs:125:24:125:29 | After Boolean b [match] | Switch.cs:123:10:123:12 | M11 | | Switch.cs:125:24:125:29 | After Boolean b [no-match] | Switch.cs:123:10:123:12 | M11 | -| Switch.cs:125:24:125:29 | Before Boolean b | Switch.cs:123:10:123:12 | M11 | | Switch.cs:125:24:125:29 | Boolean b | Switch.cs:123:10:123:12 | M11 | +| Switch.cs:125:24:125:29 | [OuterPatternMatch] Boolean b | Switch.cs:123:10:123:12 | M11 | | Switch.cs:125:24:125:34 | ... => ... | Switch.cs:123:10:123:12 | M11 | | Switch.cs:125:24:125:34 | After ... => ... [match] | Switch.cs:123:10:123:12 | M11 | | Switch.cs:125:24:125:34 | After ... => ... [no-match] | Switch.cs:123:10:123:12 | M11 | +| Switch.cs:125:29:125:29 | After access to local variable b [match] | Switch.cs:123:10:123:12 | M11 | | Switch.cs:125:29:125:29 | access to local variable b | Switch.cs:123:10:123:12 | M11 | | Switch.cs:125:34:125:34 | After access to local variable b [false] | Switch.cs:123:10:123:12 | M11 | | Switch.cs:125:34:125:34 | After access to local variable b [true] | Switch.cs:123:10:123:12 | M11 | @@ -6726,11 +6733,12 @@ nodeEnclosing | Switch.cs:131:17:131:53 | After ... switch { ... } [null] | Switch.cs:129:12:129:14 | M12 | | Switch.cs:131:28:131:35 | After String s [match] | Switch.cs:129:12:129:14 | M12 | | Switch.cs:131:28:131:35 | After String s [no-match] | Switch.cs:129:12:129:14 | M12 | -| Switch.cs:131:28:131:35 | Before String s | Switch.cs:129:12:129:14 | M12 | | Switch.cs:131:28:131:35 | String s | Switch.cs:129:12:129:14 | M12 | +| Switch.cs:131:28:131:35 | [OuterPatternMatch] String s | Switch.cs:129:12:129:14 | M12 | | Switch.cs:131:28:131:40 | ... => ... | Switch.cs:129:12:129:14 | M12 | | Switch.cs:131:28:131:40 | After ... => ... [match] | Switch.cs:129:12:129:14 | M12 | | Switch.cs:131:28:131:40 | After ... => ... [no-match] | Switch.cs:129:12:129:14 | M12 | +| Switch.cs:131:35:131:35 | After access to local variable s [match] | Switch.cs:129:12:129:14 | M12 | | Switch.cs:131:35:131:35 | access to local variable s | Switch.cs:129:12:129:14 | M12 | | Switch.cs:131:40:131:40 | After access to local variable s [non-null] | Switch.cs:129:12:129:14 | M12 | | Switch.cs:131:40:131:40 | After access to local variable s [null] | Switch.cs:129:12:129:14 | M12 | @@ -6964,11 +6972,11 @@ nodeEnclosing | TypeAccesses.cs:7:13:7:22 | ... is ... | TypeAccesses.cs:3:10:3:10 | M | | TypeAccesses.cs:7:13:7:22 | After ... is ... [false] | TypeAccesses.cs:3:10:3:10 | M | | TypeAccesses.cs:7:13:7:22 | After ... is ... [true] | TypeAccesses.cs:3:10:3:10 | M | -| TypeAccesses.cs:7:13:7:22 | Before ... is ... | TypeAccesses.cs:3:10:3:10 | M | -| TypeAccesses.cs:7:13:7:22 | [MatchTrue] ... is ... | TypeAccesses.cs:3:10:3:10 | M | -| TypeAccesses.cs:7:18:7:22 | After Int32 j | TypeAccesses.cs:3:10:3:10 | M | -| TypeAccesses.cs:7:18:7:22 | Before Int32 j | TypeAccesses.cs:3:10:3:10 | M | +| TypeAccesses.cs:7:18:7:22 | After Int32 j [match] | TypeAccesses.cs:3:10:3:10 | M | +| TypeAccesses.cs:7:18:7:22 | After Int32 j [no-match] | TypeAccesses.cs:3:10:3:10 | M | | TypeAccesses.cs:7:18:7:22 | Int32 j | TypeAccesses.cs:3:10:3:10 | M | +| TypeAccesses.cs:7:18:7:22 | [OuterPatternMatch] Int32 j | TypeAccesses.cs:3:10:3:10 | M | +| TypeAccesses.cs:7:22:7:22 | After access to local variable j [match] | TypeAccesses.cs:3:10:3:10 | M | | TypeAccesses.cs:7:22:7:22 | access to local variable j | TypeAccesses.cs:3:10:3:10 | M | | TypeAccesses.cs:7:25:7:25 | ; | TypeAccesses.cs:3:10:3:10 | M | | TypeAccesses.cs:8:9:8:28 | ... ...; | TypeAccesses.cs:3:10:3:10 | M | @@ -9446,50 +9454,54 @@ blockEnclosing | Patterns.cs:3:7:3:14 | Entry | Patterns.cs:3:7:3:14 | Patterns | | Patterns.cs:5:10:5:11 | Entry | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:8:13:8:23 | After ... is ... [false] | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:8:13:8:23 | [MatchTrue] ... is ... | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:8:18:8:23 | After Int32 i1 [no-match] | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:8:18:8:23 | [OuterPatternMatch] Int32 i1 | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:12:14:18:9 | After if (...) ... | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:12:18:12:31 | After ... is ... [false] | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:12:18:12:31 | [MatchTrue] ... is ... | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:16:14:18:9 | After if (...) ... | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:16:18:16:28 | After ... is ... [false] | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:16:18:16:28 | [MatchTrue] ... is ... | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:12:23:12:31 | After String s1 [no-match] | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:12:23:12:31 | [OuterPatternMatch] String s1 | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:22:18:22:22 | After "xyz" [match] | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:22:18:22:22 | After "xyz" [no-match] | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:24:18:24:23 | After Int32 i2 [match] | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:24:18:24:23 | After Int32 i2 [no-match] | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:24:18:24:23 | [OuterPatternMatch] Int32 i2 | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:24:30:24:35 | After ... > ... [false] | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:24:30:24:35 | After ... > ... [true] | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:27:18:27:23 | After Int32 i3 [match] | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:30:18:30:26 | After String s2 [match] | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:27:18:27:23 | [OuterPatternMatch] Int32 i3 | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:30:18:30:26 | After String s2 [no-match] | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:33:18:33:23 | After Object v2 [match] | Patterns.cs:5:10:5:11 | M1 | -| Patterns.cs:33:18:33:23 | After Object v2 [no-match] | Patterns.cs:5:10:5:11 | M1 | +| Patterns.cs:30:18:30:26 | [OuterPatternMatch] String s2 | Patterns.cs:5:10:5:11 | M1 | | Patterns.cs:47:24:47:25 | Entry | Patterns.cs:47:24:47:25 | M2 | | Patterns.cs:48:9:48:20 | After ... is ... | Patterns.cs:47:24:47:25 | M2 | -| Patterns.cs:48:9:48:20 | [MatchTrue] ... is ... | Patterns.cs:47:24:47:25 | M2 | +| Patterns.cs:48:18:48:20 | After a [match] | Patterns.cs:47:24:47:25 | M2 | +| Patterns.cs:48:18:48:20 | After a [no-match] | Patterns.cs:47:24:47:25 | M2 | | Patterns.cs:50:24:50:25 | Entry | Patterns.cs:50:24:50:25 | M3 | -| Patterns.cs:51:9:51:21 | After ... is ... [false] | Patterns.cs:50:24:50:25 | M3 | -| Patterns.cs:51:9:51:21 | [MatchTrue] ... is ... | Patterns.cs:50:24:50:25 | M3 | | Patterns.cs:51:9:51:39 | After ... ? ... : ... | Patterns.cs:50:24:50:25 | M3 | +| Patterns.cs:51:18:51:21 | After null [match] | Patterns.cs:50:24:50:25 | M3 | +| Patterns.cs:51:18:51:21 | After null [no-match] | Patterns.cs:50:24:50:25 | M3 | | Patterns.cs:51:25:51:30 | After ... is ... | Patterns.cs:50:24:50:25 | M3 | -| Patterns.cs:51:25:51:30 | [MatchTrue] ... is ... | Patterns.cs:50:24:50:25 | M3 | +| Patterns.cs:51:30:51:30 | After 1 [match] | Patterns.cs:50:24:50:25 | M3 | +| Patterns.cs:51:30:51:30 | After 1 [no-match] | Patterns.cs:50:24:50:25 | M3 | | Patterns.cs:51:34:51:39 | After ... is ... | Patterns.cs:50:24:50:25 | M3 | -| Patterns.cs:51:34:51:39 | [MatchTrue] ... is ... | Patterns.cs:50:24:50:25 | M3 | +| Patterns.cs:51:39:51:39 | After 2 [match] | Patterns.cs:50:24:50:25 | M3 | +| Patterns.cs:51:39:51:39 | After 2 [no-match] | Patterns.cs:50:24:50:25 | M3 | | Patterns.cs:53:24:53:25 | Entry | Patterns.cs:53:24:53:25 | M4 | | Patterns.cs:54:9:54:37 | After ... is ... | Patterns.cs:53:24:53:25 | M4 | -| Patterns.cs:54:9:54:37 | [MatchTrue] ... is ... | Patterns.cs:53:24:53:25 | M4 | +| Patterns.cs:54:18:54:25 | After access to type Patterns [match] | Patterns.cs:53:24:53:25 | M4 | +| Patterns.cs:54:18:54:25 | After access to type Patterns [no-match] | Patterns.cs:53:24:53:25 | M4 | +| Patterns.cs:54:18:54:37 | After { ... } [no-match] | Patterns.cs:53:24:53:25 | M4 | +| Patterns.cs:54:27:54:35 | After { ... } [no-match] | Patterns.cs:53:24:53:25 | M4 | +| Patterns.cs:54:27:54:35 | [OuterPatternMatch] { ... } | Patterns.cs:53:24:53:25 | M4 | +| Patterns.cs:54:33:54:33 | After 1 [match] | Patterns.cs:53:24:53:25 | M4 | +| Patterns.cs:54:33:54:33 | After 1 [no-match] | Patterns.cs:53:24:53:25 | M4 | | Patterns.cs:56:26:56:27 | Entry | Patterns.cs:56:26:56:27 | M5 | | Patterns.cs:58:16:62:9 | After ... switch { ... } | Patterns.cs:56:26:56:27 | M5 | -| Patterns.cs:60:13:60:17 | After not ... [match] | Patterns.cs:56:26:56:27 | M5 | -| Patterns.cs:60:13:60:17 | After not ... [no-match] | Patterns.cs:56:26:56:27 | M5 | +| Patterns.cs:60:17:60:17 | After 1 [match] | Patterns.cs:56:26:56:27 | M5 | +| Patterns.cs:60:17:60:17 | After 1 [no-match] | Patterns.cs:56:26:56:27 | M5 | | Patterns.cs:65:26:65:27 | Entry | Patterns.cs:65:26:65:27 | M6 | | Patterns.cs:67:16:71:9 | After ... switch { ... } | Patterns.cs:65:26:65:27 | M6 | -| Patterns.cs:69:13:69:17 | After not ... [match] | Patterns.cs:65:26:65:27 | M6 | -| Patterns.cs:69:13:69:17 | After not ... [no-match] | Patterns.cs:65:26:65:27 | M6 | +| Patterns.cs:69:17:69:17 | After 2 [match] | Patterns.cs:65:26:65:27 | M6 | +| Patterns.cs:69:17:69:17 | After 2 [no-match] | Patterns.cs:65:26:65:27 | M6 | | Patterns.cs:70:13:70:13 | After 2 [match] | Patterns.cs:65:26:65:27 | M6 | | Patterns.cs:70:13:70:13 | After 2 [no-match] | Patterns.cs:65:26:65:27 | M6 | | Patterns.cs:74:26:74:27 | Entry | Patterns.cs:74:26:74:27 | M7 | @@ -9501,27 +9513,38 @@ blockEnclosing | Patterns.cs:80:13:80:13 | After 1 [match] | Patterns.cs:74:26:74:27 | M7 | | Patterns.cs:80:13:80:13 | After 1 [no-match] | Patterns.cs:74:26:74:27 | M7 | | Patterns.cs:85:26:85:27 | Entry | Patterns.cs:85:26:85:27 | M8 | -| Patterns.cs:85:39:85:53 | After ... is ... [false] | Patterns.cs:85:26:85:27 | M8 | -| Patterns.cs:85:39:85:53 | [MatchTrue] ... is ... | Patterns.cs:85:26:85:27 | M8 | | Patterns.cs:85:39:85:69 | After ... ? ... : ... | Patterns.cs:85:26:85:27 | M8 | +| Patterns.cs:85:44:85:44 | After 1 [match] | Patterns.cs:85:26:85:27 | M8 | +| Patterns.cs:85:44:85:44 | After 1 [no-match] | Patterns.cs:85:26:85:27 | M8 | +| Patterns.cs:85:44:85:53 | After ... or ... [match] | Patterns.cs:85:26:85:27 | M8 | +| Patterns.cs:85:53:85:53 | After 2 [match] | Patterns.cs:85:26:85:27 | M8 | +| Patterns.cs:85:53:85:53 | After 2 [no-match] | Patterns.cs:85:26:85:27 | M8 | | Patterns.cs:87:26:87:27 | Entry | Patterns.cs:87:26:87:27 | M9 | -| Patterns.cs:87:39:87:54 | After ... is ... [false] | Patterns.cs:87:26:87:27 | M9 | -| Patterns.cs:87:39:87:54 | [MatchTrue] ... is ... | Patterns.cs:87:26:87:27 | M9 | | Patterns.cs:87:39:87:70 | After ... ? ... : ... | Patterns.cs:87:26:87:27 | M9 | +| Patterns.cs:87:44:87:44 | After 1 [match] | Patterns.cs:87:26:87:27 | M9 | +| Patterns.cs:87:44:87:44 | After 1 [no-match] | Patterns.cs:87:26:87:27 | M9 | +| Patterns.cs:87:44:87:54 | After ... and ... [no-match] | Patterns.cs:87:26:87:27 | M9 | +| Patterns.cs:87:54:87:54 | After 2 [match] | Patterns.cs:87:26:87:27 | M9 | +| Patterns.cs:87:54:87:54 | After 2 [no-match] | Patterns.cs:87:26:87:27 | M9 | | Patterns.cs:93:17:93:19 | Entry | Patterns.cs:93:17:93:19 | M10 | | Patterns.cs:95:9:98:9 | After if (...) ... | Patterns.cs:93:17:93:19 | M10 | -| Patterns.cs:95:13:95:40 | After ... is ... [false] | Patterns.cs:93:17:93:19 | M10 | -| Patterns.cs:95:13:95:40 | [MatchTrue] ... is ... | Patterns.cs:93:17:93:19 | M10 | +| Patterns.cs:95:21:95:40 | After { ... } [no-match] | Patterns.cs:93:17:93:19 | M10 | +| Patterns.cs:95:21:95:40 | [OuterPatternMatch] { ... } | Patterns.cs:93:17:93:19 | M10 | +| Patterns.cs:95:29:95:31 | After access to constant A [match] | Patterns.cs:93:17:93:19 | M10 | +| Patterns.cs:95:29:95:31 | After access to constant A [no-match] | Patterns.cs:93:17:93:19 | M10 | +| Patterns.cs:95:29:95:38 | After ... or ... [match] | Patterns.cs:93:17:93:19 | M10 | +| Patterns.cs:95:36:95:38 | After access to constant B [match] | Patterns.cs:93:17:93:19 | M10 | +| Patterns.cs:95:36:95:38 | After access to constant B [no-match] | Patterns.cs:93:17:93:19 | M10 | | PostDominance.cs:3:7:3:19 | Entry | PostDominance.cs:3:7:3:19 | PostDominance | | PostDominance.cs:5:10:5:11 | Entry | PostDominance.cs:5:10:5:11 | M1 | | PostDominance.cs:10:10:10:11 | Entry | PostDominance.cs:10:10:10:11 | M2 | | PostDominance.cs:10:10:10:11 | Normal Exit | PostDominance.cs:10:10:10:11 | M2 | -| PostDominance.cs:12:13:12:21 | After ... is ... [false] | PostDominance.cs:10:10:10:11 | M2 | -| PostDominance.cs:12:13:12:21 | [MatchTrue] ... is ... | PostDominance.cs:10:10:10:11 | M2 | +| PostDominance.cs:12:18:12:21 | After null [match] | PostDominance.cs:10:10:10:11 | M2 | +| PostDominance.cs:12:18:12:21 | After null [no-match] | PostDominance.cs:10:10:10:11 | M2 | | PostDominance.cs:17:10:17:11 | Entry | PostDominance.cs:17:10:17:11 | M3 | | PostDominance.cs:17:10:17:11 | Exit | PostDominance.cs:17:10:17:11 | M3 | -| PostDominance.cs:19:13:19:21 | After ... is ... [false] | PostDominance.cs:17:10:17:11 | M3 | -| PostDominance.cs:19:13:19:21 | [MatchTrue] ... is ... | PostDominance.cs:17:10:17:11 | M3 | +| PostDominance.cs:19:18:19:21 | After null [match] | PostDominance.cs:17:10:17:11 | M3 | +| PostDominance.cs:19:18:19:21 | After null [no-match] | PostDominance.cs:17:10:17:11 | M3 | | Qualifiers.cs:1:7:1:16 | Entry | Qualifiers.cs:1:7:1:16 | Qualifiers | | Qualifiers.cs:7:16:7:21 | Entry | Qualifiers.cs:7:16:7:21 | Method | | Qualifiers.cs:8:23:8:34 | Entry | Qualifiers.cs:8:23:8:34 | StaticMethod | @@ -9539,20 +9562,20 @@ blockEnclosing | Switch.cs:16:18:16:18 | After 0 [no-match] | Switch.cs:10:10:10:11 | M2 | | Switch.cs:18:18:18:21 | After null [match] | Switch.cs:10:10:10:11 | M2 | | Switch.cs:18:18:18:21 | After null [no-match] | Switch.cs:10:10:10:11 | M2 | -| Switch.cs:20:18:20:22 | After Int32 i [match] | Switch.cs:10:10:10:11 | M2 | | Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:10:10:10:11 | M2 | +| Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | Switch.cs:10:10:10:11 | M2 | | Switch.cs:21:21:21:29 | After ... == ... [false] | Switch.cs:10:10:10:11 | M2 | | Switch.cs:21:21:21:29 | After ... == ... [true] | Switch.cs:10:10:10:11 | M2 | -| Switch.cs:24:18:24:25 | After String s [match] | Switch.cs:10:10:10:11 | M2 | | Switch.cs:24:18:24:25 | After String s [no-match] | Switch.cs:10:10:10:11 | M2 | +| Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | Switch.cs:10:10:10:11 | M2 | | Switch.cs:24:32:24:43 | After ... > ... [false] | Switch.cs:10:10:10:11 | M2 | | Switch.cs:24:32:24:43 | After ... > ... [true] | Switch.cs:10:10:10:11 | M2 | | Switch.cs:24:32:24:55 | After ... && ... [false] | Switch.cs:10:10:10:11 | M2 | | Switch.cs:24:48:24:55 | After ... != ... [false] | Switch.cs:10:10:10:11 | M2 | | Switch.cs:24:48:24:55 | After ... != ... [true] | Switch.cs:10:10:10:11 | M2 | | Switch.cs:27:13:27:39 | case ...: | Switch.cs:10:10:10:11 | M2 | -| Switch.cs:27:18:27:25 | After Double d [match] | Switch.cs:10:10:10:11 | M2 | | Switch.cs:27:18:27:25 | After Double d [no-match] | Switch.cs:10:10:10:11 | M2 | +| Switch.cs:27:18:27:25 | [OuterPatternMatch] Double d | Switch.cs:10:10:10:11 | M2 | | Switch.cs:30:13:30:20 | After default: [match] | Switch.cs:10:10:10:11 | M2 | | Switch.cs:35:10:35:11 | Entry | Switch.cs:35:10:35:11 | M3 | | Switch.cs:44:10:44:11 | Entry | Switch.cs:44:10:44:11 | M4 | @@ -9613,16 +9636,16 @@ blockEnclosing | Switch.cs:123:10:123:12 | Entry | Switch.cs:123:10:123:12 | M11 | | Switch.cs:123:10:123:12 | Normal Exit | Switch.cs:123:10:123:12 | M11 | | Switch.cs:125:13:125:48 | After ... switch { ... } [false] | Switch.cs:123:10:123:12 | M11 | -| Switch.cs:125:24:125:29 | After Boolean b [match] | Switch.cs:123:10:123:12 | M11 | | Switch.cs:125:24:125:29 | After Boolean b [no-match] | Switch.cs:123:10:123:12 | M11 | +| Switch.cs:125:24:125:29 | [OuterPatternMatch] Boolean b | Switch.cs:123:10:123:12 | M11 | | Switch.cs:125:34:125:34 | After access to local variable b [false] | Switch.cs:123:10:123:12 | M11 | | Switch.cs:125:34:125:34 | After access to local variable b [true] | Switch.cs:123:10:123:12 | M11 | | Switch.cs:129:12:129:14 | Entry | Switch.cs:129:12:129:14 | M12 | | Switch.cs:131:16:131:66 | After call to method ToString | Switch.cs:129:12:129:14 | M12 | | Switch.cs:131:17:131:53 | After ... switch { ... } [non-null] | Switch.cs:129:12:129:14 | M12 | | Switch.cs:131:17:131:53 | After ... switch { ... } [null] | Switch.cs:129:12:129:14 | M12 | -| Switch.cs:131:28:131:35 | After String s [match] | Switch.cs:129:12:129:14 | M12 | | Switch.cs:131:28:131:35 | After String s [no-match] | Switch.cs:129:12:129:14 | M12 | +| Switch.cs:131:28:131:35 | [OuterPatternMatch] String s | Switch.cs:129:12:129:14 | M12 | | Switch.cs:131:40:131:40 | After access to local variable s [non-null] | Switch.cs:129:12:129:14 | M12 | | Switch.cs:131:40:131:40 | After access to local variable s [null] | Switch.cs:129:12:129:14 | M12 | | Switch.cs:131:48:131:51 | After null [non-null] | Switch.cs:129:12:129:14 | M12 | @@ -9660,8 +9683,8 @@ blockEnclosing | TypeAccesses.cs:1:7:1:18 | Entry | TypeAccesses.cs:1:7:1:18 | TypeAccesses | | TypeAccesses.cs:3:10:3:10 | Entry | TypeAccesses.cs:3:10:3:10 | M | | TypeAccesses.cs:7:9:7:25 | After if (...) ... | TypeAccesses.cs:3:10:3:10 | M | -| TypeAccesses.cs:7:13:7:22 | After ... is ... [false] | TypeAccesses.cs:3:10:3:10 | M | -| TypeAccesses.cs:7:13:7:22 | [MatchTrue] ... is ... | TypeAccesses.cs:3:10:3:10 | M | +| TypeAccesses.cs:7:18:7:22 | After Int32 j [no-match] | TypeAccesses.cs:3:10:3:10 | M | +| TypeAccesses.cs:7:18:7:22 | [OuterPatternMatch] Int32 j | TypeAccesses.cs:3:10:3:10 | M | | VarDecls.cs:3:7:3:14 | Entry | VarDecls.cs:3:7:3:14 | VarDecls | | VarDecls.cs:5:18:5:19 | Entry | VarDecls.cs:5:18:5:19 | M1 | | VarDecls.cs:13:12:13:13 | Entry | VarDecls.cs:13:12:13:13 | M2 | diff --git a/csharp/ql/test/library-tests/controlflow/graph/EntryElement.expected b/csharp/ql/test/library-tests/controlflow/graph/EntryElement.expected index 8010a6085ab0..646b3829a769 100644 --- a/csharp/ql/test/library-tests/controlflow/graph/EntryElement.expected +++ b/csharp/ql/test/library-tests/controlflow/graph/EntryElement.expected @@ -2574,8 +2574,8 @@ | Patterns.cs:7:20:7:23 | null | Patterns.cs:7:20:7:23 | null | | Patterns.cs:8:9:18:9 | if (...) ... | Patterns.cs:8:9:18:9 | if (...) ... | | Patterns.cs:8:13:8:13 | access to local variable o | Patterns.cs:8:13:8:13 | access to local variable o | -| Patterns.cs:8:13:8:23 | ... is ... | Patterns.cs:8:13:8:13 | access to local variable o | -| Patterns.cs:8:18:8:23 | Int32 i1 | Patterns.cs:8:22:8:23 | access to local variable i1 | +| Patterns.cs:8:13:8:23 | ... is ... | Patterns.cs:8:13:8:23 | ... is ... | +| Patterns.cs:8:18:8:23 | Int32 i1 | Patterns.cs:8:18:8:23 | Int32 i1 | | Patterns.cs:8:22:8:23 | access to local variable i1 | Patterns.cs:8:22:8:23 | access to local variable i1 | | Patterns.cs:9:9:11:9 | {...} | Patterns.cs:9:9:11:9 | {...} | | Patterns.cs:10:13:10:42 | call to method WriteLine | Patterns.cs:10:33:10:36 | "int " | @@ -2586,8 +2586,8 @@ | Patterns.cs:10:38:10:39 | access to local variable i1 | Patterns.cs:10:38:10:39 | access to local variable i1 | | Patterns.cs:12:14:18:9 | if (...) ... | Patterns.cs:12:14:18:9 | if (...) ... | | Patterns.cs:12:18:12:18 | access to local variable o | Patterns.cs:12:18:12:18 | access to local variable o | -| Patterns.cs:12:18:12:31 | ... is ... | Patterns.cs:12:18:12:18 | access to local variable o | -| Patterns.cs:12:23:12:31 | String s1 | Patterns.cs:12:30:12:31 | access to local variable s1 | +| Patterns.cs:12:18:12:31 | ... is ... | Patterns.cs:12:18:12:31 | ... is ... | +| Patterns.cs:12:23:12:31 | String s1 | Patterns.cs:12:23:12:31 | String s1 | | Patterns.cs:12:30:12:31 | access to local variable s1 | Patterns.cs:12:30:12:31 | access to local variable s1 | | Patterns.cs:13:9:15:9 | {...} | Patterns.cs:13:9:15:9 | {...} | | Patterns.cs:14:13:14:45 | call to method WriteLine | Patterns.cs:14:33:14:39 | "string " | @@ -2598,8 +2598,8 @@ | Patterns.cs:14:41:14:42 | access to local variable s1 | Patterns.cs:14:41:14:42 | access to local variable s1 | | Patterns.cs:16:14:18:9 | if (...) ... | Patterns.cs:16:14:18:9 | if (...) ... | | Patterns.cs:16:18:16:18 | access to local variable o | Patterns.cs:16:18:16:18 | access to local variable o | -| Patterns.cs:16:18:16:28 | ... is ... | Patterns.cs:16:18:16:18 | access to local variable o | -| Patterns.cs:16:23:16:28 | Object v1 | Patterns.cs:16:27:16:28 | access to local variable v1 | +| Patterns.cs:16:18:16:28 | ... is ... | Patterns.cs:16:18:16:28 | ... is ... | +| Patterns.cs:16:23:16:28 | Object v1 | Patterns.cs:16:23:16:28 | Object v1 | | Patterns.cs:16:27:16:28 | access to local variable v1 | Patterns.cs:16:27:16:28 | access to local variable v1 | | Patterns.cs:17:9:18:9 | {...} | Patterns.cs:17:9:18:9 | {...} | | Patterns.cs:20:9:38:9 | switch (...) {...} | Patterns.cs:20:9:38:9 | switch (...) {...} | @@ -2608,7 +2608,7 @@ | Patterns.cs:22:18:22:22 | "xyz" | Patterns.cs:22:18:22:22 | "xyz" | | Patterns.cs:23:17:23:22 | break; | Patterns.cs:23:17:23:22 | break; | | Patterns.cs:24:13:24:36 | case ...: | Patterns.cs:24:13:24:36 | case ...: | -| Patterns.cs:24:18:24:23 | Int32 i2 | Patterns.cs:24:22:24:23 | access to local variable i2 | +| Patterns.cs:24:18:24:23 | Int32 i2 | Patterns.cs:24:18:24:23 | Int32 i2 | | Patterns.cs:24:22:24:23 | access to local variable i2 | Patterns.cs:24:22:24:23 | access to local variable i2 | | Patterns.cs:24:30:24:31 | access to local variable i2 | Patterns.cs:24:30:24:31 | access to local variable i2 | | Patterns.cs:24:30:24:35 | ... > ... | Patterns.cs:24:30:24:31 | access to local variable i2 | @@ -2621,7 +2621,7 @@ | Patterns.cs:25:47:25:48 | access to local variable i2 | Patterns.cs:25:47:25:48 | access to local variable i2 | | Patterns.cs:26:17:26:22 | break; | Patterns.cs:26:17:26:22 | break; | | Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:27:13:27:24 | case ...: | -| Patterns.cs:27:18:27:23 | Int32 i3 | Patterns.cs:27:22:27:23 | access to local variable i3 | +| Patterns.cs:27:18:27:23 | Int32 i3 | Patterns.cs:27:18:27:23 | Int32 i3 | | Patterns.cs:27:22:27:23 | access to local variable i3 | Patterns.cs:27:22:27:23 | access to local variable i3 | | Patterns.cs:28:17:28:46 | call to method WriteLine | Patterns.cs:28:37:28:40 | "int " | | Patterns.cs:28:17:28:47 | ...; | Patterns.cs:28:17:28:47 | ...; | @@ -2631,7 +2631,7 @@ | Patterns.cs:28:42:28:43 | access to local variable i3 | Patterns.cs:28:42:28:43 | access to local variable i3 | | Patterns.cs:29:17:29:22 | break; | Patterns.cs:29:17:29:22 | break; | | Patterns.cs:30:13:30:27 | case ...: | Patterns.cs:30:13:30:27 | case ...: | -| Patterns.cs:30:18:30:26 | String s2 | Patterns.cs:30:25:30:26 | access to local variable s2 | +| Patterns.cs:30:18:30:26 | String s2 | Patterns.cs:30:18:30:26 | String s2 | | Patterns.cs:30:25:30:26 | access to local variable s2 | Patterns.cs:30:25:30:26 | access to local variable s2 | | Patterns.cs:31:17:31:49 | call to method WriteLine | Patterns.cs:31:37:31:43 | "string " | | Patterns.cs:31:17:31:50 | ...; | Patterns.cs:31:17:31:50 | ...; | @@ -2641,41 +2641,36 @@ | Patterns.cs:31:45:31:46 | access to local variable s2 | Patterns.cs:31:45:31:46 | access to local variable s2 | | Patterns.cs:32:17:32:22 | break; | Patterns.cs:32:17:32:22 | break; | | Patterns.cs:33:13:33:24 | case ...: | Patterns.cs:33:13:33:24 | case ...: | -| Patterns.cs:33:18:33:23 | Object v2 | Patterns.cs:33:22:33:23 | access to local variable v2 | +| Patterns.cs:33:18:33:23 | Object v2 | Patterns.cs:33:18:33:23 | Object v2 | | Patterns.cs:33:22:33:23 | access to local variable v2 | Patterns.cs:33:22:33:23 | access to local variable v2 | | Patterns.cs:34:17:34:22 | break; | Patterns.cs:34:17:34:22 | break; | -| Patterns.cs:35:13:35:20 | default: | Patterns.cs:35:13:35:20 | default: | -| Patterns.cs:36:17:36:51 | call to method WriteLine | Patterns.cs:36:35:36:50 | "Something else" | -| Patterns.cs:36:17:36:52 | ...; | Patterns.cs:36:17:36:52 | ...; | -| Patterns.cs:36:35:36:50 | "Something else" | Patterns.cs:36:35:36:50 | "Something else" | -| Patterns.cs:37:17:37:22 | break; | Patterns.cs:37:17:37:22 | break; | | Patterns.cs:40:9:42:9 | switch (...) {...} | Patterns.cs:40:9:42:9 | switch (...) {...} | | Patterns.cs:40:17:40:17 | access to local variable o | Patterns.cs:40:17:40:17 | access to local variable o | | Patterns.cs:47:32:47:32 | c | Patterns.cs:47:32:47:32 | c | | Patterns.cs:48:9:48:9 | access to parameter c | Patterns.cs:48:9:48:9 | access to parameter c | -| Patterns.cs:48:9:48:20 | ... is ... | Patterns.cs:48:9:48:9 | access to parameter c | -| Patterns.cs:48:14:48:20 | not ... | Patterns.cs:48:18:48:20 | a | +| Patterns.cs:48:9:48:20 | ... is ... | Patterns.cs:48:9:48:20 | ... is ... | +| Patterns.cs:48:14:48:20 | not ... | Patterns.cs:48:14:48:20 | not ... | | Patterns.cs:48:18:48:20 | a | Patterns.cs:48:18:48:20 | a | | Patterns.cs:50:34:50:34 | c | Patterns.cs:50:34:50:34 | c | | Patterns.cs:51:9:51:9 | access to parameter c | Patterns.cs:51:9:51:9 | access to parameter c | -| Patterns.cs:51:9:51:21 | ... is ... | Patterns.cs:51:9:51:9 | access to parameter c | +| Patterns.cs:51:9:51:21 | ... is ... | Patterns.cs:51:9:51:21 | ... is ... | | Patterns.cs:51:9:51:39 | ... ? ... : ... | Patterns.cs:51:9:51:39 | ... ? ... : ... | -| Patterns.cs:51:14:51:21 | not ... | Patterns.cs:51:18:51:21 | null | +| Patterns.cs:51:14:51:21 | not ... | Patterns.cs:51:14:51:21 | not ... | | Patterns.cs:51:18:51:21 | null | Patterns.cs:51:18:51:21 | null | | Patterns.cs:51:25:51:25 | access to parameter c | Patterns.cs:51:25:51:25 | access to parameter c | -| Patterns.cs:51:25:51:30 | ... is ... | Patterns.cs:51:25:51:25 | access to parameter c | +| Patterns.cs:51:25:51:30 | ... is ... | Patterns.cs:51:25:51:30 | ... is ... | | Patterns.cs:51:30:51:30 | 1 | Patterns.cs:51:30:51:30 | 1 | | Patterns.cs:51:34:51:34 | access to parameter c | Patterns.cs:51:34:51:34 | access to parameter c | -| Patterns.cs:51:34:51:39 | ... is ... | Patterns.cs:51:34:51:34 | access to parameter c | +| Patterns.cs:51:34:51:39 | ... is ... | Patterns.cs:51:34:51:39 | ... is ... | | Patterns.cs:51:39:51:39 | 2 | Patterns.cs:51:39:51:39 | 2 | | Patterns.cs:53:34:53:34 | c | Patterns.cs:53:34:53:34 | c | | Patterns.cs:54:9:54:9 | access to parameter c | Patterns.cs:54:9:54:9 | access to parameter c | -| Patterns.cs:54:9:54:37 | ... is ... | Patterns.cs:54:9:54:9 | access to parameter c | -| Patterns.cs:54:14:54:37 | not ... | Patterns.cs:54:37:54:37 | access to local variable u | +| Patterns.cs:54:9:54:37 | ... is ... | Patterns.cs:54:9:54:37 | ... is ... | +| Patterns.cs:54:14:54:37 | not ... | Patterns.cs:54:14:54:37 | not ... | | Patterns.cs:54:18:54:25 | access to type Patterns | Patterns.cs:54:18:54:25 | access to type Patterns | -| Patterns.cs:54:18:54:37 | Patterns u | Patterns.cs:54:37:54:37 | access to local variable u | -| Patterns.cs:54:18:54:37 | { ... } | Patterns.cs:54:37:54:37 | access to local variable u | -| Patterns.cs:54:27:54:35 | { ... } | Patterns.cs:54:33:54:33 | 1 | +| Patterns.cs:54:18:54:37 | Patterns u | Patterns.cs:54:18:54:37 | Patterns u | +| Patterns.cs:54:18:54:37 | { ... } | Patterns.cs:54:18:54:37 | { ... } | +| Patterns.cs:54:27:54:35 | { ... } | Patterns.cs:54:27:54:35 | { ... } | | Patterns.cs:54:33:54:33 | 1 | Patterns.cs:54:33:54:33 | 1 | | Patterns.cs:54:37:54:37 | access to local variable u | Patterns.cs:54:37:54:37 | access to local variable u | | Patterns.cs:56:33:56:33 | i | Patterns.cs:56:33:56:33 | i | @@ -2683,7 +2678,7 @@ | Patterns.cs:58:9:62:10 | return ...; | Patterns.cs:58:16:62:9 | ... switch { ... } | | Patterns.cs:58:16:58:16 | access to parameter i | Patterns.cs:58:16:58:16 | access to parameter i | | Patterns.cs:58:16:62:9 | ... switch { ... } | Patterns.cs:58:16:62:9 | ... switch { ... } | -| Patterns.cs:60:13:60:17 | not ... | Patterns.cs:60:17:60:17 | 1 | +| Patterns.cs:60:13:60:17 | not ... | Patterns.cs:60:13:60:17 | not ... | | Patterns.cs:60:13:60:28 | ... => ... | Patterns.cs:60:13:60:28 | ... => ... | | Patterns.cs:60:17:60:17 | 1 | Patterns.cs:60:17:60:17 | 1 | | Patterns.cs:60:22:60:28 | "not 1" | Patterns.cs:60:22:60:28 | "not 1" | @@ -2694,7 +2689,7 @@ | Patterns.cs:67:9:71:10 | return ...; | Patterns.cs:67:16:71:9 | ... switch { ... } | | Patterns.cs:67:16:67:16 | 2 | Patterns.cs:67:16:67:16 | 2 | | Patterns.cs:67:16:71:9 | ... switch { ... } | Patterns.cs:67:16:71:9 | ... switch { ... } | -| Patterns.cs:69:13:69:17 | not ... | Patterns.cs:69:17:69:17 | 2 | +| Patterns.cs:69:13:69:17 | not ... | Patterns.cs:69:13:69:17 | not ... | | Patterns.cs:69:13:69:33 | ... => ... | Patterns.cs:69:13:69:33 | ... => ... | | Patterns.cs:69:17:69:17 | 2 | Patterns.cs:69:17:69:17 | 2 | | Patterns.cs:69:22:69:33 | "impossible" | Patterns.cs:69:22:69:33 | "impossible" | @@ -2722,32 +2717,32 @@ | Patterns.cs:81:18:81:20 | "0" | Patterns.cs:81:18:81:20 | "0" | | Patterns.cs:85:33:85:33 | i | Patterns.cs:85:33:85:33 | i | | Patterns.cs:85:39:85:39 | access to parameter i | Patterns.cs:85:39:85:39 | access to parameter i | -| Patterns.cs:85:39:85:53 | ... is ... | Patterns.cs:85:39:85:39 | access to parameter i | +| Patterns.cs:85:39:85:53 | ... is ... | Patterns.cs:85:39:85:53 | ... is ... | | Patterns.cs:85:39:85:69 | ... ? ... : ... | Patterns.cs:85:39:85:69 | ... ? ... : ... | | Patterns.cs:85:44:85:44 | 1 | Patterns.cs:85:44:85:44 | 1 | -| Patterns.cs:85:44:85:53 | ... or ... | Patterns.cs:85:44:85:44 | 1 | -| Patterns.cs:85:49:85:53 | not ... | Patterns.cs:85:53:85:53 | 2 | +| Patterns.cs:85:44:85:53 | ... or ... | Patterns.cs:85:44:85:53 | ... or ... | +| Patterns.cs:85:49:85:53 | not ... | Patterns.cs:85:49:85:53 | not ... | | Patterns.cs:85:53:85:53 | 2 | Patterns.cs:85:53:85:53 | 2 | | Patterns.cs:85:57:85:63 | "not 2" | Patterns.cs:85:57:85:63 | "not 2" | | Patterns.cs:85:67:85:69 | "2" | Patterns.cs:85:67:85:69 | "2" | | Patterns.cs:87:33:87:33 | i | Patterns.cs:87:33:87:33 | i | | Patterns.cs:87:39:87:39 | access to parameter i | Patterns.cs:87:39:87:39 | access to parameter i | -| Patterns.cs:87:39:87:54 | ... is ... | Patterns.cs:87:39:87:39 | access to parameter i | +| Patterns.cs:87:39:87:54 | ... is ... | Patterns.cs:87:39:87:54 | ... is ... | | Patterns.cs:87:39:87:70 | ... ? ... : ... | Patterns.cs:87:39:87:70 | ... ? ... : ... | | Patterns.cs:87:44:87:44 | 1 | Patterns.cs:87:44:87:44 | 1 | -| Patterns.cs:87:44:87:54 | ... and ... | Patterns.cs:87:44:87:44 | 1 | -| Patterns.cs:87:50:87:54 | not ... | Patterns.cs:87:54:87:54 | 2 | +| Patterns.cs:87:44:87:54 | ... and ... | Patterns.cs:87:44:87:54 | ... and ... | +| Patterns.cs:87:50:87:54 | not ... | Patterns.cs:87:50:87:54 | not ... | | Patterns.cs:87:54:87:54 | 2 | Patterns.cs:87:54:87:54 | 2 | | Patterns.cs:87:58:87:60 | "1" | Patterns.cs:87:58:87:60 | "1" | | Patterns.cs:87:64:87:70 | "not 1" | Patterns.cs:87:64:87:70 | "not 1" | | Patterns.cs:94:5:99:5 | {...} | Patterns.cs:94:5:99:5 | {...} | | Patterns.cs:95:9:98:9 | if (...) ... | Patterns.cs:95:9:98:9 | if (...) ... | | Patterns.cs:95:13:95:16 | this access | Patterns.cs:95:13:95:16 | this access | -| Patterns.cs:95:13:95:40 | ... is ... | Patterns.cs:95:13:95:16 | this access | -| Patterns.cs:95:21:95:40 | { ... } | Patterns.cs:95:29:95:31 | access to constant A | -| Patterns.cs:95:21:95:40 | { ... } | Patterns.cs:95:29:95:31 | access to constant A | +| Patterns.cs:95:13:95:40 | ... is ... | Patterns.cs:95:13:95:40 | ... is ... | +| Patterns.cs:95:21:95:40 | { ... } | Patterns.cs:95:21:95:40 | { ... } | +| Patterns.cs:95:21:95:40 | { ... } | Patterns.cs:95:21:95:40 | { ... } | | Patterns.cs:95:29:95:31 | access to constant A | Patterns.cs:95:29:95:31 | access to constant A | -| Patterns.cs:95:29:95:38 | ... or ... | Patterns.cs:95:29:95:31 | access to constant A | +| Patterns.cs:95:29:95:38 | ... or ... | Patterns.cs:95:29:95:38 | ... or ... | | Patterns.cs:95:36:95:38 | access to constant B | Patterns.cs:95:36:95:38 | access to constant B | | Patterns.cs:96:9:98:9 | {...} | Patterns.cs:96:9:98:9 | {...} | | Patterns.cs:97:13:97:38 | call to method WriteLine | Patterns.cs:97:31:97:37 | "not C" | @@ -2766,7 +2761,7 @@ | PostDominance.cs:11:5:15:5 | {...} | PostDominance.cs:11:5:15:5 | {...} | | PostDominance.cs:12:9:13:19 | if (...) ... | PostDominance.cs:12:9:13:19 | if (...) ... | | PostDominance.cs:12:13:12:13 | access to parameter s | PostDominance.cs:12:13:12:13 | access to parameter s | -| PostDominance.cs:12:13:12:21 | ... is ... | PostDominance.cs:12:13:12:13 | access to parameter s | +| PostDominance.cs:12:13:12:21 | ... is ... | PostDominance.cs:12:13:12:21 | ... is ... | | PostDominance.cs:12:18:12:21 | null | PostDominance.cs:12:18:12:21 | null | | PostDominance.cs:13:13:13:19 | return ...; | PostDominance.cs:13:13:13:19 | return ...; | | PostDominance.cs:14:9:14:28 | call to method WriteLine | PostDominance.cs:14:27:14:27 | access to parameter s | @@ -2776,7 +2771,7 @@ | PostDominance.cs:18:5:22:5 | {...} | PostDominance.cs:18:5:22:5 | {...} | | PostDominance.cs:19:9:20:55 | if (...) ... | PostDominance.cs:19:9:20:55 | if (...) ... | | PostDominance.cs:19:13:19:13 | access to parameter s | PostDominance.cs:19:13:19:13 | access to parameter s | -| PostDominance.cs:19:13:19:21 | ... is ... | PostDominance.cs:19:13:19:13 | access to parameter s | +| PostDominance.cs:19:13:19:21 | ... is ... | PostDominance.cs:19:13:19:21 | ... is ... | | PostDominance.cs:19:18:19:21 | null | PostDominance.cs:19:18:19:21 | null | | PostDominance.cs:20:13:20:55 | throw ...; | PostDominance.cs:20:45:20:53 | nameof(...) | | PostDominance.cs:20:19:20:54 | object creation of type ArgumentNullException | PostDominance.cs:20:45:20:53 | nameof(...) | @@ -2883,7 +2878,7 @@ | Switch.cs:18:18:18:21 | null | Switch.cs:18:18:18:21 | null | | Switch.cs:19:17:19:29 | goto default; | Switch.cs:19:17:19:29 | goto default; | | Switch.cs:20:13:20:23 | case ...: | Switch.cs:20:13:20:23 | case ...: | -| Switch.cs:20:18:20:22 | Int32 i | Switch.cs:20:22:20:22 | access to local variable i | +| Switch.cs:20:18:20:22 | Int32 i | Switch.cs:20:18:20:22 | Int32 i | | Switch.cs:20:22:20:22 | access to local variable i | Switch.cs:20:22:20:22 | access to local variable i | | Switch.cs:21:17:22:27 | if (...) ... | Switch.cs:21:17:22:27 | if (...) ... | | Switch.cs:21:21:21:21 | access to parameter o | Switch.cs:21:21:21:21 | access to parameter o | @@ -2893,7 +2888,7 @@ | Switch.cs:23:17:23:28 | goto case ...; | Switch.cs:23:27:23:27 | 0 | | Switch.cs:23:27:23:27 | 0 | Switch.cs:23:27:23:27 | 0 | | Switch.cs:24:13:24:56 | case ...: | Switch.cs:24:13:24:56 | case ...: | -| Switch.cs:24:18:24:25 | String s | Switch.cs:24:25:24:25 | access to local variable s | +| Switch.cs:24:18:24:25 | String s | Switch.cs:24:18:24:25 | String s | | Switch.cs:24:25:24:25 | access to local variable s | Switch.cs:24:25:24:25 | access to local variable s | | Switch.cs:24:32:24:32 | access to local variable s | Switch.cs:24:32:24:32 | access to local variable s | | Switch.cs:24:32:24:39 | access to property Length | Switch.cs:24:32:24:32 | access to local variable s | @@ -2908,7 +2903,7 @@ | Switch.cs:25:35:25:35 | access to local variable s | Switch.cs:25:35:25:35 | access to local variable s | | Switch.cs:26:17:26:23 | return ...; | Switch.cs:26:17:26:23 | return ...; | | Switch.cs:27:13:27:39 | case ...: | Switch.cs:27:13:27:39 | case ...: | -| Switch.cs:27:18:27:25 | Double d | Switch.cs:27:25:27:25 | access to local variable d | +| Switch.cs:27:18:27:25 | Double d | Switch.cs:27:18:27:25 | Double d | | Switch.cs:27:25:27:25 | access to local variable d | Switch.cs:27:25:27:25 | access to local variable d | | Switch.cs:27:32:27:38 | call to method Throw | Switch.cs:27:32:27:38 | call to method Throw | | Switch.cs:28:13:28:17 | Label: | Switch.cs:28:13:28:17 | Label: | @@ -3028,7 +3023,7 @@ | Switch.cs:125:9:126:19 | if (...) ... | Switch.cs:125:9:126:19 | if (...) ... | | Switch.cs:125:13:125:13 | access to parameter o | Switch.cs:125:13:125:13 | access to parameter o | | Switch.cs:125:13:125:48 | ... switch { ... } | Switch.cs:125:13:125:48 | ... switch { ... } | -| Switch.cs:125:24:125:29 | Boolean b | Switch.cs:125:29:125:29 | access to local variable b | +| Switch.cs:125:24:125:29 | Boolean b | Switch.cs:125:24:125:29 | Boolean b | | Switch.cs:125:24:125:34 | ... => ... | Switch.cs:125:24:125:34 | ... => ... | | Switch.cs:125:29:125:29 | access to local variable b | Switch.cs:125:29:125:29 | access to local variable b | | Switch.cs:125:34:125:34 | access to local variable b | Switch.cs:125:34:125:34 | access to local variable b | @@ -3042,7 +3037,7 @@ | Switch.cs:131:16:131:66 | call to method ToString | Switch.cs:131:17:131:53 | ... switch { ... } | | Switch.cs:131:17:131:17 | access to parameter o | Switch.cs:131:17:131:17 | access to parameter o | | Switch.cs:131:17:131:53 | ... switch { ... } | Switch.cs:131:17:131:53 | ... switch { ... } | -| Switch.cs:131:28:131:35 | String s | Switch.cs:131:35:131:35 | access to local variable s | +| Switch.cs:131:28:131:35 | String s | Switch.cs:131:28:131:35 | String s | | Switch.cs:131:28:131:40 | ... => ... | Switch.cs:131:28:131:40 | ... => ... | | Switch.cs:131:35:131:35 | access to local variable s | Switch.cs:131:35:131:35 | access to local variable s | | Switch.cs:131:40:131:40 | access to local variable s | Switch.cs:131:40:131:40 | access to local variable s | @@ -3149,8 +3144,8 @@ | TypeAccesses.cs:6:13:6:23 | ... as ... | TypeAccesses.cs:6:13:6:13 | access to parameter o | | TypeAccesses.cs:7:9:7:25 | if (...) ... | TypeAccesses.cs:7:9:7:25 | if (...) ... | | TypeAccesses.cs:7:13:7:13 | access to parameter o | TypeAccesses.cs:7:13:7:13 | access to parameter o | -| TypeAccesses.cs:7:13:7:22 | ... is ... | TypeAccesses.cs:7:13:7:13 | access to parameter o | -| TypeAccesses.cs:7:18:7:22 | Int32 j | TypeAccesses.cs:7:22:7:22 | access to local variable j | +| TypeAccesses.cs:7:13:7:22 | ... is ... | TypeAccesses.cs:7:13:7:22 | ... is ... | +| TypeAccesses.cs:7:18:7:22 | Int32 j | TypeAccesses.cs:7:18:7:22 | Int32 j | | TypeAccesses.cs:7:22:7:22 | access to local variable j | TypeAccesses.cs:7:22:7:22 | access to local variable j | | TypeAccesses.cs:7:25:7:25 | ; | TypeAccesses.cs:7:25:7:25 | ; | | TypeAccesses.cs:8:9:8:28 | ... ...; | TypeAccesses.cs:8:9:8:28 | ... ...; | diff --git a/csharp/ql/test/library-tests/controlflow/graph/NodeGraph.expected b/csharp/ql/test/library-tests/controlflow/graph/NodeGraph.expected index ace5ec0c1a79..00a36af805c9 100644 --- a/csharp/ql/test/library-tests/controlflow/graph/NodeGraph.expected +++ b/csharp/ql/test/library-tests/controlflow/graph/NodeGraph.expected @@ -5758,18 +5758,18 @@ | Patterns.cs:7:16:7:23 | Object o = ... | Patterns.cs:7:16:7:23 | After Object o = ... | | | Patterns.cs:7:20:7:23 | null | Patterns.cs:7:16:7:23 | Object o = ... | | | Patterns.cs:8:9:18:9 | After if (...) ... | Patterns.cs:20:9:38:9 | switch (...) {...} | | -| Patterns.cs:8:9:18:9 | if (...) ... | Patterns.cs:8:13:8:23 | Before ... is ... | | -| Patterns.cs:8:13:8:13 | access to local variable o | Patterns.cs:8:13:8:23 | ... is ... | | -| Patterns.cs:8:13:8:23 | ... is ... | Patterns.cs:8:13:8:23 | After ... is ... [false] | false | -| Patterns.cs:8:13:8:23 | ... is ... | Patterns.cs:8:13:8:23 | [MatchTrue] ... is ... | true | +| Patterns.cs:8:9:18:9 | if (...) ... | Patterns.cs:8:13:8:23 | ... is ... | | +| Patterns.cs:8:13:8:13 | access to local variable o | Patterns.cs:8:18:8:23 | Int32 i1 | | +| Patterns.cs:8:13:8:23 | ... is ... | Patterns.cs:8:13:8:13 | access to local variable o | | | Patterns.cs:8:13:8:23 | After ... is ... [false] | Patterns.cs:12:14:18:9 | if (...) ... | | | Patterns.cs:8:13:8:23 | After ... is ... [true] | Patterns.cs:9:9:11:9 | {...} | | -| Patterns.cs:8:13:8:23 | Before ... is ... | Patterns.cs:8:13:8:13 | access to local variable o | | -| Patterns.cs:8:13:8:23 | [MatchTrue] ... is ... | Patterns.cs:8:18:8:23 | Before Int32 i1 | | -| Patterns.cs:8:18:8:23 | After Int32 i1 | Patterns.cs:8:13:8:23 | After ... is ... [true] | true | -| Patterns.cs:8:18:8:23 | Before Int32 i1 | Patterns.cs:8:22:8:23 | access to local variable i1 | | -| Patterns.cs:8:18:8:23 | Int32 i1 | Patterns.cs:8:18:8:23 | After Int32 i1 | | -| Patterns.cs:8:22:8:23 | access to local variable i1 | Patterns.cs:8:18:8:23 | Int32 i1 | | +| Patterns.cs:8:18:8:23 | After Int32 i1 [match] | Patterns.cs:8:13:8:23 | After ... is ... [true] | true | +| Patterns.cs:8:18:8:23 | After Int32 i1 [no-match] | Patterns.cs:8:13:8:23 | After ... is ... [false] | false | +| Patterns.cs:8:18:8:23 | Int32 i1 | Patterns.cs:8:18:8:23 | After Int32 i1 [no-match] | no-match | +| Patterns.cs:8:18:8:23 | Int32 i1 | Patterns.cs:8:18:8:23 | [OuterPatternMatch] Int32 i1 | match | +| Patterns.cs:8:18:8:23 | [OuterPatternMatch] Int32 i1 | Patterns.cs:8:22:8:23 | access to local variable i1 | | +| Patterns.cs:8:22:8:23 | After access to local variable i1 [match] | Patterns.cs:8:18:8:23 | After Int32 i1 [match] | match | +| Patterns.cs:8:22:8:23 | access to local variable i1 | Patterns.cs:8:22:8:23 | After access to local variable i1 [match] | match | | Patterns.cs:9:9:11:9 | After {...} | Patterns.cs:8:9:18:9 | After if (...) ... | | | Patterns.cs:9:9:11:9 | {...} | Patterns.cs:10:13:10:43 | ...; | | | Patterns.cs:10:13:10:42 | After call to method WriteLine | Patterns.cs:10:13:10:43 | After ...; | | @@ -5786,18 +5786,18 @@ | Patterns.cs:10:37:10:40 | {...} | Patterns.cs:10:37:10:40 | After {...} | | | Patterns.cs:10:38:10:39 | access to local variable i1 | Patterns.cs:10:37:10:40 | {...} | | | Patterns.cs:12:14:18:9 | After if (...) ... | Patterns.cs:8:9:18:9 | After if (...) ... | | -| Patterns.cs:12:14:18:9 | if (...) ... | Patterns.cs:12:18:12:31 | Before ... is ... | | -| Patterns.cs:12:18:12:18 | access to local variable o | Patterns.cs:12:18:12:31 | ... is ... | | -| Patterns.cs:12:18:12:31 | ... is ... | Patterns.cs:12:18:12:31 | After ... is ... [false] | false | -| Patterns.cs:12:18:12:31 | ... is ... | Patterns.cs:12:18:12:31 | [MatchTrue] ... is ... | true | +| Patterns.cs:12:14:18:9 | if (...) ... | Patterns.cs:12:18:12:31 | ... is ... | | +| Patterns.cs:12:18:12:18 | access to local variable o | Patterns.cs:12:23:12:31 | String s1 | | +| Patterns.cs:12:18:12:31 | ... is ... | Patterns.cs:12:18:12:18 | access to local variable o | | | Patterns.cs:12:18:12:31 | After ... is ... [false] | Patterns.cs:16:14:18:9 | if (...) ... | | | Patterns.cs:12:18:12:31 | After ... is ... [true] | Patterns.cs:13:9:15:9 | {...} | | -| Patterns.cs:12:18:12:31 | Before ... is ... | Patterns.cs:12:18:12:18 | access to local variable o | | -| Patterns.cs:12:18:12:31 | [MatchTrue] ... is ... | Patterns.cs:12:23:12:31 | Before String s1 | | -| Patterns.cs:12:23:12:31 | After String s1 | Patterns.cs:12:18:12:31 | After ... is ... [true] | true | -| Patterns.cs:12:23:12:31 | Before String s1 | Patterns.cs:12:30:12:31 | access to local variable s1 | | -| Patterns.cs:12:23:12:31 | String s1 | Patterns.cs:12:23:12:31 | After String s1 | | -| Patterns.cs:12:30:12:31 | access to local variable s1 | Patterns.cs:12:23:12:31 | String s1 | | +| Patterns.cs:12:23:12:31 | After String s1 [match] | Patterns.cs:12:18:12:31 | After ... is ... [true] | true | +| Patterns.cs:12:23:12:31 | After String s1 [no-match] | Patterns.cs:12:18:12:31 | After ... is ... [false] | false | +| Patterns.cs:12:23:12:31 | String s1 | Patterns.cs:12:23:12:31 | After String s1 [no-match] | no-match | +| Patterns.cs:12:23:12:31 | String s1 | Patterns.cs:12:23:12:31 | [OuterPatternMatch] String s1 | match | +| Patterns.cs:12:23:12:31 | [OuterPatternMatch] String s1 | Patterns.cs:12:30:12:31 | access to local variable s1 | | +| Patterns.cs:12:30:12:31 | After access to local variable s1 [match] | Patterns.cs:12:23:12:31 | After String s1 [match] | match | +| Patterns.cs:12:30:12:31 | access to local variable s1 | Patterns.cs:12:30:12:31 | After access to local variable s1 [match] | match | | Patterns.cs:13:9:15:9 | After {...} | Patterns.cs:12:14:18:9 | After if (...) ... | | | Patterns.cs:13:9:15:9 | {...} | Patterns.cs:14:13:14:46 | ...; | | | Patterns.cs:14:13:14:45 | After call to method WriteLine | Patterns.cs:14:13:14:46 | After ...; | | @@ -5814,18 +5814,15 @@ | Patterns.cs:14:40:14:43 | {...} | Patterns.cs:14:40:14:43 | After {...} | | | Patterns.cs:14:41:14:42 | access to local variable s1 | Patterns.cs:14:40:14:43 | {...} | | | Patterns.cs:16:14:18:9 | After if (...) ... | Patterns.cs:12:14:18:9 | After if (...) ... | | -| Patterns.cs:16:14:18:9 | if (...) ... | Patterns.cs:16:18:16:28 | Before ... is ... | | -| Patterns.cs:16:18:16:18 | access to local variable o | Patterns.cs:16:18:16:28 | ... is ... | | -| Patterns.cs:16:18:16:28 | ... is ... | Patterns.cs:16:18:16:28 | After ... is ... [false] | false | -| Patterns.cs:16:18:16:28 | ... is ... | Patterns.cs:16:18:16:28 | [MatchTrue] ... is ... | true | -| Patterns.cs:16:18:16:28 | After ... is ... [false] | Patterns.cs:16:14:18:9 | After if (...) ... | | +| Patterns.cs:16:14:18:9 | if (...) ... | Patterns.cs:16:18:16:28 | ... is ... | | +| Patterns.cs:16:18:16:18 | access to local variable o | Patterns.cs:16:23:16:28 | Object v1 | | +| Patterns.cs:16:18:16:28 | ... is ... | Patterns.cs:16:18:16:18 | access to local variable o | | | Patterns.cs:16:18:16:28 | After ... is ... [true] | Patterns.cs:17:9:18:9 | {...} | | -| Patterns.cs:16:18:16:28 | Before ... is ... | Patterns.cs:16:18:16:18 | access to local variable o | | -| Patterns.cs:16:18:16:28 | [MatchTrue] ... is ... | Patterns.cs:16:23:16:28 | Before Object v1 | | -| Patterns.cs:16:23:16:28 | After Object v1 | Patterns.cs:16:18:16:28 | After ... is ... [true] | true | -| Patterns.cs:16:23:16:28 | Before Object v1 | Patterns.cs:16:27:16:28 | access to local variable v1 | | -| Patterns.cs:16:23:16:28 | Object v1 | Patterns.cs:16:23:16:28 | After Object v1 | | -| Patterns.cs:16:27:16:28 | access to local variable v1 | Patterns.cs:16:23:16:28 | Object v1 | | +| Patterns.cs:16:23:16:28 | After Object v1 [match] | Patterns.cs:16:18:16:28 | After ... is ... [true] | true | +| Patterns.cs:16:23:16:28 | Object v1 | Patterns.cs:16:23:16:28 | [OuterPatternMatch] Object v1 | match | +| Patterns.cs:16:23:16:28 | [OuterPatternMatch] Object v1 | Patterns.cs:16:27:16:28 | access to local variable v1 | | +| Patterns.cs:16:27:16:28 | After access to local variable v1 [match] | Patterns.cs:16:23:16:28 | After Object v1 [match] | match | +| Patterns.cs:16:27:16:28 | access to local variable v1 | Patterns.cs:16:27:16:28 | After access to local variable v1 [match] | match | | Patterns.cs:17:9:18:9 | {...} | Patterns.cs:16:14:18:9 | After if (...) ... | | | Patterns.cs:20:9:38:9 | After switch (...) {...} | Patterns.cs:40:9:42:9 | switch (...) {...} | | | Patterns.cs:20:9:38:9 | switch (...) {...} | Patterns.cs:20:17:20:17 | access to local variable o | | @@ -5841,13 +5838,14 @@ | Patterns.cs:23:17:23:22 | break; | Patterns.cs:20:9:38:9 | After switch (...) {...} | break | | Patterns.cs:24:13:24:36 | After case ...: [match] | Patterns.cs:24:30:24:35 | Before ... > ... | | | Patterns.cs:24:13:24:36 | After case ...: [no-match] | Patterns.cs:27:13:27:24 | case ...: | | -| Patterns.cs:24:13:24:36 | case ...: | Patterns.cs:24:18:24:23 | Before Int32 i2 | | +| Patterns.cs:24:13:24:36 | case ...: | Patterns.cs:24:18:24:23 | Int32 i2 | | | Patterns.cs:24:18:24:23 | After Int32 i2 [match] | Patterns.cs:24:13:24:36 | After case ...: [match] | match | | Patterns.cs:24:18:24:23 | After Int32 i2 [no-match] | Patterns.cs:24:13:24:36 | After case ...: [no-match] | no-match | -| Patterns.cs:24:18:24:23 | Before Int32 i2 | Patterns.cs:24:22:24:23 | access to local variable i2 | | -| Patterns.cs:24:18:24:23 | Int32 i2 | Patterns.cs:24:18:24:23 | After Int32 i2 [match] | match | | Patterns.cs:24:18:24:23 | Int32 i2 | Patterns.cs:24:18:24:23 | After Int32 i2 [no-match] | no-match | -| Patterns.cs:24:22:24:23 | access to local variable i2 | Patterns.cs:24:18:24:23 | Int32 i2 | | +| Patterns.cs:24:18:24:23 | Int32 i2 | Patterns.cs:24:18:24:23 | [OuterPatternMatch] Int32 i2 | match | +| Patterns.cs:24:18:24:23 | [OuterPatternMatch] Int32 i2 | Patterns.cs:24:22:24:23 | access to local variable i2 | | +| Patterns.cs:24:22:24:23 | After access to local variable i2 [match] | Patterns.cs:24:18:24:23 | After Int32 i2 [match] | match | +| Patterns.cs:24:22:24:23 | access to local variable i2 | Patterns.cs:24:22:24:23 | After access to local variable i2 [match] | match | | Patterns.cs:24:30:24:31 | access to local variable i2 | Patterns.cs:24:35:24:35 | 0 | | | Patterns.cs:24:30:24:35 | ... > ... | Patterns.cs:24:30:24:35 | After ... > ... [false] | false | | Patterns.cs:24:30:24:35 | ... > ... | Patterns.cs:24:30:24:35 | After ... > ... [true] | true | @@ -5872,13 +5870,14 @@ | Patterns.cs:26:17:26:22 | break; | Patterns.cs:20:9:38:9 | After switch (...) {...} | break | | Patterns.cs:27:13:27:24 | After case ...: [match] | Patterns.cs:28:17:28:47 | ...; | | | Patterns.cs:27:13:27:24 | After case ...: [no-match] | Patterns.cs:30:13:30:27 | case ...: | | -| Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:27:18:27:23 | Before Int32 i3 | | +| Patterns.cs:27:13:27:24 | case ...: | Patterns.cs:27:18:27:23 | Int32 i3 | | | Patterns.cs:27:18:27:23 | After Int32 i3 [match] | Patterns.cs:27:13:27:24 | After case ...: [match] | match | | Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | Patterns.cs:27:13:27:24 | After case ...: [no-match] | no-match | -| Patterns.cs:27:18:27:23 | Before Int32 i3 | Patterns.cs:27:22:27:23 | access to local variable i3 | | -| Patterns.cs:27:18:27:23 | Int32 i3 | Patterns.cs:27:18:27:23 | After Int32 i3 [match] | match | | Patterns.cs:27:18:27:23 | Int32 i3 | Patterns.cs:27:18:27:23 | After Int32 i3 [no-match] | no-match | -| Patterns.cs:27:22:27:23 | access to local variable i3 | Patterns.cs:27:18:27:23 | Int32 i3 | | +| Patterns.cs:27:18:27:23 | Int32 i3 | Patterns.cs:27:18:27:23 | [OuterPatternMatch] Int32 i3 | match | +| Patterns.cs:27:18:27:23 | [OuterPatternMatch] Int32 i3 | Patterns.cs:27:22:27:23 | access to local variable i3 | | +| Patterns.cs:27:22:27:23 | After access to local variable i3 [match] | Patterns.cs:27:18:27:23 | After Int32 i3 [match] | match | +| Patterns.cs:27:22:27:23 | access to local variable i3 | Patterns.cs:27:22:27:23 | After access to local variable i3 [match] | match | | Patterns.cs:28:17:28:46 | After call to method WriteLine | Patterns.cs:28:17:28:47 | After ...; | | | Patterns.cs:28:17:28:46 | Before call to method WriteLine | Patterns.cs:28:35:28:45 | Before $"..." | | | Patterns.cs:28:17:28:46 | call to method WriteLine | Patterns.cs:28:17:28:46 | After call to method WriteLine | | @@ -5896,13 +5895,14 @@ | Patterns.cs:29:17:29:22 | break; | Patterns.cs:20:9:38:9 | After switch (...) {...} | break | | Patterns.cs:30:13:30:27 | After case ...: [match] | Patterns.cs:31:17:31:50 | ...; | | | Patterns.cs:30:13:30:27 | After case ...: [no-match] | Patterns.cs:33:13:33:24 | case ...: | | -| Patterns.cs:30:13:30:27 | case ...: | Patterns.cs:30:18:30:26 | Before String s2 | | +| Patterns.cs:30:13:30:27 | case ...: | Patterns.cs:30:18:30:26 | String s2 | | | Patterns.cs:30:18:30:26 | After String s2 [match] | Patterns.cs:30:13:30:27 | After case ...: [match] | match | | Patterns.cs:30:18:30:26 | After String s2 [no-match] | Patterns.cs:30:13:30:27 | After case ...: [no-match] | no-match | -| Patterns.cs:30:18:30:26 | Before String s2 | Patterns.cs:30:25:30:26 | access to local variable s2 | | -| Patterns.cs:30:18:30:26 | String s2 | Patterns.cs:30:18:30:26 | After String s2 [match] | match | | Patterns.cs:30:18:30:26 | String s2 | Patterns.cs:30:18:30:26 | After String s2 [no-match] | no-match | -| Patterns.cs:30:25:30:26 | access to local variable s2 | Patterns.cs:30:18:30:26 | String s2 | | +| Patterns.cs:30:18:30:26 | String s2 | Patterns.cs:30:18:30:26 | [OuterPatternMatch] String s2 | match | +| Patterns.cs:30:18:30:26 | [OuterPatternMatch] String s2 | Patterns.cs:30:25:30:26 | access to local variable s2 | | +| Patterns.cs:30:25:30:26 | After access to local variable s2 [match] | Patterns.cs:30:18:30:26 | After String s2 [match] | match | +| Patterns.cs:30:25:30:26 | access to local variable s2 | Patterns.cs:30:25:30:26 | After access to local variable s2 [match] | match | | Patterns.cs:31:17:31:49 | After call to method WriteLine | Patterns.cs:31:17:31:50 | After ...; | | | Patterns.cs:31:17:31:49 | Before call to method WriteLine | Patterns.cs:31:35:31:48 | Before $"..." | | | Patterns.cs:31:17:31:49 | call to method WriteLine | Patterns.cs:31:17:31:49 | After call to method WriteLine | | @@ -5919,96 +5919,90 @@ | Patterns.cs:32:17:32:22 | Before break; | Patterns.cs:32:17:32:22 | break; | | | Patterns.cs:32:17:32:22 | break; | Patterns.cs:20:9:38:9 | After switch (...) {...} | break | | Patterns.cs:33:13:33:24 | After case ...: [match] | Patterns.cs:34:17:34:22 | Before break; | | -| Patterns.cs:33:13:33:24 | After case ...: [no-match] | Patterns.cs:35:13:35:20 | default: | | -| Patterns.cs:33:13:33:24 | case ...: | Patterns.cs:33:18:33:23 | Before Object v2 | | +| Patterns.cs:33:13:33:24 | case ...: | Patterns.cs:33:18:33:23 | Object v2 | | | Patterns.cs:33:18:33:23 | After Object v2 [match] | Patterns.cs:33:13:33:24 | After case ...: [match] | match | -| Patterns.cs:33:18:33:23 | After Object v2 [no-match] | Patterns.cs:33:13:33:24 | After case ...: [no-match] | no-match | -| Patterns.cs:33:18:33:23 | Before Object v2 | Patterns.cs:33:22:33:23 | access to local variable v2 | | -| Patterns.cs:33:18:33:23 | Object v2 | Patterns.cs:33:18:33:23 | After Object v2 [match] | match | -| Patterns.cs:33:18:33:23 | Object v2 | Patterns.cs:33:18:33:23 | After Object v2 [no-match] | no-match | -| Patterns.cs:33:22:33:23 | access to local variable v2 | Patterns.cs:33:18:33:23 | Object v2 | | +| Patterns.cs:33:18:33:23 | Object v2 | Patterns.cs:33:18:33:23 | [OuterPatternMatch] Object v2 | match | +| Patterns.cs:33:18:33:23 | [OuterPatternMatch] Object v2 | Patterns.cs:33:22:33:23 | access to local variable v2 | | +| Patterns.cs:33:22:33:23 | After access to local variable v2 [match] | Patterns.cs:33:18:33:23 | After Object v2 [match] | match | +| Patterns.cs:33:22:33:23 | access to local variable v2 | Patterns.cs:33:22:33:23 | After access to local variable v2 [match] | match | | Patterns.cs:34:17:34:22 | Before break; | Patterns.cs:34:17:34:22 | break; | | | Patterns.cs:34:17:34:22 | break; | Patterns.cs:20:9:38:9 | After switch (...) {...} | break | -| Patterns.cs:35:13:35:20 | After default: [match] | Patterns.cs:36:17:36:52 | ...; | | -| Patterns.cs:35:13:35:20 | default: | Patterns.cs:35:13:35:20 | After default: [match] | match | -| Patterns.cs:36:17:36:51 | After call to method WriteLine | Patterns.cs:36:17:36:52 | After ...; | | -| Patterns.cs:36:17:36:51 | Before call to method WriteLine | Patterns.cs:36:35:36:50 | "Something else" | | -| Patterns.cs:36:17:36:51 | call to method WriteLine | Patterns.cs:36:17:36:51 | After call to method WriteLine | | -| Patterns.cs:36:17:36:52 | ...; | Patterns.cs:36:17:36:51 | Before call to method WriteLine | | -| Patterns.cs:36:17:36:52 | After ...; | Patterns.cs:37:17:37:22 | Before break; | | -| Patterns.cs:36:35:36:50 | "Something else" | Patterns.cs:36:17:36:51 | call to method WriteLine | | -| Patterns.cs:37:17:37:22 | Before break; | Patterns.cs:37:17:37:22 | break; | | -| Patterns.cs:37:17:37:22 | break; | Patterns.cs:20:9:38:9 | After switch (...) {...} | break | | Patterns.cs:40:9:42:9 | After switch (...) {...} | Patterns.cs:6:5:43:5 | After {...} | | | Patterns.cs:40:9:42:9 | switch (...) {...} | Patterns.cs:40:17:40:17 | access to local variable o | | | Patterns.cs:40:17:40:17 | access to local variable o | Patterns.cs:40:9:42:9 | After switch (...) {...} | | | Patterns.cs:47:24:47:25 | Entry | Patterns.cs:47:32:47:32 | c | | | Patterns.cs:47:24:47:25 | Normal Exit | Patterns.cs:47:24:47:25 | Exit | | -| Patterns.cs:47:32:47:32 | c | Patterns.cs:48:9:48:20 | Before ... is ... | | -| Patterns.cs:48:9:48:9 | access to parameter c | Patterns.cs:48:9:48:20 | ... is ... | | -| Patterns.cs:48:9:48:20 | ... is ... | Patterns.cs:48:9:48:20 | After ... is ... | | -| Patterns.cs:48:9:48:20 | ... is ... | Patterns.cs:48:9:48:20 | [MatchTrue] ... is ... | true | +| Patterns.cs:47:32:47:32 | c | Patterns.cs:48:9:48:20 | ... is ... | | +| Patterns.cs:48:9:48:9 | access to parameter c | Patterns.cs:48:14:48:20 | not ... | | +| Patterns.cs:48:9:48:20 | ... is ... | Patterns.cs:48:9:48:9 | access to parameter c | | | Patterns.cs:48:9:48:20 | After ... is ... | Patterns.cs:47:24:47:25 | Normal Exit | | -| Patterns.cs:48:9:48:20 | Before ... is ... | Patterns.cs:48:9:48:9 | access to parameter c | | -| Patterns.cs:48:9:48:20 | [MatchTrue] ... is ... | Patterns.cs:48:14:48:20 | Before not ... | | -| Patterns.cs:48:14:48:20 | After not ... | Patterns.cs:48:9:48:20 | After ... is ... | | -| Patterns.cs:48:14:48:20 | Before not ... | Patterns.cs:48:18:48:20 | a | | -| Patterns.cs:48:14:48:20 | not ... | Patterns.cs:48:14:48:20 | After not ... | | -| Patterns.cs:48:18:48:20 | a | Patterns.cs:48:14:48:20 | not ... | | +| Patterns.cs:48:14:48:20 | After not ... [match] | Patterns.cs:48:9:48:20 | After ... is ... | | +| Patterns.cs:48:14:48:20 | After not ... [no-match] | Patterns.cs:48:9:48:20 | After ... is ... | | +| Patterns.cs:48:14:48:20 | not ... | Patterns.cs:48:18:48:20 | a | | +| Patterns.cs:48:18:48:20 | After a [match] | Patterns.cs:48:14:48:20 | After not ... [no-match] | no-match | +| Patterns.cs:48:18:48:20 | After a [no-match] | Patterns.cs:48:14:48:20 | After not ... [match] | match | +| Patterns.cs:48:18:48:20 | a | Patterns.cs:48:18:48:20 | After a [match] | match | +| Patterns.cs:48:18:48:20 | a | Patterns.cs:48:18:48:20 | After a [no-match] | no-match | | Patterns.cs:50:24:50:25 | Entry | Patterns.cs:50:34:50:34 | c | | | Patterns.cs:50:24:50:25 | Normal Exit | Patterns.cs:50:24:50:25 | Exit | | | Patterns.cs:50:34:50:34 | c | Patterns.cs:51:9:51:39 | ... ? ... : ... | | -| Patterns.cs:51:9:51:9 | access to parameter c | Patterns.cs:51:9:51:21 | ... is ... | | -| Patterns.cs:51:9:51:21 | ... is ... | Patterns.cs:51:9:51:21 | After ... is ... [false] | false | -| Patterns.cs:51:9:51:21 | ... is ... | Patterns.cs:51:9:51:21 | [MatchTrue] ... is ... | true | -| Patterns.cs:51:9:51:21 | After ... is ... [false] | Patterns.cs:51:34:51:39 | Before ... is ... | | -| Patterns.cs:51:9:51:21 | After ... is ... [true] | Patterns.cs:51:25:51:30 | Before ... is ... | | -| Patterns.cs:51:9:51:21 | Before ... is ... | Patterns.cs:51:9:51:9 | access to parameter c | | -| Patterns.cs:51:9:51:21 | [MatchTrue] ... is ... | Patterns.cs:51:14:51:21 | Before not ... | | -| Patterns.cs:51:9:51:39 | ... ? ... : ... | Patterns.cs:51:9:51:21 | Before ... is ... | | +| Patterns.cs:51:9:51:9 | access to parameter c | Patterns.cs:51:14:51:21 | not ... | | +| Patterns.cs:51:9:51:21 | ... is ... | Patterns.cs:51:9:51:9 | access to parameter c | | +| Patterns.cs:51:9:51:21 | After ... is ... [false] | Patterns.cs:51:34:51:39 | ... is ... | | +| Patterns.cs:51:9:51:21 | After ... is ... [true] | Patterns.cs:51:25:51:30 | ... is ... | | +| Patterns.cs:51:9:51:39 | ... ? ... : ... | Patterns.cs:51:9:51:21 | ... is ... | | | Patterns.cs:51:9:51:39 | After ... ? ... : ... | Patterns.cs:50:24:50:25 | Normal Exit | | -| Patterns.cs:51:14:51:21 | After not ... | Patterns.cs:51:9:51:21 | After ... is ... [true] | true | -| Patterns.cs:51:14:51:21 | Before not ... | Patterns.cs:51:18:51:21 | null | | -| Patterns.cs:51:14:51:21 | not ... | Patterns.cs:51:14:51:21 | After not ... | | -| Patterns.cs:51:18:51:21 | null | Patterns.cs:51:14:51:21 | not ... | | -| Patterns.cs:51:25:51:25 | access to parameter c | Patterns.cs:51:25:51:30 | ... is ... | | -| Patterns.cs:51:25:51:30 | ... is ... | Patterns.cs:51:25:51:30 | After ... is ... | | -| Patterns.cs:51:25:51:30 | ... is ... | Patterns.cs:51:25:51:30 | [MatchTrue] ... is ... | true | +| Patterns.cs:51:14:51:21 | After not ... [match] | Patterns.cs:51:9:51:21 | After ... is ... [true] | true | +| Patterns.cs:51:14:51:21 | After not ... [no-match] | Patterns.cs:51:9:51:21 | After ... is ... [false] | false | +| Patterns.cs:51:14:51:21 | not ... | Patterns.cs:51:18:51:21 | null | | +| Patterns.cs:51:18:51:21 | After null [match] | Patterns.cs:51:14:51:21 | After not ... [no-match] | no-match | +| Patterns.cs:51:18:51:21 | After null [no-match] | Patterns.cs:51:14:51:21 | After not ... [match] | match | +| Patterns.cs:51:18:51:21 | null | Patterns.cs:51:18:51:21 | After null [match] | match | +| Patterns.cs:51:18:51:21 | null | Patterns.cs:51:18:51:21 | After null [no-match] | no-match | +| Patterns.cs:51:25:51:25 | access to parameter c | Patterns.cs:51:30:51:30 | 1 | | +| Patterns.cs:51:25:51:30 | ... is ... | Patterns.cs:51:25:51:25 | access to parameter c | | | Patterns.cs:51:25:51:30 | After ... is ... | Patterns.cs:51:9:51:39 | After ... ? ... : ... | | -| Patterns.cs:51:25:51:30 | Before ... is ... | Patterns.cs:51:25:51:25 | access to parameter c | | -| Patterns.cs:51:25:51:30 | [MatchTrue] ... is ... | Patterns.cs:51:30:51:30 | 1 | | -| Patterns.cs:51:30:51:30 | 1 | Patterns.cs:51:25:51:30 | After ... is ... | | -| Patterns.cs:51:34:51:34 | access to parameter c | Patterns.cs:51:34:51:39 | ... is ... | | -| Patterns.cs:51:34:51:39 | ... is ... | Patterns.cs:51:34:51:39 | After ... is ... | | -| Patterns.cs:51:34:51:39 | ... is ... | Patterns.cs:51:34:51:39 | [MatchTrue] ... is ... | true | +| Patterns.cs:51:30:51:30 | 1 | Patterns.cs:51:30:51:30 | After 1 [match] | match | +| Patterns.cs:51:30:51:30 | 1 | Patterns.cs:51:30:51:30 | After 1 [no-match] | no-match | +| Patterns.cs:51:30:51:30 | After 1 [match] | Patterns.cs:51:25:51:30 | After ... is ... | | +| Patterns.cs:51:30:51:30 | After 1 [no-match] | Patterns.cs:51:25:51:30 | After ... is ... | | +| Patterns.cs:51:34:51:34 | access to parameter c | Patterns.cs:51:39:51:39 | 2 | | +| Patterns.cs:51:34:51:39 | ... is ... | Patterns.cs:51:34:51:34 | access to parameter c | | | Patterns.cs:51:34:51:39 | After ... is ... | Patterns.cs:51:9:51:39 | After ... ? ... : ... | | -| Patterns.cs:51:34:51:39 | Before ... is ... | Patterns.cs:51:34:51:34 | access to parameter c | | -| Patterns.cs:51:34:51:39 | [MatchTrue] ... is ... | Patterns.cs:51:39:51:39 | 2 | | -| Patterns.cs:51:39:51:39 | 2 | Patterns.cs:51:34:51:39 | After ... is ... | | +| Patterns.cs:51:39:51:39 | 2 | Patterns.cs:51:39:51:39 | After 2 [match] | match | +| Patterns.cs:51:39:51:39 | 2 | Patterns.cs:51:39:51:39 | After 2 [no-match] | no-match | +| Patterns.cs:51:39:51:39 | After 2 [match] | Patterns.cs:51:34:51:39 | After ... is ... | | +| Patterns.cs:51:39:51:39 | After 2 [no-match] | Patterns.cs:51:34:51:39 | After ... is ... | | | Patterns.cs:53:24:53:25 | Entry | Patterns.cs:53:34:53:34 | c | | | Patterns.cs:53:24:53:25 | Normal Exit | Patterns.cs:53:24:53:25 | Exit | | -| Patterns.cs:53:34:53:34 | c | Patterns.cs:54:9:54:37 | Before ... is ... | | -| Patterns.cs:54:9:54:9 | access to parameter c | Patterns.cs:54:9:54:37 | ... is ... | | -| Patterns.cs:54:9:54:37 | ... is ... | Patterns.cs:54:9:54:37 | After ... is ... | | -| Patterns.cs:54:9:54:37 | ... is ... | Patterns.cs:54:9:54:37 | [MatchTrue] ... is ... | true | +| Patterns.cs:53:34:53:34 | c | Patterns.cs:54:9:54:37 | ... is ... | | +| Patterns.cs:54:9:54:9 | access to parameter c | Patterns.cs:54:14:54:37 | not ... | | +| Patterns.cs:54:9:54:37 | ... is ... | Patterns.cs:54:9:54:9 | access to parameter c | | | Patterns.cs:54:9:54:37 | After ... is ... | Patterns.cs:53:24:53:25 | Normal Exit | | -| Patterns.cs:54:9:54:37 | Before ... is ... | Patterns.cs:54:9:54:9 | access to parameter c | | -| Patterns.cs:54:9:54:37 | [MatchTrue] ... is ... | Patterns.cs:54:14:54:37 | Before not ... | | -| Patterns.cs:54:14:54:37 | After not ... | Patterns.cs:54:9:54:37 | After ... is ... | | -| Patterns.cs:54:14:54:37 | Before not ... | Patterns.cs:54:18:54:37 | Before { ... } | | -| Patterns.cs:54:14:54:37 | not ... | Patterns.cs:54:14:54:37 | After not ... | | -| Patterns.cs:54:18:54:25 | access to type Patterns | Patterns.cs:54:27:54:35 | Before { ... } | | -| Patterns.cs:54:18:54:37 | After Patterns u | Patterns.cs:54:18:54:25 | access to type Patterns | | -| Patterns.cs:54:18:54:37 | After { ... } | Patterns.cs:54:14:54:37 | not ... | | -| Patterns.cs:54:18:54:37 | Before Patterns u | Patterns.cs:54:37:54:37 | access to local variable u | | -| Patterns.cs:54:18:54:37 | Before { ... } | Patterns.cs:54:18:54:37 | Before Patterns u | | -| Patterns.cs:54:18:54:37 | Patterns u | Patterns.cs:54:18:54:37 | After Patterns u | | -| Patterns.cs:54:18:54:37 | { ... } | Patterns.cs:54:18:54:37 | After { ... } | | -| Patterns.cs:54:27:54:35 | After { ... } | Patterns.cs:54:18:54:37 | { ... } | | -| Patterns.cs:54:27:54:35 | Before { ... } | Patterns.cs:54:33:54:33 | 1 | | -| Patterns.cs:54:27:54:35 | { ... } | Patterns.cs:54:27:54:35 | After { ... } | | -| Patterns.cs:54:33:54:33 | 1 | Patterns.cs:54:27:54:35 | { ... } | | -| Patterns.cs:54:37:54:37 | access to local variable u | Patterns.cs:54:18:54:37 | Patterns u | | +| Patterns.cs:54:14:54:37 | After not ... [match] | Patterns.cs:54:9:54:37 | After ... is ... | | +| Patterns.cs:54:14:54:37 | After not ... [no-match] | Patterns.cs:54:9:54:37 | After ... is ... | | +| Patterns.cs:54:14:54:37 | not ... | Patterns.cs:54:18:54:37 | { ... } | | +| Patterns.cs:54:18:54:25 | After access to type Patterns [match] | Patterns.cs:54:27:54:35 | { ... } | | +| Patterns.cs:54:18:54:25 | After access to type Patterns [no-match] | Patterns.cs:54:18:54:37 | After { ... } [no-match] | no-match | +| Patterns.cs:54:18:54:25 | access to type Patterns | Patterns.cs:54:18:54:25 | After access to type Patterns [match] | match | +| Patterns.cs:54:18:54:25 | access to type Patterns | Patterns.cs:54:18:54:25 | After access to type Patterns [no-match] | no-match | +| Patterns.cs:54:18:54:37 | After Patterns u [match] | Patterns.cs:54:18:54:37 | After { ... } [match] | match | +| Patterns.cs:54:18:54:37 | After { ... } [match] | Patterns.cs:54:14:54:37 | After not ... [no-match] | no-match | +| Patterns.cs:54:18:54:37 | After { ... } [no-match] | Patterns.cs:54:14:54:37 | After not ... [match] | match | +| Patterns.cs:54:18:54:37 | Patterns u | Patterns.cs:54:18:54:37 | [OuterPatternMatch] Patterns u | match | +| Patterns.cs:54:18:54:37 | [OuterPatternMatch] Patterns u | Patterns.cs:54:37:54:37 | access to local variable u | | +| Patterns.cs:54:18:54:37 | { ... } | Patterns.cs:54:18:54:25 | access to type Patterns | | +| Patterns.cs:54:27:54:35 | After { ... } [match] | Patterns.cs:54:18:54:37 | Patterns u | | +| Patterns.cs:54:27:54:35 | After { ... } [no-match] | Patterns.cs:54:18:54:37 | After { ... } [no-match] | no-match | +| Patterns.cs:54:27:54:35 | [OuterPatternMatch] { ... } | Patterns.cs:54:33:54:33 | 1 | | +| Patterns.cs:54:27:54:35 | { ... } | Patterns.cs:54:27:54:35 | After { ... } [no-match] | no-match | +| Patterns.cs:54:27:54:35 | { ... } | Patterns.cs:54:27:54:35 | [OuterPatternMatch] { ... } | match | +| Patterns.cs:54:33:54:33 | 1 | Patterns.cs:54:33:54:33 | After 1 [match] | match | +| Patterns.cs:54:33:54:33 | 1 | Patterns.cs:54:33:54:33 | After 1 [no-match] | no-match | +| Patterns.cs:54:33:54:33 | After 1 [match] | Patterns.cs:54:27:54:35 | After { ... } [match] | match | +| Patterns.cs:54:33:54:33 | After 1 [no-match] | Patterns.cs:54:27:54:35 | After { ... } [no-match] | no-match | +| Patterns.cs:54:37:54:37 | After access to local variable u [match] | Patterns.cs:54:18:54:37 | After Patterns u [match] | match | +| Patterns.cs:54:37:54:37 | access to local variable u | Patterns.cs:54:37:54:37 | After access to local variable u [match] | match | | Patterns.cs:56:26:56:27 | Entry | Patterns.cs:56:33:56:33 | i | | | Patterns.cs:56:26:56:27 | Normal Exit | Patterns.cs:56:26:56:27 | Exit | | | Patterns.cs:56:33:56:33 | i | Patterns.cs:57:5:63:5 | {...} | | @@ -6020,13 +6014,14 @@ | Patterns.cs:58:16:62:9 | After ... switch { ... } | Patterns.cs:58:9:62:10 | return ...; | | | Patterns.cs:60:13:60:17 | After not ... [match] | Patterns.cs:60:13:60:28 | After ... => ... [match] | match | | Patterns.cs:60:13:60:17 | After not ... [no-match] | Patterns.cs:60:13:60:28 | After ... => ... [no-match] | no-match | -| Patterns.cs:60:13:60:17 | Before not ... | Patterns.cs:60:17:60:17 | 1 | | -| Patterns.cs:60:13:60:17 | not ... | Patterns.cs:60:13:60:17 | After not ... [match] | match | -| Patterns.cs:60:13:60:17 | not ... | Patterns.cs:60:13:60:17 | After not ... [no-match] | no-match | -| Patterns.cs:60:13:60:28 | ... => ... | Patterns.cs:60:13:60:17 | Before not ... | | +| Patterns.cs:60:13:60:17 | not ... | Patterns.cs:60:17:60:17 | 1 | | +| Patterns.cs:60:13:60:28 | ... => ... | Patterns.cs:60:13:60:17 | not ... | | | Patterns.cs:60:13:60:28 | After ... => ... [match] | Patterns.cs:60:22:60:28 | "not 1" | | | Patterns.cs:60:13:60:28 | After ... => ... [no-match] | Patterns.cs:61:13:61:24 | ... => ... | | -| Patterns.cs:60:17:60:17 | 1 | Patterns.cs:60:13:60:17 | not ... | | +| Patterns.cs:60:17:60:17 | 1 | Patterns.cs:60:17:60:17 | After 1 [match] | match | +| Patterns.cs:60:17:60:17 | 1 | Patterns.cs:60:17:60:17 | After 1 [no-match] | no-match | +| Patterns.cs:60:17:60:17 | After 1 [match] | Patterns.cs:60:13:60:17 | After not ... [no-match] | no-match | +| Patterns.cs:60:17:60:17 | After 1 [no-match] | Patterns.cs:60:13:60:17 | After not ... [match] | match | | Patterns.cs:60:22:60:28 | "not 1" | Patterns.cs:58:16:62:9 | After ... switch { ... } | | | Patterns.cs:61:13:61:13 | After _ [match] | Patterns.cs:61:13:61:24 | After ... => ... [match] | match | | Patterns.cs:61:13:61:13 | _ | Patterns.cs:61:13:61:13 | After _ [match] | match | @@ -6043,13 +6038,14 @@ | Patterns.cs:67:16:71:9 | After ... switch { ... } | Patterns.cs:67:9:71:10 | return ...; | | | Patterns.cs:69:13:69:17 | After not ... [match] | Patterns.cs:69:13:69:33 | After ... => ... [match] | match | | Patterns.cs:69:13:69:17 | After not ... [no-match] | Patterns.cs:69:13:69:33 | After ... => ... [no-match] | no-match | -| Patterns.cs:69:13:69:17 | Before not ... | Patterns.cs:69:17:69:17 | 2 | | -| Patterns.cs:69:13:69:17 | not ... | Patterns.cs:69:13:69:17 | After not ... [match] | match | -| Patterns.cs:69:13:69:17 | not ... | Patterns.cs:69:13:69:17 | After not ... [no-match] | no-match | -| Patterns.cs:69:13:69:33 | ... => ... | Patterns.cs:69:13:69:17 | Before not ... | | +| Patterns.cs:69:13:69:17 | not ... | Patterns.cs:69:17:69:17 | 2 | | +| Patterns.cs:69:13:69:33 | ... => ... | Patterns.cs:69:13:69:17 | not ... | | | Patterns.cs:69:13:69:33 | After ... => ... [match] | Patterns.cs:69:22:69:33 | "impossible" | | | Patterns.cs:69:13:69:33 | After ... => ... [no-match] | Patterns.cs:70:13:70:27 | ... => ... | | -| Patterns.cs:69:17:69:17 | 2 | Patterns.cs:69:13:69:17 | not ... | | +| Patterns.cs:69:17:69:17 | 2 | Patterns.cs:69:17:69:17 | After 2 [match] | match | +| Patterns.cs:69:17:69:17 | 2 | Patterns.cs:69:17:69:17 | After 2 [no-match] | no-match | +| Patterns.cs:69:17:69:17 | After 2 [match] | Patterns.cs:69:13:69:17 | After not ... [no-match] | no-match | +| Patterns.cs:69:17:69:17 | After 2 [no-match] | Patterns.cs:69:13:69:17 | After not ... [match] | match | | Patterns.cs:69:22:69:33 | "impossible" | Patterns.cs:67:16:71:9 | After ... switch { ... } | | | Patterns.cs:70:13:70:13 | 2 | Patterns.cs:70:13:70:13 | After 2 [match] | match | | Patterns.cs:70:13:70:13 | 2 | Patterns.cs:70:13:70:13 | After 2 [no-match] | no-match | @@ -6104,45 +6100,51 @@ | Patterns.cs:85:26:85:27 | Entry | Patterns.cs:85:33:85:33 | i | | | Patterns.cs:85:26:85:27 | Normal Exit | Patterns.cs:85:26:85:27 | Exit | | | Patterns.cs:85:33:85:33 | i | Patterns.cs:85:39:85:69 | ... ? ... : ... | | -| Patterns.cs:85:39:85:39 | access to parameter i | Patterns.cs:85:39:85:53 | ... is ... | | -| Patterns.cs:85:39:85:53 | ... is ... | Patterns.cs:85:39:85:53 | After ... is ... [false] | false | -| Patterns.cs:85:39:85:53 | ... is ... | Patterns.cs:85:39:85:53 | [MatchTrue] ... is ... | true | +| Patterns.cs:85:39:85:39 | access to parameter i | Patterns.cs:85:44:85:53 | ... or ... | | +| Patterns.cs:85:39:85:53 | ... is ... | Patterns.cs:85:39:85:39 | access to parameter i | | | Patterns.cs:85:39:85:53 | After ... is ... [false] | Patterns.cs:85:67:85:69 | "2" | | | Patterns.cs:85:39:85:53 | After ... is ... [true] | Patterns.cs:85:57:85:63 | "not 2" | | -| Patterns.cs:85:39:85:53 | Before ... is ... | Patterns.cs:85:39:85:39 | access to parameter i | | -| Patterns.cs:85:39:85:53 | [MatchTrue] ... is ... | Patterns.cs:85:44:85:53 | Before ... or ... | | -| Patterns.cs:85:39:85:69 | ... ? ... : ... | Patterns.cs:85:39:85:53 | Before ... is ... | | +| Patterns.cs:85:39:85:69 | ... ? ... : ... | Patterns.cs:85:39:85:53 | ... is ... | | | Patterns.cs:85:39:85:69 | After ... ? ... : ... | Patterns.cs:85:26:85:27 | Normal Exit | | -| Patterns.cs:85:44:85:44 | 1 | Patterns.cs:85:49:85:53 | Before not ... | | -| Patterns.cs:85:44:85:53 | ... or ... | Patterns.cs:85:44:85:53 | After ... or ... | | -| Patterns.cs:85:44:85:53 | After ... or ... | Patterns.cs:85:39:85:53 | After ... is ... [true] | true | -| Patterns.cs:85:44:85:53 | Before ... or ... | Patterns.cs:85:44:85:44 | 1 | | -| Patterns.cs:85:49:85:53 | After not ... | Patterns.cs:85:44:85:53 | ... or ... | | -| Patterns.cs:85:49:85:53 | Before not ... | Patterns.cs:85:53:85:53 | 2 | | -| Patterns.cs:85:49:85:53 | not ... | Patterns.cs:85:49:85:53 | After not ... | | -| Patterns.cs:85:53:85:53 | 2 | Patterns.cs:85:49:85:53 | not ... | | +| Patterns.cs:85:44:85:44 | 1 | Patterns.cs:85:44:85:44 | After 1 [match] | match | +| Patterns.cs:85:44:85:44 | 1 | Patterns.cs:85:44:85:44 | After 1 [no-match] | no-match | +| Patterns.cs:85:44:85:44 | After 1 [match] | Patterns.cs:85:44:85:53 | After ... or ... [match] | match | +| Patterns.cs:85:44:85:44 | After 1 [no-match] | Patterns.cs:85:49:85:53 | not ... | | +| Patterns.cs:85:44:85:53 | ... or ... | Patterns.cs:85:44:85:44 | 1 | | +| Patterns.cs:85:44:85:53 | After ... or ... [match] | Patterns.cs:85:39:85:53 | After ... is ... [true] | true | +| Patterns.cs:85:44:85:53 | After ... or ... [no-match] | Patterns.cs:85:39:85:53 | After ... is ... [false] | false | +| Patterns.cs:85:49:85:53 | After not ... [match] | Patterns.cs:85:44:85:53 | After ... or ... [match] | match | +| Patterns.cs:85:49:85:53 | After not ... [no-match] | Patterns.cs:85:44:85:53 | After ... or ... [no-match] | no-match | +| Patterns.cs:85:49:85:53 | not ... | Patterns.cs:85:53:85:53 | 2 | | +| Patterns.cs:85:53:85:53 | 2 | Patterns.cs:85:53:85:53 | After 2 [match] | match | +| Patterns.cs:85:53:85:53 | 2 | Patterns.cs:85:53:85:53 | After 2 [no-match] | no-match | +| Patterns.cs:85:53:85:53 | After 2 [match] | Patterns.cs:85:49:85:53 | After not ... [no-match] | no-match | +| Patterns.cs:85:53:85:53 | After 2 [no-match] | Patterns.cs:85:49:85:53 | After not ... [match] | match | | Patterns.cs:85:57:85:63 | "not 2" | Patterns.cs:85:39:85:69 | After ... ? ... : ... | | | Patterns.cs:85:67:85:69 | "2" | Patterns.cs:85:39:85:69 | After ... ? ... : ... | | | Patterns.cs:87:26:87:27 | Entry | Patterns.cs:87:33:87:33 | i | | | Patterns.cs:87:26:87:27 | Normal Exit | Patterns.cs:87:26:87:27 | Exit | | | Patterns.cs:87:33:87:33 | i | Patterns.cs:87:39:87:70 | ... ? ... : ... | | -| Patterns.cs:87:39:87:39 | access to parameter i | Patterns.cs:87:39:87:54 | ... is ... | | -| Patterns.cs:87:39:87:54 | ... is ... | Patterns.cs:87:39:87:54 | After ... is ... [false] | false | -| Patterns.cs:87:39:87:54 | ... is ... | Patterns.cs:87:39:87:54 | [MatchTrue] ... is ... | true | +| Patterns.cs:87:39:87:39 | access to parameter i | Patterns.cs:87:44:87:54 | ... and ... | | +| Patterns.cs:87:39:87:54 | ... is ... | Patterns.cs:87:39:87:39 | access to parameter i | | | Patterns.cs:87:39:87:54 | After ... is ... [false] | Patterns.cs:87:64:87:70 | "not 1" | | | Patterns.cs:87:39:87:54 | After ... is ... [true] | Patterns.cs:87:58:87:60 | "1" | | -| Patterns.cs:87:39:87:54 | Before ... is ... | Patterns.cs:87:39:87:39 | access to parameter i | | -| Patterns.cs:87:39:87:54 | [MatchTrue] ... is ... | Patterns.cs:87:44:87:54 | Before ... and ... | | -| Patterns.cs:87:39:87:70 | ... ? ... : ... | Patterns.cs:87:39:87:54 | Before ... is ... | | +| Patterns.cs:87:39:87:70 | ... ? ... : ... | Patterns.cs:87:39:87:54 | ... is ... | | | Patterns.cs:87:39:87:70 | After ... ? ... : ... | Patterns.cs:87:26:87:27 | Normal Exit | | -| Patterns.cs:87:44:87:44 | 1 | Patterns.cs:87:50:87:54 | Before not ... | | -| Patterns.cs:87:44:87:54 | ... and ... | Patterns.cs:87:44:87:54 | After ... and ... | | -| Patterns.cs:87:44:87:54 | After ... and ... | Patterns.cs:87:39:87:54 | After ... is ... [true] | true | -| Patterns.cs:87:44:87:54 | Before ... and ... | Patterns.cs:87:44:87:44 | 1 | | -| Patterns.cs:87:50:87:54 | After not ... | Patterns.cs:87:44:87:54 | ... and ... | | -| Patterns.cs:87:50:87:54 | Before not ... | Patterns.cs:87:54:87:54 | 2 | | -| Patterns.cs:87:50:87:54 | not ... | Patterns.cs:87:50:87:54 | After not ... | | -| Patterns.cs:87:54:87:54 | 2 | Patterns.cs:87:50:87:54 | not ... | | +| Patterns.cs:87:44:87:44 | 1 | Patterns.cs:87:44:87:44 | After 1 [match] | match | +| Patterns.cs:87:44:87:44 | 1 | Patterns.cs:87:44:87:44 | After 1 [no-match] | no-match | +| Patterns.cs:87:44:87:44 | After 1 [match] | Patterns.cs:87:50:87:54 | not ... | | +| Patterns.cs:87:44:87:44 | After 1 [no-match] | Patterns.cs:87:44:87:54 | After ... and ... [no-match] | no-match | +| Patterns.cs:87:44:87:54 | ... and ... | Patterns.cs:87:44:87:44 | 1 | | +| Patterns.cs:87:44:87:54 | After ... and ... [match] | Patterns.cs:87:39:87:54 | After ... is ... [true] | true | +| Patterns.cs:87:44:87:54 | After ... and ... [no-match] | Patterns.cs:87:39:87:54 | After ... is ... [false] | false | +| Patterns.cs:87:50:87:54 | After not ... [match] | Patterns.cs:87:44:87:54 | After ... and ... [match] | match | +| Patterns.cs:87:50:87:54 | After not ... [no-match] | Patterns.cs:87:44:87:54 | After ... and ... [no-match] | no-match | +| Patterns.cs:87:50:87:54 | not ... | Patterns.cs:87:54:87:54 | 2 | | +| Patterns.cs:87:54:87:54 | 2 | Patterns.cs:87:54:87:54 | After 2 [match] | match | +| Patterns.cs:87:54:87:54 | 2 | Patterns.cs:87:54:87:54 | After 2 [no-match] | no-match | +| Patterns.cs:87:54:87:54 | After 2 [match] | Patterns.cs:87:50:87:54 | After not ... [no-match] | no-match | +| Patterns.cs:87:54:87:54 | After 2 [no-match] | Patterns.cs:87:50:87:54 | After not ... [match] | match | | Patterns.cs:87:58:87:60 | "1" | Patterns.cs:87:39:87:70 | After ... ? ... : ... | | | Patterns.cs:87:64:87:70 | "not 1" | Patterns.cs:87:39:87:70 | After ... ? ... : ... | | | Patterns.cs:93:17:93:19 | Entry | Patterns.cs:94:5:99:5 | {...} | | @@ -6150,25 +6152,30 @@ | Patterns.cs:94:5:99:5 | After {...} | Patterns.cs:93:17:93:19 | Normal Exit | | | Patterns.cs:94:5:99:5 | {...} | Patterns.cs:95:9:98:9 | if (...) ... | | | Patterns.cs:95:9:98:9 | After if (...) ... | Patterns.cs:94:5:99:5 | After {...} | | -| Patterns.cs:95:9:98:9 | if (...) ... | Patterns.cs:95:13:95:40 | Before ... is ... | | -| Patterns.cs:95:13:95:16 | this access | Patterns.cs:95:13:95:40 | ... is ... | | -| Patterns.cs:95:13:95:40 | ... is ... | Patterns.cs:95:13:95:40 | After ... is ... [false] | false | -| Patterns.cs:95:13:95:40 | ... is ... | Patterns.cs:95:13:95:40 | [MatchTrue] ... is ... | true | +| Patterns.cs:95:9:98:9 | if (...) ... | Patterns.cs:95:13:95:40 | ... is ... | | +| Patterns.cs:95:13:95:16 | this access | Patterns.cs:95:21:95:40 | { ... } | | +| Patterns.cs:95:13:95:40 | ... is ... | Patterns.cs:95:13:95:16 | this access | | | Patterns.cs:95:13:95:40 | After ... is ... [false] | Patterns.cs:95:9:98:9 | After if (...) ... | | | Patterns.cs:95:13:95:40 | After ... is ... [true] | Patterns.cs:96:9:98:9 | {...} | | -| Patterns.cs:95:13:95:40 | Before ... is ... | Patterns.cs:95:13:95:16 | this access | | -| Patterns.cs:95:13:95:40 | [MatchTrue] ... is ... | Patterns.cs:95:21:95:40 | Before { ... } | | -| Patterns.cs:95:21:95:40 | After { ... } | Patterns.cs:95:13:95:40 | After ... is ... [true] | true | -| Patterns.cs:95:21:95:40 | After { ... } | Patterns.cs:95:21:95:40 | { ... } | | -| Patterns.cs:95:21:95:40 | Before { ... } | Patterns.cs:95:21:95:40 | Before { ... } | | -| Patterns.cs:95:21:95:40 | Before { ... } | Patterns.cs:95:29:95:38 | Before ... or ... | | -| Patterns.cs:95:21:95:40 | { ... } | Patterns.cs:95:21:95:40 | After { ... } | | -| Patterns.cs:95:21:95:40 | { ... } | Patterns.cs:95:21:95:40 | After { ... } | | -| Patterns.cs:95:29:95:31 | access to constant A | Patterns.cs:95:36:95:38 | access to constant B | | -| Patterns.cs:95:29:95:38 | ... or ... | Patterns.cs:95:29:95:38 | After ... or ... | | -| Patterns.cs:95:29:95:38 | After ... or ... | Patterns.cs:95:21:95:40 | { ... } | | -| Patterns.cs:95:29:95:38 | Before ... or ... | Patterns.cs:95:29:95:31 | access to constant A | | -| Patterns.cs:95:36:95:38 | access to constant B | Patterns.cs:95:29:95:38 | ... or ... | | +| Patterns.cs:95:21:95:40 | After { ... } [match] | Patterns.cs:95:13:95:40 | After ... is ... [true] | true | +| Patterns.cs:95:21:95:40 | After { ... } [match] | Patterns.cs:95:21:95:40 | After { ... } [match] | match | +| Patterns.cs:95:21:95:40 | After { ... } [no-match] | Patterns.cs:95:13:95:40 | After ... is ... [false] | false | +| Patterns.cs:95:21:95:40 | After { ... } [no-match] | Patterns.cs:95:21:95:40 | After { ... } [no-match] | no-match | +| Patterns.cs:95:21:95:40 | [OuterPatternMatch] { ... } | Patterns.cs:95:29:95:38 | ... or ... | | +| Patterns.cs:95:21:95:40 | { ... } | Patterns.cs:95:21:95:40 | After { ... } [no-match] | no-match | +| Patterns.cs:95:21:95:40 | { ... } | Patterns.cs:95:21:95:40 | [OuterPatternMatch] { ... } | match | +| Patterns.cs:95:21:95:40 | { ... } | Patterns.cs:95:21:95:40 | { ... } | | +| Patterns.cs:95:29:95:31 | After access to constant A [match] | Patterns.cs:95:29:95:38 | After ... or ... [match] | match | +| Patterns.cs:95:29:95:31 | After access to constant A [no-match] | Patterns.cs:95:36:95:38 | access to constant B | | +| Patterns.cs:95:29:95:31 | access to constant A | Patterns.cs:95:29:95:31 | After access to constant A [match] | match | +| Patterns.cs:95:29:95:31 | access to constant A | Patterns.cs:95:29:95:31 | After access to constant A [no-match] | no-match | +| Patterns.cs:95:29:95:38 | ... or ... | Patterns.cs:95:29:95:31 | access to constant A | | +| Patterns.cs:95:29:95:38 | After ... or ... [match] | Patterns.cs:95:21:95:40 | After { ... } [match] | match | +| Patterns.cs:95:29:95:38 | After ... or ... [no-match] | Patterns.cs:95:21:95:40 | After { ... } [no-match] | no-match | +| Patterns.cs:95:36:95:38 | After access to constant B [match] | Patterns.cs:95:29:95:38 | After ... or ... [match] | match | +| Patterns.cs:95:36:95:38 | After access to constant B [no-match] | Patterns.cs:95:29:95:38 | After ... or ... [no-match] | no-match | +| Patterns.cs:95:36:95:38 | access to constant B | Patterns.cs:95:36:95:38 | After access to constant B [match] | match | +| Patterns.cs:95:36:95:38 | access to constant B | Patterns.cs:95:36:95:38 | After access to constant B [no-match] | no-match | | Patterns.cs:96:9:98:9 | After {...} | Patterns.cs:95:9:98:9 | After if (...) ... | | | Patterns.cs:96:9:98:9 | {...} | Patterns.cs:97:13:97:39 | ...; | | | Patterns.cs:97:13:97:38 | After call to method WriteLine | Patterns.cs:97:13:97:39 | After ...; | | @@ -6204,15 +6211,15 @@ | PostDominance.cs:11:5:15:5 | After {...} | PostDominance.cs:10:10:10:11 | Normal Exit | | | PostDominance.cs:11:5:15:5 | {...} | PostDominance.cs:12:9:13:19 | if (...) ... | | | PostDominance.cs:12:9:13:19 | After if (...) ... | PostDominance.cs:14:9:14:29 | ...; | | -| PostDominance.cs:12:9:13:19 | if (...) ... | PostDominance.cs:12:13:12:21 | Before ... is ... | | -| PostDominance.cs:12:13:12:13 | access to parameter s | PostDominance.cs:12:13:12:21 | ... is ... | | -| PostDominance.cs:12:13:12:21 | ... is ... | PostDominance.cs:12:13:12:21 | After ... is ... [false] | false | -| PostDominance.cs:12:13:12:21 | ... is ... | PostDominance.cs:12:13:12:21 | [MatchTrue] ... is ... | true | +| PostDominance.cs:12:9:13:19 | if (...) ... | PostDominance.cs:12:13:12:21 | ... is ... | | +| PostDominance.cs:12:13:12:13 | access to parameter s | PostDominance.cs:12:18:12:21 | null | | +| PostDominance.cs:12:13:12:21 | ... is ... | PostDominance.cs:12:13:12:13 | access to parameter s | | | PostDominance.cs:12:13:12:21 | After ... is ... [false] | PostDominance.cs:12:9:13:19 | After if (...) ... | | | PostDominance.cs:12:13:12:21 | After ... is ... [true] | PostDominance.cs:13:13:13:19 | Before return ...; | | -| PostDominance.cs:12:13:12:21 | Before ... is ... | PostDominance.cs:12:13:12:13 | access to parameter s | | -| PostDominance.cs:12:13:12:21 | [MatchTrue] ... is ... | PostDominance.cs:12:18:12:21 | null | | -| PostDominance.cs:12:18:12:21 | null | PostDominance.cs:12:13:12:21 | After ... is ... [true] | true | +| PostDominance.cs:12:18:12:21 | After null [match] | PostDominance.cs:12:13:12:21 | After ... is ... [true] | true | +| PostDominance.cs:12:18:12:21 | After null [no-match] | PostDominance.cs:12:13:12:21 | After ... is ... [false] | false | +| PostDominance.cs:12:18:12:21 | null | PostDominance.cs:12:18:12:21 | After null [match] | match | +| PostDominance.cs:12:18:12:21 | null | PostDominance.cs:12:18:12:21 | After null [no-match] | no-match | | PostDominance.cs:13:13:13:19 | Before return ...; | PostDominance.cs:13:13:13:19 | return ...; | | | PostDominance.cs:13:13:13:19 | return ...; | PostDominance.cs:10:10:10:11 | Normal Exit | return | | PostDominance.cs:14:9:14:28 | After call to method WriteLine | PostDominance.cs:14:9:14:29 | After ...; | | @@ -6228,15 +6235,15 @@ | PostDominance.cs:18:5:22:5 | After {...} | PostDominance.cs:17:10:17:11 | Normal Exit | | | PostDominance.cs:18:5:22:5 | {...} | PostDominance.cs:19:9:20:55 | if (...) ... | | | PostDominance.cs:19:9:20:55 | After if (...) ... | PostDominance.cs:21:9:21:29 | ...; | | -| PostDominance.cs:19:9:20:55 | if (...) ... | PostDominance.cs:19:13:19:21 | Before ... is ... | | -| PostDominance.cs:19:13:19:13 | access to parameter s | PostDominance.cs:19:13:19:21 | ... is ... | | -| PostDominance.cs:19:13:19:21 | ... is ... | PostDominance.cs:19:13:19:21 | After ... is ... [false] | false | -| PostDominance.cs:19:13:19:21 | ... is ... | PostDominance.cs:19:13:19:21 | [MatchTrue] ... is ... | true | +| PostDominance.cs:19:9:20:55 | if (...) ... | PostDominance.cs:19:13:19:21 | ... is ... | | +| PostDominance.cs:19:13:19:13 | access to parameter s | PostDominance.cs:19:18:19:21 | null | | +| PostDominance.cs:19:13:19:21 | ... is ... | PostDominance.cs:19:13:19:13 | access to parameter s | | | PostDominance.cs:19:13:19:21 | After ... is ... [false] | PostDominance.cs:19:9:20:55 | After if (...) ... | | | PostDominance.cs:19:13:19:21 | After ... is ... [true] | PostDominance.cs:20:13:20:55 | Before throw ...; | | -| PostDominance.cs:19:13:19:21 | Before ... is ... | PostDominance.cs:19:13:19:13 | access to parameter s | | -| PostDominance.cs:19:13:19:21 | [MatchTrue] ... is ... | PostDominance.cs:19:18:19:21 | null | | -| PostDominance.cs:19:18:19:21 | null | PostDominance.cs:19:13:19:21 | After ... is ... [true] | true | +| PostDominance.cs:19:18:19:21 | After null [match] | PostDominance.cs:19:13:19:21 | After ... is ... [true] | true | +| PostDominance.cs:19:18:19:21 | After null [no-match] | PostDominance.cs:19:13:19:21 | After ... is ... [false] | false | +| PostDominance.cs:19:18:19:21 | null | PostDominance.cs:19:18:19:21 | After null [match] | match | +| PostDominance.cs:19:18:19:21 | null | PostDominance.cs:19:18:19:21 | After null [no-match] | no-match | | PostDominance.cs:20:13:20:55 | Before throw ...; | PostDominance.cs:20:19:20:54 | Before object creation of type ArgumentNullException | | | PostDominance.cs:20:13:20:55 | throw ...; | PostDominance.cs:17:10:17:11 | Exceptional Exit | exception | | PostDominance.cs:20:19:20:54 | After object creation of type ArgumentNullException | PostDominance.cs:20:13:20:55 | throw ...; | | @@ -6470,13 +6477,14 @@ | Switch.cs:19:17:19:29 | goto default; | Switch.cs:30:13:30:20 | After default: [match] | goto | | Switch.cs:20:13:20:23 | After case ...: [match] | Switch.cs:21:17:22:27 | if (...) ... | | | Switch.cs:20:13:20:23 | After case ...: [no-match] | Switch.cs:24:13:24:56 | case ...: | | -| Switch.cs:20:13:20:23 | case ...: | Switch.cs:20:18:20:22 | Before Int32 i | | +| Switch.cs:20:13:20:23 | case ...: | Switch.cs:20:18:20:22 | Int32 i | | | Switch.cs:20:18:20:22 | After Int32 i [match] | Switch.cs:20:13:20:23 | After case ...: [match] | match | | Switch.cs:20:18:20:22 | After Int32 i [no-match] | Switch.cs:20:13:20:23 | After case ...: [no-match] | no-match | -| Switch.cs:20:18:20:22 | Before Int32 i | Switch.cs:20:22:20:22 | access to local variable i | | -| Switch.cs:20:18:20:22 | Int32 i | Switch.cs:20:18:20:22 | After Int32 i [match] | match | | Switch.cs:20:18:20:22 | Int32 i | Switch.cs:20:18:20:22 | After Int32 i [no-match] | no-match | -| Switch.cs:20:22:20:22 | access to local variable i | Switch.cs:20:18:20:22 | Int32 i | | +| Switch.cs:20:18:20:22 | Int32 i | Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | match | +| Switch.cs:20:18:20:22 | [OuterPatternMatch] Int32 i | Switch.cs:20:22:20:22 | access to local variable i | | +| Switch.cs:20:22:20:22 | After access to local variable i [match] | Switch.cs:20:18:20:22 | After Int32 i [match] | match | +| Switch.cs:20:22:20:22 | access to local variable i | Switch.cs:20:22:20:22 | After access to local variable i [match] | match | | Switch.cs:21:17:22:27 | After if (...) ... | Switch.cs:23:17:23:28 | Before goto case ...; | | | Switch.cs:21:17:22:27 | if (...) ... | Switch.cs:21:21:21:29 | Before ... == ... | | | Switch.cs:21:21:21:21 | access to parameter o | Switch.cs:21:26:21:29 | null | | @@ -6493,13 +6501,14 @@ | Switch.cs:23:27:23:27 | 0 | Switch.cs:23:17:23:28 | goto case ...; | | | Switch.cs:24:13:24:56 | After case ...: [match] | Switch.cs:24:32:24:55 | ... && ... | | | Switch.cs:24:13:24:56 | After case ...: [no-match] | Switch.cs:27:13:27:39 | case ...: | | -| Switch.cs:24:13:24:56 | case ...: | Switch.cs:24:18:24:25 | Before String s | | +| Switch.cs:24:13:24:56 | case ...: | Switch.cs:24:18:24:25 | String s | | | Switch.cs:24:18:24:25 | After String s [match] | Switch.cs:24:13:24:56 | After case ...: [match] | match | | Switch.cs:24:18:24:25 | After String s [no-match] | Switch.cs:24:13:24:56 | After case ...: [no-match] | no-match | -| Switch.cs:24:18:24:25 | Before String s | Switch.cs:24:25:24:25 | access to local variable s | | -| Switch.cs:24:18:24:25 | String s | Switch.cs:24:18:24:25 | After String s [match] | match | | Switch.cs:24:18:24:25 | String s | Switch.cs:24:18:24:25 | After String s [no-match] | no-match | -| Switch.cs:24:25:24:25 | access to local variable s | Switch.cs:24:18:24:25 | String s | | +| Switch.cs:24:18:24:25 | String s | Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | match | +| Switch.cs:24:18:24:25 | [OuterPatternMatch] String s | Switch.cs:24:25:24:25 | access to local variable s | | +| Switch.cs:24:25:24:25 | After access to local variable s [match] | Switch.cs:24:18:24:25 | After String s [match] | match | +| Switch.cs:24:25:24:25 | access to local variable s | Switch.cs:24:25:24:25 | After access to local variable s [match] | match | | Switch.cs:24:32:24:32 | access to local variable s | Switch.cs:24:32:24:39 | access to property Length | | | Switch.cs:24:32:24:39 | After access to property Length | Switch.cs:24:43:24:43 | 0 | | | Switch.cs:24:32:24:39 | Before access to property Length | Switch.cs:24:32:24:32 | access to local variable s | | @@ -6530,13 +6539,14 @@ | Switch.cs:26:17:26:23 | return ...; | Switch.cs:10:10:10:11 | Normal Exit | return | | Switch.cs:27:13:27:39 | After case ...: [match] | Switch.cs:27:32:27:38 | Before call to method Throw | | | Switch.cs:27:13:27:39 | After case ...: [no-match] | Switch.cs:30:13:30:20 | default: | | -| Switch.cs:27:13:27:39 | case ...: | Switch.cs:27:18:27:25 | Before Double d | | +| Switch.cs:27:13:27:39 | case ...: | Switch.cs:27:18:27:25 | Double d | | | Switch.cs:27:18:27:25 | After Double d [match] | Switch.cs:27:13:27:39 | After case ...: [match] | match | | Switch.cs:27:18:27:25 | After Double d [no-match] | Switch.cs:27:13:27:39 | After case ...: [no-match] | no-match | -| Switch.cs:27:18:27:25 | Before Double d | Switch.cs:27:25:27:25 | access to local variable d | | -| Switch.cs:27:18:27:25 | Double d | Switch.cs:27:18:27:25 | After Double d [match] | match | | Switch.cs:27:18:27:25 | Double d | Switch.cs:27:18:27:25 | After Double d [no-match] | no-match | -| Switch.cs:27:25:27:25 | access to local variable d | Switch.cs:27:18:27:25 | Double d | | +| Switch.cs:27:18:27:25 | Double d | Switch.cs:27:18:27:25 | [OuterPatternMatch] Double d | match | +| Switch.cs:27:18:27:25 | [OuterPatternMatch] Double d | Switch.cs:27:25:27:25 | access to local variable d | | +| Switch.cs:27:25:27:25 | After access to local variable d [match] | Switch.cs:27:18:27:25 | After Double d [match] | match | +| Switch.cs:27:25:27:25 | access to local variable d | Switch.cs:27:25:27:25 | After access to local variable d [match] | match | | Switch.cs:27:32:27:38 | Before call to method Throw | Switch.cs:27:32:27:38 | call to method Throw | | | Switch.cs:27:32:27:38 | call to method Throw | Switch.cs:10:10:10:11 | Exceptional Exit | exception | | Switch.cs:28:13:28:17 | Label: | Switch.cs:29:17:29:23 | Before return ...; | | @@ -6814,13 +6824,14 @@ | Switch.cs:125:13:125:48 | After ... switch { ... } [true] | Switch.cs:126:13:126:19 | Before return ...; | | | Switch.cs:125:24:125:29 | After Boolean b [match] | Switch.cs:125:24:125:34 | After ... => ... [match] | match | | Switch.cs:125:24:125:29 | After Boolean b [no-match] | Switch.cs:125:24:125:34 | After ... => ... [no-match] | no-match | -| Switch.cs:125:24:125:29 | Before Boolean b | Switch.cs:125:29:125:29 | access to local variable b | | -| Switch.cs:125:24:125:29 | Boolean b | Switch.cs:125:24:125:29 | After Boolean b [match] | match | | Switch.cs:125:24:125:29 | Boolean b | Switch.cs:125:24:125:29 | After Boolean b [no-match] | no-match | -| Switch.cs:125:24:125:34 | ... => ... | Switch.cs:125:24:125:29 | Before Boolean b | | +| Switch.cs:125:24:125:29 | Boolean b | Switch.cs:125:24:125:29 | [OuterPatternMatch] Boolean b | match | +| Switch.cs:125:24:125:29 | [OuterPatternMatch] Boolean b | Switch.cs:125:29:125:29 | access to local variable b | | +| Switch.cs:125:24:125:34 | ... => ... | Switch.cs:125:24:125:29 | Boolean b | | | Switch.cs:125:24:125:34 | After ... => ... [match] | Switch.cs:125:34:125:34 | access to local variable b | | | Switch.cs:125:24:125:34 | After ... => ... [no-match] | Switch.cs:125:37:125:46 | ... => ... | | -| Switch.cs:125:29:125:29 | access to local variable b | Switch.cs:125:24:125:29 | Boolean b | | +| Switch.cs:125:29:125:29 | After access to local variable b [match] | Switch.cs:125:24:125:29 | After Boolean b [match] | match | +| Switch.cs:125:29:125:29 | access to local variable b | Switch.cs:125:29:125:29 | After access to local variable b [match] | match | | Switch.cs:125:34:125:34 | After access to local variable b [false] | Switch.cs:125:13:125:48 | After ... switch { ... } [false] | false | | Switch.cs:125:34:125:34 | After access to local variable b [true] | Switch.cs:125:13:125:48 | After ... switch { ... } [true] | true | | Switch.cs:125:34:125:34 | access to local variable b | Switch.cs:125:34:125:34 | After access to local variable b [false] | false | @@ -6848,13 +6859,14 @@ | Switch.cs:131:17:131:53 | After ... switch { ... } [null] | Switch.cs:131:16:131:66 | After call to method ToString | | | Switch.cs:131:28:131:35 | After String s [match] | Switch.cs:131:28:131:40 | After ... => ... [match] | match | | Switch.cs:131:28:131:35 | After String s [no-match] | Switch.cs:131:28:131:40 | After ... => ... [no-match] | no-match | -| Switch.cs:131:28:131:35 | Before String s | Switch.cs:131:35:131:35 | access to local variable s | | -| Switch.cs:131:28:131:35 | String s | Switch.cs:131:28:131:35 | After String s [match] | match | | Switch.cs:131:28:131:35 | String s | Switch.cs:131:28:131:35 | After String s [no-match] | no-match | -| Switch.cs:131:28:131:40 | ... => ... | Switch.cs:131:28:131:35 | Before String s | | +| Switch.cs:131:28:131:35 | String s | Switch.cs:131:28:131:35 | [OuterPatternMatch] String s | match | +| Switch.cs:131:28:131:35 | [OuterPatternMatch] String s | Switch.cs:131:35:131:35 | access to local variable s | | +| Switch.cs:131:28:131:40 | ... => ... | Switch.cs:131:28:131:35 | String s | | | Switch.cs:131:28:131:40 | After ... => ... [match] | Switch.cs:131:40:131:40 | access to local variable s | | | Switch.cs:131:28:131:40 | After ... => ... [no-match] | Switch.cs:131:43:131:51 | ... => ... | | -| Switch.cs:131:35:131:35 | access to local variable s | Switch.cs:131:28:131:35 | String s | | +| Switch.cs:131:35:131:35 | After access to local variable s [match] | Switch.cs:131:28:131:35 | After String s [match] | match | +| Switch.cs:131:35:131:35 | access to local variable s | Switch.cs:131:35:131:35 | After access to local variable s [match] | match | | Switch.cs:131:40:131:40 | After access to local variable s [non-null] | Switch.cs:131:17:131:53 | After ... switch { ... } [non-null] | non-null | | Switch.cs:131:40:131:40 | After access to local variable s [null] | Switch.cs:131:17:131:53 | After ... switch { ... } [null] | null | | Switch.cs:131:40:131:40 | access to local variable s | Switch.cs:131:40:131:40 | After access to local variable s [non-null] | non-null | @@ -7088,18 +7100,18 @@ | TypeAccesses.cs:6:13:6:23 | After ... as ... | TypeAccesses.cs:6:9:6:23 | ... = ... | | | TypeAccesses.cs:6:13:6:23 | Before ... as ... | TypeAccesses.cs:6:13:6:13 | access to parameter o | | | TypeAccesses.cs:7:9:7:25 | After if (...) ... | TypeAccesses.cs:8:9:8:28 | ... ...; | | -| TypeAccesses.cs:7:9:7:25 | if (...) ... | TypeAccesses.cs:7:13:7:22 | Before ... is ... | | -| TypeAccesses.cs:7:13:7:13 | access to parameter o | TypeAccesses.cs:7:13:7:22 | ... is ... | | -| TypeAccesses.cs:7:13:7:22 | ... is ... | TypeAccesses.cs:7:13:7:22 | After ... is ... [false] | false | -| TypeAccesses.cs:7:13:7:22 | ... is ... | TypeAccesses.cs:7:13:7:22 | [MatchTrue] ... is ... | true | +| TypeAccesses.cs:7:9:7:25 | if (...) ... | TypeAccesses.cs:7:13:7:22 | ... is ... | | +| TypeAccesses.cs:7:13:7:13 | access to parameter o | TypeAccesses.cs:7:18:7:22 | Int32 j | | +| TypeAccesses.cs:7:13:7:22 | ... is ... | TypeAccesses.cs:7:13:7:13 | access to parameter o | | | TypeAccesses.cs:7:13:7:22 | After ... is ... [false] | TypeAccesses.cs:7:9:7:25 | After if (...) ... | | | TypeAccesses.cs:7:13:7:22 | After ... is ... [true] | TypeAccesses.cs:7:25:7:25 | ; | | -| TypeAccesses.cs:7:13:7:22 | Before ... is ... | TypeAccesses.cs:7:13:7:13 | access to parameter o | | -| TypeAccesses.cs:7:13:7:22 | [MatchTrue] ... is ... | TypeAccesses.cs:7:18:7:22 | Before Int32 j | | -| TypeAccesses.cs:7:18:7:22 | After Int32 j | TypeAccesses.cs:7:13:7:22 | After ... is ... [true] | true | -| TypeAccesses.cs:7:18:7:22 | Before Int32 j | TypeAccesses.cs:7:22:7:22 | access to local variable j | | -| TypeAccesses.cs:7:18:7:22 | Int32 j | TypeAccesses.cs:7:18:7:22 | After Int32 j | | -| TypeAccesses.cs:7:22:7:22 | access to local variable j | TypeAccesses.cs:7:18:7:22 | Int32 j | | +| TypeAccesses.cs:7:18:7:22 | After Int32 j [match] | TypeAccesses.cs:7:13:7:22 | After ... is ... [true] | true | +| TypeAccesses.cs:7:18:7:22 | After Int32 j [no-match] | TypeAccesses.cs:7:13:7:22 | After ... is ... [false] | false | +| TypeAccesses.cs:7:18:7:22 | Int32 j | TypeAccesses.cs:7:18:7:22 | After Int32 j [no-match] | no-match | +| TypeAccesses.cs:7:18:7:22 | Int32 j | TypeAccesses.cs:7:18:7:22 | [OuterPatternMatch] Int32 j | match | +| TypeAccesses.cs:7:18:7:22 | [OuterPatternMatch] Int32 j | TypeAccesses.cs:7:22:7:22 | access to local variable j | | +| TypeAccesses.cs:7:22:7:22 | After access to local variable j [match] | TypeAccesses.cs:7:18:7:22 | After Int32 j [match] | match | +| TypeAccesses.cs:7:22:7:22 | access to local variable j | TypeAccesses.cs:7:22:7:22 | After access to local variable j [match] | match | | TypeAccesses.cs:7:25:7:25 | ; | TypeAccesses.cs:7:9:7:25 | After if (...) ... | | | TypeAccesses.cs:8:9:8:28 | ... ...; | TypeAccesses.cs:8:13:8:27 | Before Type t = ... | | | TypeAccesses.cs:8:9:8:28 | After ... ...; | TypeAccesses.cs:4:5:9:5 | After {...} | | diff --git a/csharp/ql/test/library-tests/controlflow/graph/Patterns.cs b/csharp/ql/test/library-tests/controlflow/graph/Patterns.cs index 72d17592b749..6d2f0ebbb55a 100644 --- a/csharp/ql/test/library-tests/controlflow/graph/Patterns.cs +++ b/csharp/ql/test/library-tests/controlflow/graph/Patterns.cs @@ -33,7 +33,7 @@ void M1() case var v2: break; default: - Console.WriteLine("Something else"); + Console.WriteLine("Something else"); // dead code break; } diff --git a/csharp/ql/test/library-tests/controlflow/guards/AbstractValue.expected b/csharp/ql/test/library-tests/controlflow/guards/AbstractValue.expected index 10ca9fea4c10..81e761e90bea 100644 --- a/csharp/ql/test/library-tests/controlflow/guards/AbstractValue.expected +++ b/csharp/ql/test/library-tests/controlflow/guards/AbstractValue.expected @@ -698,9 +698,11 @@ | not null | Guards.cs:138:20:138:27 | access to property Length | | not null | Guards.cs:139:16:139:23 | access to property Length | | not null | Guards.cs:144:13:144:25 | ... is ... | +| not null | Guards.cs:144:18:144:25 | String s | | not null | Guards.cs:145:20:145:20 | access to local variable s | | not null | Guards.cs:153:18:153:31 | access to type Action | | not null | Guards.cs:154:24:154:24 | access to parameter o | +| not null | Guards.cs:155:18:155:33 | Action a | | not null | Guards.cs:156:24:156:24 | access to local variable a | | not null | Guards.cs:157:18:157:19 | "" | | not null | Guards.cs:158:24:158:24 | access to parameter o | @@ -800,6 +802,7 @@ | not null | Guards.cs:270:30:270:31 | access to parameter o2 | | not null | Guards.cs:278:13:278:26 | access to type Action | | not null | Guards.cs:279:17:279:17 | access to parameter o | +| not null | Guards.cs:280:13:280:28 | Action a | | not null | Guards.cs:281:17:281:17 | access to local variable a | | not null | Guards.cs:282:13:282:14 | "" | | not null | Guards.cs:283:17:283:17 | access to parameter o | diff --git a/csharp/ql/test/library-tests/controlflow/guards/GuardedControlFlowNode.expected b/csharp/ql/test/library-tests/controlflow/guards/GuardedControlFlowNode.expected index f9d4f9775b40..7543563378ac 100644 --- a/csharp/ql/test/library-tests/controlflow/guards/GuardedControlFlowNode.expected +++ b/csharp/ql/test/library-tests/controlflow/guards/GuardedControlFlowNode.expected @@ -149,9 +149,12 @@ | Guards.cs:139:16:139:16 | access to parameter s | Guards.cs:137:13:137:13 | access to parameter s | Guards.cs:137:13:137:13 | access to parameter s | null | | Guards.cs:139:16:139:16 | access to parameter s | Guards.cs:137:13:137:25 | ... is ... | Guards.cs:137:13:137:13 | access to parameter s | false | | Guards.cs:144:25:144:25 | access to local variable s | Guards.cs:144:13:144:25 | ... is ... | Guards.cs:144:25:144:25 | access to local variable s | true | +| Guards.cs:144:25:144:25 | access to local variable s | Guards.cs:144:18:144:25 | String s | Guards.cs:144:25:144:25 | access to local variable s | match | | Guards.cs:145:20:145:20 | access to local variable s | Guards.cs:144:13:144:25 | ... is ... | Guards.cs:144:25:144:25 | access to local variable s | true | +| Guards.cs:145:20:145:20 | access to local variable s | Guards.cs:144:18:144:25 | String s | Guards.cs:144:25:144:25 | access to local variable s | match | | Guards.cs:146:16:146:16 | access to parameter o | Guards.cs:144:13:144:25 | ... is ... | Guards.cs:144:13:144:13 | access to parameter o | false | | Guards.cs:154:24:154:24 | access to parameter o | Guards.cs:151:17:151:17 | access to parameter o | Guards.cs:151:17:151:17 | access to parameter o | not null | +| Guards.cs:155:33:155:33 | access to local variable a | Guards.cs:155:18:155:33 | Action a | Guards.cs:155:33:155:33 | access to local variable a | match | | Guards.cs:156:24:156:24 | access to local variable a | Guards.cs:155:18:155:33 | Action a | Guards.cs:155:33:155:33 | access to local variable a | match | | Guards.cs:158:24:158:24 | access to parameter o | Guards.cs:151:17:151:17 | access to parameter o | Guards.cs:151:17:151:17 | access to parameter o | | | Guards.cs:158:24:158:24 | access to parameter o | Guards.cs:151:17:151:17 | access to parameter o | Guards.cs:151:17:151:17 | access to parameter o | not null | @@ -179,6 +182,7 @@ | Guards.cs:269:13:269:14 | access to parameter o1 | Guards.cs:268:13:268:41 | call to operator == | Guards.cs:268:13:268:14 | access to parameter o1 | true | | Guards.cs:271:13:271:14 | access to parameter o1 | Guards.cs:270:13:270:42 | call to operator == | Guards.cs:270:13:270:14 | access to parameter o1 | true | | Guards.cs:279:17:279:17 | access to parameter o | Guards.cs:276:16:276:16 | access to parameter o | Guards.cs:276:16:276:16 | access to parameter o | not null | +| Guards.cs:280:28:280:28 | access to local variable a | Guards.cs:280:13:280:28 | Action a | Guards.cs:280:28:280:28 | access to local variable a | match | | Guards.cs:281:17:281:17 | access to local variable a | Guards.cs:280:13:280:28 | Action a | Guards.cs:280:28:280:28 | access to local variable a | match | | Guards.cs:283:17:283:17 | access to parameter o | Guards.cs:276:16:276:16 | access to parameter o | Guards.cs:276:16:276:16 | access to parameter o | | | Guards.cs:283:17:283:17 | access to parameter o | Guards.cs:276:16:276:16 | access to parameter o | Guards.cs:276:16:276:16 | access to parameter o | not null | diff --git a/csharp/ql/test/library-tests/controlflow/guards/GuardedExpr.expected b/csharp/ql/test/library-tests/controlflow/guards/GuardedExpr.expected index f9d4f9775b40..7543563378ac 100644 --- a/csharp/ql/test/library-tests/controlflow/guards/GuardedExpr.expected +++ b/csharp/ql/test/library-tests/controlflow/guards/GuardedExpr.expected @@ -149,9 +149,12 @@ | Guards.cs:139:16:139:16 | access to parameter s | Guards.cs:137:13:137:13 | access to parameter s | Guards.cs:137:13:137:13 | access to parameter s | null | | Guards.cs:139:16:139:16 | access to parameter s | Guards.cs:137:13:137:25 | ... is ... | Guards.cs:137:13:137:13 | access to parameter s | false | | Guards.cs:144:25:144:25 | access to local variable s | Guards.cs:144:13:144:25 | ... is ... | Guards.cs:144:25:144:25 | access to local variable s | true | +| Guards.cs:144:25:144:25 | access to local variable s | Guards.cs:144:18:144:25 | String s | Guards.cs:144:25:144:25 | access to local variable s | match | | Guards.cs:145:20:145:20 | access to local variable s | Guards.cs:144:13:144:25 | ... is ... | Guards.cs:144:25:144:25 | access to local variable s | true | +| Guards.cs:145:20:145:20 | access to local variable s | Guards.cs:144:18:144:25 | String s | Guards.cs:144:25:144:25 | access to local variable s | match | | Guards.cs:146:16:146:16 | access to parameter o | Guards.cs:144:13:144:25 | ... is ... | Guards.cs:144:13:144:13 | access to parameter o | false | | Guards.cs:154:24:154:24 | access to parameter o | Guards.cs:151:17:151:17 | access to parameter o | Guards.cs:151:17:151:17 | access to parameter o | not null | +| Guards.cs:155:33:155:33 | access to local variable a | Guards.cs:155:18:155:33 | Action a | Guards.cs:155:33:155:33 | access to local variable a | match | | Guards.cs:156:24:156:24 | access to local variable a | Guards.cs:155:18:155:33 | Action a | Guards.cs:155:33:155:33 | access to local variable a | match | | Guards.cs:158:24:158:24 | access to parameter o | Guards.cs:151:17:151:17 | access to parameter o | Guards.cs:151:17:151:17 | access to parameter o | | | Guards.cs:158:24:158:24 | access to parameter o | Guards.cs:151:17:151:17 | access to parameter o | Guards.cs:151:17:151:17 | access to parameter o | not null | @@ -179,6 +182,7 @@ | Guards.cs:269:13:269:14 | access to parameter o1 | Guards.cs:268:13:268:41 | call to operator == | Guards.cs:268:13:268:14 | access to parameter o1 | true | | Guards.cs:271:13:271:14 | access to parameter o1 | Guards.cs:270:13:270:42 | call to operator == | Guards.cs:270:13:270:14 | access to parameter o1 | true | | Guards.cs:279:17:279:17 | access to parameter o | Guards.cs:276:16:276:16 | access to parameter o | Guards.cs:276:16:276:16 | access to parameter o | not null | +| Guards.cs:280:28:280:28 | access to local variable a | Guards.cs:280:13:280:28 | Action a | Guards.cs:280:28:280:28 | access to local variable a | match | | Guards.cs:281:17:281:17 | access to local variable a | Guards.cs:280:13:280:28 | Action a | Guards.cs:280:28:280:28 | access to local variable a | match | | Guards.cs:283:17:283:17 | access to parameter o | Guards.cs:276:16:276:16 | access to parameter o | Guards.cs:276:16:276:16 | access to parameter o | | | Guards.cs:283:17:283:17 | access to parameter o | Guards.cs:276:16:276:16 | access to parameter o | Guards.cs:276:16:276:16 | access to parameter o | not null | diff --git a/csharp/ql/test/library-tests/controlflow/pattern-guards/Test.cs b/csharp/ql/test/library-tests/controlflow/pattern-guards/Test.cs new file mode 100644 index 000000000000..951b90dbd694 --- /dev/null +++ b/csharp/ql/test/library-tests/controlflow/pattern-guards/Test.cs @@ -0,0 +1,19 @@ +class Test +{ + static void Sink(string label) { } + + static void Check(object value) + { + if (value is string { Length: > 1 and < 10 }) + Sink("recursive"); + + if (value is int and (> 0 or < -5)) + Sink("conjunction"); + + if (value is not (int and > 0)) + Sink("negated conjunction"); + + if (value is not (> 10 or < -10)) + Sink("negated disjunction"); + } +} diff --git a/csharp/ql/test/library-tests/controlflow/pattern-guards/test.expected b/csharp/ql/test/library-tests/controlflow/pattern-guards/test.expected new file mode 100644 index 000000000000..6ac5025a2a13 --- /dev/null +++ b/csharp/ql/test/library-tests/controlflow/pattern-guards/test.expected @@ -0,0 +1,15 @@ +| Test.cs:8:18:8:28 | "recursive" | Test.cs:7:22:7:27 | access to type String | match | +| Test.cs:8:18:8:28 | "recursive" | Test.cs:7:22:7:52 | { ... } | match | +| Test.cs:8:18:8:28 | "recursive" | Test.cs:7:29:7:52 | { ... } | match | +| Test.cs:8:18:8:28 | "recursive" | Test.cs:7:39:7:41 | > ... | match | +| Test.cs:8:18:8:28 | "recursive" | Test.cs:7:39:7:50 | ... and ... | match | +| Test.cs:8:18:8:28 | "recursive" | Test.cs:7:47:7:50 | < ... | match | +| Test.cs:11:18:11:30 | "conjunction" | Test.cs:10:22:10:24 | access to type Int32 | match | +| Test.cs:11:18:11:30 | "conjunction" | Test.cs:10:22:10:42 | ... and ... | match | +| Test.cs:11:18:11:30 | "conjunction" | Test.cs:10:31:10:41 | ... or ... | match | +| Test.cs:14:18:14:38 | "negated conjunction" | Test.cs:13:22:13:38 | not ... | match | +| Test.cs:14:18:14:38 | "negated conjunction" | Test.cs:13:27:13:37 | ... and ... | no match | +| Test.cs:17:18:17:38 | "negated disjunction" | Test.cs:16:22:16:40 | not ... | match | +| Test.cs:17:18:17:38 | "negated disjunction" | Test.cs:16:27:16:30 | > ... | no match | +| Test.cs:17:18:17:38 | "negated disjunction" | Test.cs:16:27:16:39 | ... or ... | no match | +| Test.cs:17:18:17:38 | "negated disjunction" | Test.cs:16:35:16:39 | < ... | no match | diff --git a/csharp/ql/test/library-tests/controlflow/pattern-guards/test.ql b/csharp/ql/test/library-tests/controlflow/pattern-guards/test.ql new file mode 100644 index 000000000000..9a9c35149a36 --- /dev/null +++ b/csharp/ql/test/library-tests/controlflow/pattern-guards/test.ql @@ -0,0 +1,10 @@ +import csharp +import semmle.code.csharp.controlflow.Guards + +from MethodCall call, Guard guard, GuardValue value +where + call.getTarget().getName() = "Sink" and + guard instanceof PatternExpr and + value.isMatch(_) and + guard.valueControls(call.getBasicBlock(), value) +select call.getArgument(0), guard, value diff --git a/csharp/ql/test/library-tests/csharp7/DefUse.expected b/csharp/ql/test/library-tests/csharp7/DefUse.expected index ac466f9e8654..65ab0f1fbb18 100644 --- a/csharp/ql/test/library-tests/csharp7/DefUse.expected +++ b/csharp/ql/test/library-tests/csharp7/DefUse.expected @@ -52,14 +52,14 @@ | CSharp7.cs:232:16:232:23 | Object o = ... | CSharp7.cs:244:18:244:18 | access to local variable o | | CSharp7.cs:232:16:232:23 | Object o = ... | CSharp7.cs:248:17:248:17 | access to local variable o | | CSharp7.cs:232:16:232:23 | Object o = ... | CSharp7.cs:254:27:254:27 | access to local variable o | -| CSharp7.cs:233:18:233:23 | Int32 i1 | CSharp7.cs:233:28:233:29 | access to local variable i1 | -| CSharp7.cs:233:18:233:23 | Int32 i1 | CSharp7.cs:235:38:235:39 | access to local variable i1 | -| CSharp7.cs:237:23:237:31 | String s1 | CSharp7.cs:239:41:239:42 | access to local variable s1 | -| CSharp7.cs:254:32:254:40 | String s4 | CSharp7.cs:255:40:255:41 | access to local variable s4 | -| CSharp7.cs:257:18:257:23 | Int32 i2 | CSharp7.cs:257:30:257:31 | access to local variable i2 | -| CSharp7.cs:257:18:257:23 | Int32 i2 | CSharp7.cs:258:47:258:48 | access to local variable i2 | -| CSharp7.cs:260:18:260:23 | Int32 i3 | CSharp7.cs:261:42:261:43 | access to local variable i3 | -| CSharp7.cs:263:18:263:26 | String s2 | CSharp7.cs:264:45:264:46 | access to local variable s2 | +| CSharp7.cs:233:22:233:23 | Int32 i1 | CSharp7.cs:233:28:233:29 | access to local variable i1 | +| CSharp7.cs:233:22:233:23 | Int32 i1 | CSharp7.cs:235:38:235:39 | access to local variable i1 | +| CSharp7.cs:237:30:237:31 | String s1 | CSharp7.cs:239:41:239:42 | access to local variable s1 | +| CSharp7.cs:254:39:254:40 | String s4 | CSharp7.cs:255:40:255:41 | access to local variable s4 | +| CSharp7.cs:257:22:257:23 | Int32 i2 | CSharp7.cs:257:30:257:31 | access to local variable i2 | +| CSharp7.cs:257:22:257:23 | Int32 i2 | CSharp7.cs:258:47:258:48 | access to local variable i2 | +| CSharp7.cs:260:22:260:23 | Int32 i3 | CSharp7.cs:261:42:261:43 | access to local variable i3 | +| CSharp7.cs:263:25:263:26 | String s2 | CSharp7.cs:264:45:264:46 | access to local variable s2 | | CSharp7.cs:282:13:282:48 | Dictionary dict = ... | CSharp7.cs:283:20:283:23 | access to local variable dict | | CSharp7.cs:283:13:283:62 | IEnumerable<(Int32,String)> list = ... | CSharp7.cs:285:39:285:42 | access to local variable list | | CSharp7.cs:283:13:283:62 | IEnumerable<(Int32,String)> list = ... | CSharp7.cs:287:36:287:39 | access to local variable list | @@ -69,7 +69,7 @@ | CSharp7.cs:297:18:297:22 | Int32 x = ... | CSharp7.cs:297:25:297:25 | access to local variable x | | CSharp7.cs:297:18:297:22 | Int32 x = ... | CSharp7.cs:297:35:297:35 | access to local variable x | | CSharp7.cs:297:18:297:22 | Int32 x = ... | CSharp7.cs:297:49:297:49 | access to local variable x | -| CSharp7.cs:297:40:297:44 | Int32 y | CSharp7.cs:299:31:299:31 | access to local variable y | +| CSharp7.cs:297:44:297:44 | Int32 y | CSharp7.cs:299:31:299:31 | access to local variable y | | CSharp7.cs:297:47:297:49 | ++... | CSharp7.cs:297:25:297:25 | access to local variable x | | CSharp7.cs:297:47:297:49 | ++... | CSharp7.cs:297:35:297:35 | access to local variable x | | CSharp7.cs:297:47:297:49 | ++... | CSharp7.cs:297:49:297:49 | access to local variable x | diff --git a/csharp/ql/test/library-tests/csharp7/IsFlow.expected b/csharp/ql/test/library-tests/csharp7/IsFlow.expected index 06d2212d019e..1397a8809751 100644 --- a/csharp/ql/test/library-tests/csharp7/IsFlow.expected +++ b/csharp/ql/test/library-tests/csharp7/IsFlow.expected @@ -28,24 +28,24 @@ | CSharp7.cs:252:30:252:30 | 2 | CSharp7.cs:252:26:252:30 | ... < ... | semmle.label | successor | | CSharp7.cs:253:17:253:22 | Before break; | CSharp7.cs:253:17:253:22 | break; | semmle.label | successor | | CSharp7.cs:253:17:253:22 | break; | CSharp7.cs:248:9:274:9 | After switch (...) {...} | semmle.label | break | -| CSharp7.cs:254:13:254:41 | After case ...: [match] | CSharp7.cs:254:27:254:40 | Before ... is ... | semmle.label | successor | +| CSharp7.cs:254:13:254:41 | After case ...: [match] | CSharp7.cs:254:27:254:40 | ... is ... | semmle.label | successor | | CSharp7.cs:254:13:254:41 | After case ...: [no-match] | CSharp7.cs:257:13:257:36 | case ...: | semmle.label | successor | | CSharp7.cs:254:13:254:41 | case ...: | CSharp7.cs:254:18:254:20 | "x" | semmle.label | successor | | CSharp7.cs:254:18:254:20 | "x" | CSharp7.cs:254:18:254:20 | After "x" [match] | semmle.label | match | | CSharp7.cs:254:18:254:20 | "x" | CSharp7.cs:254:18:254:20 | After "x" [no-match] | semmle.label | no-match | | CSharp7.cs:254:18:254:20 | After "x" [match] | CSharp7.cs:254:13:254:41 | After case ...: [match] | semmle.label | match | | CSharp7.cs:254:18:254:20 | After "x" [no-match] | CSharp7.cs:254:13:254:41 | After case ...: [no-match] | semmle.label | no-match | -| CSharp7.cs:254:27:254:27 | access to local variable o | CSharp7.cs:254:27:254:40 | ... is ... | semmle.label | successor | -| CSharp7.cs:254:27:254:40 | ... is ... | CSharp7.cs:254:27:254:40 | After ... is ... [false] | semmle.label | false | -| CSharp7.cs:254:27:254:40 | ... is ... | CSharp7.cs:254:27:254:40 | [MatchTrue] ... is ... | semmle.label | true | +| CSharp7.cs:254:27:254:27 | access to local variable o | CSharp7.cs:254:32:254:40 | String s4 | semmle.label | successor | +| CSharp7.cs:254:27:254:40 | ... is ... | CSharp7.cs:254:27:254:27 | access to local variable o | semmle.label | successor | | CSharp7.cs:254:27:254:40 | After ... is ... [false] | CSharp7.cs:257:13:257:36 | case ...: | semmle.label | successor | | CSharp7.cs:254:27:254:40 | After ... is ... [true] | CSharp7.cs:255:17:255:45 | ...; | semmle.label | successor | -| CSharp7.cs:254:27:254:40 | Before ... is ... | CSharp7.cs:254:27:254:27 | access to local variable o | semmle.label | successor | -| CSharp7.cs:254:27:254:40 | [MatchTrue] ... is ... | CSharp7.cs:254:32:254:40 | Before String s4 | semmle.label | successor | -| CSharp7.cs:254:32:254:40 | After String s4 | CSharp7.cs:254:27:254:40 | After ... is ... [true] | semmle.label | true | -| CSharp7.cs:254:32:254:40 | Before String s4 | CSharp7.cs:254:39:254:40 | access to local variable s4 | semmle.label | successor | -| CSharp7.cs:254:32:254:40 | String s4 | CSharp7.cs:254:32:254:40 | After String s4 | semmle.label | successor | -| CSharp7.cs:254:39:254:40 | access to local variable s4 | CSharp7.cs:254:32:254:40 | String s4 | semmle.label | successor | +| CSharp7.cs:254:32:254:40 | After String s4 [match] | CSharp7.cs:254:27:254:40 | After ... is ... [true] | semmle.label | true | +| CSharp7.cs:254:32:254:40 | After String s4 [no-match] | CSharp7.cs:254:27:254:40 | After ... is ... [false] | semmle.label | false | +| CSharp7.cs:254:32:254:40 | String s4 | CSharp7.cs:254:32:254:40 | After String s4 [no-match] | semmle.label | no-match | +| CSharp7.cs:254:32:254:40 | String s4 | CSharp7.cs:254:32:254:40 | [OuterPatternMatch] String s4 | semmle.label | match | +| CSharp7.cs:254:32:254:40 | [OuterPatternMatch] String s4 | CSharp7.cs:254:39:254:40 | access to local variable s4 | semmle.label | successor | +| CSharp7.cs:254:39:254:40 | After access to local variable s4 [match] | CSharp7.cs:254:32:254:40 | After String s4 [match] | semmle.label | match | +| CSharp7.cs:254:39:254:40 | access to local variable s4 | CSharp7.cs:254:39:254:40 | After access to local variable s4 [match] | semmle.label | match | | CSharp7.cs:255:17:255:44 | After call to method WriteLine | CSharp7.cs:255:17:255:45 | After ...; | semmle.label | successor | | CSharp7.cs:255:17:255:44 | Before call to method WriteLine | CSharp7.cs:255:35:255:43 | Before $"..." | semmle.label | successor | | CSharp7.cs:255:17:255:44 | call to method WriteLine | CSharp7.cs:255:17:255:44 | After call to method WriteLine | semmle.label | successor | @@ -63,13 +63,14 @@ | CSharp7.cs:256:17:256:22 | break; | CSharp7.cs:248:9:274:9 | After switch (...) {...} | semmle.label | break | | CSharp7.cs:257:13:257:36 | After case ...: [match] | CSharp7.cs:257:30:257:35 | Before ... > ... | semmle.label | successor | | CSharp7.cs:257:13:257:36 | After case ...: [no-match] | CSharp7.cs:260:13:260:24 | case ...: | semmle.label | successor | -| CSharp7.cs:257:13:257:36 | case ...: | CSharp7.cs:257:18:257:23 | Before Int32 i2 | semmle.label | successor | +| CSharp7.cs:257:13:257:36 | case ...: | CSharp7.cs:257:18:257:23 | Int32 i2 | semmle.label | successor | | CSharp7.cs:257:18:257:23 | After Int32 i2 [match] | CSharp7.cs:257:13:257:36 | After case ...: [match] | semmle.label | match | | CSharp7.cs:257:18:257:23 | After Int32 i2 [no-match] | CSharp7.cs:257:13:257:36 | After case ...: [no-match] | semmle.label | no-match | -| CSharp7.cs:257:18:257:23 | Before Int32 i2 | CSharp7.cs:257:22:257:23 | access to local variable i2 | semmle.label | successor | -| CSharp7.cs:257:18:257:23 | Int32 i2 | CSharp7.cs:257:18:257:23 | After Int32 i2 [match] | semmle.label | match | | CSharp7.cs:257:18:257:23 | Int32 i2 | CSharp7.cs:257:18:257:23 | After Int32 i2 [no-match] | semmle.label | no-match | -| CSharp7.cs:257:22:257:23 | access to local variable i2 | CSharp7.cs:257:18:257:23 | Int32 i2 | semmle.label | successor | +| CSharp7.cs:257:18:257:23 | Int32 i2 | CSharp7.cs:257:18:257:23 | [OuterPatternMatch] Int32 i2 | semmle.label | match | +| CSharp7.cs:257:18:257:23 | [OuterPatternMatch] Int32 i2 | CSharp7.cs:257:22:257:23 | access to local variable i2 | semmle.label | successor | +| CSharp7.cs:257:22:257:23 | After access to local variable i2 [match] | CSharp7.cs:257:18:257:23 | After Int32 i2 [match] | semmle.label | match | +| CSharp7.cs:257:22:257:23 | access to local variable i2 | CSharp7.cs:257:22:257:23 | After access to local variable i2 [match] | semmle.label | match | | CSharp7.cs:257:30:257:31 | access to local variable i2 | CSharp7.cs:257:35:257:35 | 0 | semmle.label | successor | | CSharp7.cs:257:30:257:35 | ... > ... | CSharp7.cs:257:30:257:35 | After ... > ... [false] | semmle.label | false | | CSharp7.cs:257:30:257:35 | ... > ... | CSharp7.cs:257:30:257:35 | After ... > ... [true] | semmle.label | true | @@ -94,13 +95,14 @@ | CSharp7.cs:259:17:259:22 | break; | CSharp7.cs:248:9:274:9 | After switch (...) {...} | semmle.label | break | | CSharp7.cs:260:13:260:24 | After case ...: [match] | CSharp7.cs:261:17:261:47 | ...; | semmle.label | successor | | CSharp7.cs:260:13:260:24 | After case ...: [no-match] | CSharp7.cs:263:13:263:27 | case ...: | semmle.label | successor | -| CSharp7.cs:260:13:260:24 | case ...: | CSharp7.cs:260:18:260:23 | Before Int32 i3 | semmle.label | successor | +| CSharp7.cs:260:13:260:24 | case ...: | CSharp7.cs:260:18:260:23 | Int32 i3 | semmle.label | successor | | CSharp7.cs:260:18:260:23 | After Int32 i3 [match] | CSharp7.cs:260:13:260:24 | After case ...: [match] | semmle.label | match | | CSharp7.cs:260:18:260:23 | After Int32 i3 [no-match] | CSharp7.cs:260:13:260:24 | After case ...: [no-match] | semmle.label | no-match | -| CSharp7.cs:260:18:260:23 | Before Int32 i3 | CSharp7.cs:260:22:260:23 | access to local variable i3 | semmle.label | successor | -| CSharp7.cs:260:18:260:23 | Int32 i3 | CSharp7.cs:260:18:260:23 | After Int32 i3 [match] | semmle.label | match | | CSharp7.cs:260:18:260:23 | Int32 i3 | CSharp7.cs:260:18:260:23 | After Int32 i3 [no-match] | semmle.label | no-match | -| CSharp7.cs:260:22:260:23 | access to local variable i3 | CSharp7.cs:260:18:260:23 | Int32 i3 | semmle.label | successor | +| CSharp7.cs:260:18:260:23 | Int32 i3 | CSharp7.cs:260:18:260:23 | [OuterPatternMatch] Int32 i3 | semmle.label | match | +| CSharp7.cs:260:18:260:23 | [OuterPatternMatch] Int32 i3 | CSharp7.cs:260:22:260:23 | access to local variable i3 | semmle.label | successor | +| CSharp7.cs:260:22:260:23 | After access to local variable i3 [match] | CSharp7.cs:260:18:260:23 | After Int32 i3 [match] | semmle.label | match | +| CSharp7.cs:260:22:260:23 | access to local variable i3 | CSharp7.cs:260:22:260:23 | After access to local variable i3 [match] | semmle.label | match | | CSharp7.cs:261:17:261:46 | After call to method WriteLine | CSharp7.cs:261:17:261:47 | After ...; | semmle.label | successor | | CSharp7.cs:261:17:261:46 | Before call to method WriteLine | CSharp7.cs:261:35:261:45 | Before $"..." | semmle.label | successor | | CSharp7.cs:261:17:261:46 | call to method WriteLine | CSharp7.cs:261:17:261:46 | After call to method WriteLine | semmle.label | successor | @@ -118,13 +120,14 @@ | CSharp7.cs:262:17:262:22 | break; | CSharp7.cs:248:9:274:9 | After switch (...) {...} | semmle.label | break | | CSharp7.cs:263:13:263:27 | After case ...: [match] | CSharp7.cs:264:17:264:50 | ...; | semmle.label | successor | | CSharp7.cs:263:13:263:27 | After case ...: [no-match] | CSharp7.cs:266:13:266:26 | case ...: | semmle.label | successor | -| CSharp7.cs:263:13:263:27 | case ...: | CSharp7.cs:263:18:263:26 | Before String s2 | semmle.label | successor | +| CSharp7.cs:263:13:263:27 | case ...: | CSharp7.cs:263:18:263:26 | String s2 | semmle.label | successor | | CSharp7.cs:263:18:263:26 | After String s2 [match] | CSharp7.cs:263:13:263:27 | After case ...: [match] | semmle.label | match | | CSharp7.cs:263:18:263:26 | After String s2 [no-match] | CSharp7.cs:263:13:263:27 | After case ...: [no-match] | semmle.label | no-match | -| CSharp7.cs:263:18:263:26 | Before String s2 | CSharp7.cs:263:25:263:26 | access to local variable s2 | semmle.label | successor | -| CSharp7.cs:263:18:263:26 | String s2 | CSharp7.cs:263:18:263:26 | After String s2 [match] | semmle.label | match | | CSharp7.cs:263:18:263:26 | String s2 | CSharp7.cs:263:18:263:26 | After String s2 [no-match] | semmle.label | no-match | -| CSharp7.cs:263:25:263:26 | access to local variable s2 | CSharp7.cs:263:18:263:26 | String s2 | semmle.label | successor | +| CSharp7.cs:263:18:263:26 | String s2 | CSharp7.cs:263:18:263:26 | [OuterPatternMatch] String s2 | semmle.label | match | +| CSharp7.cs:263:18:263:26 | [OuterPatternMatch] String s2 | CSharp7.cs:263:25:263:26 | access to local variable s2 | semmle.label | successor | +| CSharp7.cs:263:25:263:26 | After access to local variable s2 [match] | CSharp7.cs:263:18:263:26 | After String s2 [match] | semmle.label | match | +| CSharp7.cs:263:25:263:26 | access to local variable s2 | CSharp7.cs:263:25:263:26 | After access to local variable s2 [match] | semmle.label | match | | CSharp7.cs:264:17:264:49 | After call to method WriteLine | CSharp7.cs:264:17:264:50 | After ...; | semmle.label | successor | | CSharp7.cs:264:17:264:49 | Before call to method WriteLine | CSharp7.cs:264:35:264:48 | Before $"..." | semmle.label | successor | | CSharp7.cs:264:17:264:49 | call to method WriteLine | CSharp7.cs:264:17:264:49 | After call to method WriteLine | semmle.label | successor | @@ -156,23 +159,11 @@ | CSharp7.cs:268:17:268:22 | Before break; | CSharp7.cs:268:17:268:22 | break; | semmle.label | successor | | CSharp7.cs:268:17:268:22 | break; | CSharp7.cs:248:9:274:9 | After switch (...) {...} | semmle.label | break | | CSharp7.cs:269:13:269:24 | After case ...: [match] | CSharp7.cs:270:17:270:22 | Before break; | semmle.label | successor | -| CSharp7.cs:269:13:269:24 | After case ...: [no-match] | CSharp7.cs:271:13:271:20 | default: | semmle.label | successor | -| CSharp7.cs:269:13:269:24 | case ...: | CSharp7.cs:269:18:269:23 | Before Object v2 | semmle.label | successor | +| CSharp7.cs:269:13:269:24 | case ...: | CSharp7.cs:269:18:269:23 | Object v2 | semmle.label | successor | | CSharp7.cs:269:18:269:23 | After Object v2 [match] | CSharp7.cs:269:13:269:24 | After case ...: [match] | semmle.label | match | -| CSharp7.cs:269:18:269:23 | After Object v2 [no-match] | CSharp7.cs:269:13:269:24 | After case ...: [no-match] | semmle.label | no-match | -| CSharp7.cs:269:18:269:23 | Before Object v2 | CSharp7.cs:269:22:269:23 | access to local variable v2 | semmle.label | successor | -| CSharp7.cs:269:18:269:23 | Object v2 | CSharp7.cs:269:18:269:23 | After Object v2 [match] | semmle.label | match | -| CSharp7.cs:269:18:269:23 | Object v2 | CSharp7.cs:269:18:269:23 | After Object v2 [no-match] | semmle.label | no-match | -| CSharp7.cs:269:22:269:23 | access to local variable v2 | CSharp7.cs:269:18:269:23 | Object v2 | semmle.label | successor | +| CSharp7.cs:269:18:269:23 | Object v2 | CSharp7.cs:269:18:269:23 | [OuterPatternMatch] Object v2 | semmle.label | match | +| CSharp7.cs:269:18:269:23 | [OuterPatternMatch] Object v2 | CSharp7.cs:269:22:269:23 | access to local variable v2 | semmle.label | successor | +| CSharp7.cs:269:22:269:23 | After access to local variable v2 [match] | CSharp7.cs:269:18:269:23 | After Object v2 [match] | semmle.label | match | +| CSharp7.cs:269:22:269:23 | access to local variable v2 | CSharp7.cs:269:22:269:23 | After access to local variable v2 [match] | semmle.label | match | | CSharp7.cs:270:17:270:22 | Before break; | CSharp7.cs:270:17:270:22 | break; | semmle.label | successor | | CSharp7.cs:270:17:270:22 | break; | CSharp7.cs:248:9:274:9 | After switch (...) {...} | semmle.label | break | -| CSharp7.cs:271:13:271:20 | After default: [match] | CSharp7.cs:272:17:272:52 | ...; | semmle.label | successor | -| CSharp7.cs:271:13:271:20 | default: | CSharp7.cs:271:13:271:20 | After default: [match] | semmle.label | match | -| CSharp7.cs:272:17:272:51 | After call to method WriteLine | CSharp7.cs:272:17:272:52 | After ...; | semmle.label | successor | -| CSharp7.cs:272:17:272:51 | Before call to method WriteLine | CSharp7.cs:272:35:272:50 | "Something else" | semmle.label | successor | -| CSharp7.cs:272:17:272:51 | call to method WriteLine | CSharp7.cs:272:17:272:51 | After call to method WriteLine | semmle.label | successor | -| CSharp7.cs:272:17:272:52 | ...; | CSharp7.cs:272:17:272:51 | Before call to method WriteLine | semmle.label | successor | -| CSharp7.cs:272:17:272:52 | After ...; | CSharp7.cs:273:17:273:22 | Before break; | semmle.label | successor | -| CSharp7.cs:272:35:272:50 | "Something else" | CSharp7.cs:272:17:272:51 | call to method WriteLine | semmle.label | successor | -| CSharp7.cs:273:17:273:22 | Before break; | CSharp7.cs:273:17:273:22 | break; | semmle.label | successor | -| CSharp7.cs:273:17:273:22 | break; | CSharp7.cs:248:9:274:9 | After switch (...) {...} | semmle.label | break | diff --git a/csharp/ql/test/library-tests/csharp7/LocalTaintFlow.expected b/csharp/ql/test/library-tests/csharp7/LocalTaintFlow.expected index c5ab1ae97f62..6778cdaf7b35 100644 --- a/csharp/ql/test/library-tests/csharp7/LocalTaintFlow.expected +++ b/csharp/ql/test/library-tests/csharp7/LocalTaintFlow.expected @@ -254,8 +254,8 @@ | CSharp7.cs:233:13:233:13 | access to local variable o | CSharp7.cs:234:9:236:9 | [input] SSA phi read(o) | | CSharp7.cs:233:13:233:13 | access to local variable o | CSharp7.cs:237:18:237:18 | access to local variable o | | CSharp7.cs:233:13:233:23 | ... is ... | CSharp7.cs:233:13:233:33 | ... && ... | -| CSharp7.cs:233:18:233:23 | SSA def(i1) | CSharp7.cs:233:28:233:29 | access to local variable i1 | -| CSharp7.cs:233:22:233:23 | access to local variable i1 | CSharp7.cs:233:18:233:23 | SSA def(i1) | +| CSharp7.cs:233:22:233:23 | SSA def(i1) | CSharp7.cs:233:28:233:29 | access to local variable i1 | +| CSharp7.cs:233:22:233:23 | access to local variable i1 | CSharp7.cs:233:22:233:23 | SSA def(i1) | | CSharp7.cs:233:28:233:29 | access to local variable i1 | CSharp7.cs:233:28:233:33 | ... > ... | | CSharp7.cs:233:28:233:29 | access to local variable i1 | CSharp7.cs:235:38:235:39 | access to local variable i1 | | CSharp7.cs:233:28:233:33 | ... > ... | CSharp7.cs:233:13:233:33 | ... && ... | @@ -266,8 +266,8 @@ | CSharp7.cs:237:18:237:18 | access to local variable o | CSharp7.cs:237:30:237:31 | access to local variable s1 | | CSharp7.cs:237:18:237:18 | access to local variable o | CSharp7.cs:238:9:240:9 | [input] SSA phi read(o) | | CSharp7.cs:237:18:237:18 | access to local variable o | CSharp7.cs:241:18:241:18 | access to local variable o | -| CSharp7.cs:237:23:237:31 | SSA def(s1) | CSharp7.cs:239:41:239:42 | access to local variable s1 | -| CSharp7.cs:237:30:237:31 | access to local variable s1 | CSharp7.cs:237:23:237:31 | SSA def(s1) | +| CSharp7.cs:237:30:237:31 | SSA def(s1) | CSharp7.cs:239:41:239:42 | access to local variable s1 | +| CSharp7.cs:237:30:237:31 | access to local variable s1 | CSharp7.cs:237:30:237:31 | SSA def(s1) | | CSharp7.cs:238:9:240:9 | [input] SSA phi read(o) | CSharp7.cs:248:17:248:17 | access to local variable o | | CSharp7.cs:239:33:239:39 | "string " | CSharp7.cs:239:31:239:44 | $"..." | | CSharp7.cs:239:40:239:43 | {...} | CSharp7.cs:239:31:239:44 | $"..." | @@ -285,25 +285,25 @@ | CSharp7.cs:252:26:252:26 | 1 | CSharp7.cs:252:26:252:30 | ... < ... | | CSharp7.cs:252:30:252:30 | 2 | CSharp7.cs:252:26:252:30 | ... < ... | | CSharp7.cs:254:27:254:27 | access to local variable o | CSharp7.cs:254:39:254:40 | access to local variable s4 | -| CSharp7.cs:254:32:254:40 | SSA def(s4) | CSharp7.cs:255:40:255:41 | access to local variable s4 | -| CSharp7.cs:254:39:254:40 | access to local variable s4 | CSharp7.cs:254:32:254:40 | SSA def(s4) | +| CSharp7.cs:254:39:254:40 | SSA def(s4) | CSharp7.cs:255:40:255:41 | access to local variable s4 | +| CSharp7.cs:254:39:254:40 | access to local variable s4 | CSharp7.cs:254:39:254:40 | SSA def(s4) | | CSharp7.cs:255:37:255:38 | "x " | CSharp7.cs:255:35:255:43 | $"..." | | CSharp7.cs:255:39:255:42 | {...} | CSharp7.cs:255:35:255:43 | $"..." | | CSharp7.cs:255:40:255:41 | access to local variable s4 | CSharp7.cs:255:39:255:42 | {...} | -| CSharp7.cs:257:18:257:23 | SSA def(i2) | CSharp7.cs:257:30:257:31 | access to local variable i2 | -| CSharp7.cs:257:22:257:23 | access to local variable i2 | CSharp7.cs:257:18:257:23 | SSA def(i2) | +| CSharp7.cs:257:22:257:23 | SSA def(i2) | CSharp7.cs:257:30:257:31 | access to local variable i2 | +| CSharp7.cs:257:22:257:23 | access to local variable i2 | CSharp7.cs:257:22:257:23 | SSA def(i2) | | CSharp7.cs:257:30:257:31 | access to local variable i2 | CSharp7.cs:257:30:257:35 | ... > ... | | CSharp7.cs:257:30:257:31 | access to local variable i2 | CSharp7.cs:258:47:258:48 | access to local variable i2 | | CSharp7.cs:258:37:258:45 | "positive " | CSharp7.cs:258:35:258:50 | $"..." | | CSharp7.cs:258:46:258:49 | {...} | CSharp7.cs:258:35:258:50 | $"..." | | CSharp7.cs:258:47:258:48 | access to local variable i2 | CSharp7.cs:258:46:258:49 | {...} | -| CSharp7.cs:260:18:260:23 | SSA def(i3) | CSharp7.cs:261:42:261:43 | access to local variable i3 | -| CSharp7.cs:260:22:260:23 | access to local variable i3 | CSharp7.cs:260:18:260:23 | SSA def(i3) | +| CSharp7.cs:260:22:260:23 | SSA def(i3) | CSharp7.cs:261:42:261:43 | access to local variable i3 | +| CSharp7.cs:260:22:260:23 | access to local variable i3 | CSharp7.cs:260:22:260:23 | SSA def(i3) | | CSharp7.cs:261:37:261:40 | "int " | CSharp7.cs:261:35:261:45 | $"..." | | CSharp7.cs:261:41:261:44 | {...} | CSharp7.cs:261:35:261:45 | $"..." | | CSharp7.cs:261:42:261:43 | access to local variable i3 | CSharp7.cs:261:41:261:44 | {...} | -| CSharp7.cs:263:18:263:26 | SSA def(s2) | CSharp7.cs:264:45:264:46 | access to local variable s2 | -| CSharp7.cs:263:25:263:26 | access to local variable s2 | CSharp7.cs:263:18:263:26 | SSA def(s2) | +| CSharp7.cs:263:25:263:26 | SSA def(s2) | CSharp7.cs:264:45:264:46 | access to local variable s2 | +| CSharp7.cs:263:25:263:26 | access to local variable s2 | CSharp7.cs:263:25:263:26 | SSA def(s2) | | CSharp7.cs:264:37:264:43 | "string " | CSharp7.cs:264:35:264:48 | $"..." | | CSharp7.cs:264:44:264:47 | {...} | CSharp7.cs:264:35:264:48 | $"..." | | CSharp7.cs:264:45:264:46 | access to local variable s2 | CSharp7.cs:264:44:264:47 | {...} | @@ -332,7 +332,7 @@ | CSharp7.cs:297:35:297:35 | access to local variable x | CSharp7.cs:297:44:297:44 | access to local variable y | | CSharp7.cs:297:35:297:35 | access to local variable x | CSharp7.cs:297:49:297:49 | access to local variable x | | CSharp7.cs:297:35:297:44 | ... is ... | CSharp7.cs:297:25:297:44 | ... && ... | -| CSharp7.cs:297:40:297:44 | SSA def(y) | CSharp7.cs:299:31:299:31 | access to local variable y | -| CSharp7.cs:297:44:297:44 | access to local variable y | CSharp7.cs:297:40:297:44 | SSA def(y) | +| CSharp7.cs:297:44:297:44 | SSA def(y) | CSharp7.cs:299:31:299:31 | access to local variable y | +| CSharp7.cs:297:44:297:44 | access to local variable y | CSharp7.cs:297:44:297:44 | SSA def(y) | | CSharp7.cs:297:47:297:49 | SSA def(x) | CSharp7.cs:297:25:297:25 | access to local variable x | | CSharp7.cs:297:49:297:49 | access to local variable x | CSharp7.cs:297:47:297:49 | SSA def(x) | diff --git a/csharp/ql/test/library-tests/csharp8/ispatternflow.expected b/csharp/ql/test/library-tests/csharp8/ispatternflow.expected index 190561c17c18..c5a430cd06f1 100644 --- a/csharp/ql/test/library-tests/csharp8/ispatternflow.expected +++ b/csharp/ql/test/library-tests/csharp8/ispatternflow.expected @@ -23,49 +23,55 @@ | patterns.cs:7:35:7:39 | Before ... = ... | patterns.cs:7:35:7:35 | access to field X | semmle.label | successor | | patterns.cs:7:39:7:39 | 2 | patterns.cs:7:35:7:39 | ... = ... | semmle.label | successor | | patterns.cs:9:9:11:9 | After if (...) ... | patterns.cs:13:9:15:9 | if (...) ... | semmle.label | successor | -| patterns.cs:9:9:11:9 | if (...) ... | patterns.cs:9:13:9:29 | Before ... is ... | semmle.label | successor | -| patterns.cs:9:13:9:13 | access to local variable o | patterns.cs:9:13:9:29 | ... is ... | semmle.label | successor | -| patterns.cs:9:13:9:29 | ... is ... | patterns.cs:9:13:9:29 | After ... is ... [false] | semmle.label | false | -| patterns.cs:9:13:9:29 | ... is ... | patterns.cs:9:13:9:29 | [MatchTrue] ... is ... | semmle.label | true | +| patterns.cs:9:9:11:9 | if (...) ... | patterns.cs:9:13:9:29 | ... is ... | semmle.label | successor | +| patterns.cs:9:13:9:13 | access to local variable o | patterns.cs:9:18:9:29 | MyStruct ms1 | semmle.label | successor | +| patterns.cs:9:13:9:29 | ... is ... | patterns.cs:9:13:9:13 | access to local variable o | semmle.label | successor | | patterns.cs:9:13:9:29 | After ... is ... [false] | patterns.cs:9:9:11:9 | After if (...) ... | semmle.label | successor | | patterns.cs:9:13:9:29 | After ... is ... [true] | patterns.cs:10:9:11:9 | {...} | semmle.label | successor | -| patterns.cs:9:13:9:29 | Before ... is ... | patterns.cs:9:13:9:13 | access to local variable o | semmle.label | successor | -| patterns.cs:9:13:9:29 | [MatchTrue] ... is ... | patterns.cs:9:18:9:29 | Before MyStruct ms1 | semmle.label | successor | -| patterns.cs:9:18:9:29 | After MyStruct ms1 | patterns.cs:9:13:9:29 | After ... is ... [true] | semmle.label | true | -| patterns.cs:9:18:9:29 | Before MyStruct ms1 | patterns.cs:9:27:9:29 | access to local variable ms1 | semmle.label | successor | -| patterns.cs:9:18:9:29 | MyStruct ms1 | patterns.cs:9:18:9:29 | After MyStruct ms1 | semmle.label | successor | -| patterns.cs:9:27:9:29 | access to local variable ms1 | patterns.cs:9:18:9:29 | MyStruct ms1 | semmle.label | successor | +| patterns.cs:9:18:9:29 | After MyStruct ms1 [match] | patterns.cs:9:13:9:29 | After ... is ... [true] | semmle.label | true | +| patterns.cs:9:18:9:29 | After MyStruct ms1 [no-match] | patterns.cs:9:13:9:29 | After ... is ... [false] | semmle.label | false | +| patterns.cs:9:18:9:29 | MyStruct ms1 | patterns.cs:9:18:9:29 | After MyStruct ms1 [no-match] | semmle.label | no-match | +| patterns.cs:9:18:9:29 | MyStruct ms1 | patterns.cs:9:18:9:29 | [OuterPatternMatch] MyStruct ms1 | semmle.label | match | +| patterns.cs:9:18:9:29 | [OuterPatternMatch] MyStruct ms1 | patterns.cs:9:27:9:29 | access to local variable ms1 | semmle.label | successor | +| patterns.cs:9:27:9:29 | After access to local variable ms1 [match] | patterns.cs:9:18:9:29 | After MyStruct ms1 [match] | semmle.label | match | +| patterns.cs:9:27:9:29 | access to local variable ms1 | patterns.cs:9:27:9:29 | After access to local variable ms1 [match] | semmle.label | match | | patterns.cs:10:9:11:9 | {...} | patterns.cs:9:9:11:9 | After if (...) ... | semmle.label | successor | | patterns.cs:13:9:15:9 | After if (...) ... | patterns.cs:17:9:19:9 | if (...) ... | semmle.label | successor | | patterns.cs:13:9:15:9 | if (...) ... | patterns.cs:13:13:13:56 | ... && ... | semmle.label | successor | -| patterns.cs:13:13:13:13 | access to local variable o | patterns.cs:13:13:13:40 | ... is ... | semmle.label | successor | -| patterns.cs:13:13:13:40 | ... is ... | patterns.cs:13:13:13:40 | After ... is ... [false] | semmle.label | false | -| patterns.cs:13:13:13:40 | ... is ... | patterns.cs:13:13:13:40 | [MatchTrue] ... is ... | semmle.label | true | +| patterns.cs:13:13:13:13 | access to local variable o | patterns.cs:13:18:13:40 | { ... } | semmle.label | successor | +| patterns.cs:13:13:13:40 | ... is ... | patterns.cs:13:13:13:13 | access to local variable o | semmle.label | successor | | patterns.cs:13:13:13:40 | After ... is ... [false] | patterns.cs:13:13:13:47 | After ... && ... [false] | semmle.label | false | | patterns.cs:13:13:13:40 | After ... is ... [true] | patterns.cs:13:45:13:47 | Before ... < ... | semmle.label | successor | -| patterns.cs:13:13:13:40 | Before ... is ... | patterns.cs:13:13:13:13 | access to local variable o | semmle.label | successor | -| patterns.cs:13:13:13:40 | [MatchTrue] ... is ... | patterns.cs:13:18:13:40 | Before { ... } | semmle.label | successor | -| patterns.cs:13:13:13:47 | ... && ... | patterns.cs:13:13:13:40 | Before ... is ... | semmle.label | successor | +| patterns.cs:13:13:13:47 | ... && ... | patterns.cs:13:13:13:40 | ... is ... | semmle.label | successor | | patterns.cs:13:13:13:47 | After ... && ... [false] | patterns.cs:13:13:13:56 | After ... && ... [false] | semmle.label | false | | patterns.cs:13:13:13:47 | After ... && ... [true] | patterns.cs:13:52:13:56 | Before ... < ... | semmle.label | successor | | patterns.cs:13:13:13:56 | ... && ... | patterns.cs:13:13:13:47 | ... && ... | semmle.label | successor | | patterns.cs:13:13:13:56 | After ... && ... [false] | patterns.cs:13:9:15:9 | After if (...) ... | semmle.label | successor | | patterns.cs:13:13:13:56 | After ... && ... [true] | patterns.cs:14:9:15:9 | {...} | semmle.label | successor | -| patterns.cs:13:18:13:25 | access to type MyStruct | patterns.cs:13:27:13:38 | Before { ... } | semmle.label | successor | -| patterns.cs:13:18:13:40 | After MyStruct s | patterns.cs:13:18:13:25 | access to type MyStruct | semmle.label | successor | -| patterns.cs:13:18:13:40 | After { ... } | patterns.cs:13:13:13:40 | After ... is ... [true] | semmle.label | true | -| patterns.cs:13:18:13:40 | Before MyStruct s | patterns.cs:13:40:13:40 | access to local variable s | semmle.label | successor | -| patterns.cs:13:18:13:40 | Before { ... } | patterns.cs:13:18:13:40 | Before MyStruct s | semmle.label | successor | -| patterns.cs:13:18:13:40 | MyStruct s | patterns.cs:13:18:13:40 | After MyStruct s | semmle.label | successor | -| patterns.cs:13:18:13:40 | { ... } | patterns.cs:13:18:13:40 | After { ... } | semmle.label | successor | -| patterns.cs:13:27:13:38 | After { ... } | patterns.cs:13:18:13:40 | { ... } | semmle.label | successor | -| patterns.cs:13:27:13:38 | Before { ... } | patterns.cs:13:32:13:36 | Before Int32 x | semmle.label | successor | -| patterns.cs:13:27:13:38 | { ... } | patterns.cs:13:27:13:38 | After { ... } | semmle.label | successor | -| patterns.cs:13:32:13:36 | After Int32 x | patterns.cs:13:27:13:38 | { ... } | semmle.label | successor | -| patterns.cs:13:32:13:36 | Before Int32 x | patterns.cs:13:36:13:36 | access to local variable x | semmle.label | successor | -| patterns.cs:13:32:13:36 | Int32 x | patterns.cs:13:32:13:36 | After Int32 x | semmle.label | successor | -| patterns.cs:13:36:13:36 | access to local variable x | patterns.cs:13:32:13:36 | Int32 x | semmle.label | successor | -| patterns.cs:13:40:13:40 | access to local variable s | patterns.cs:13:18:13:40 | MyStruct s | semmle.label | successor | +| patterns.cs:13:18:13:25 | After access to type MyStruct [match] | patterns.cs:13:27:13:38 | { ... } | semmle.label | successor | +| patterns.cs:13:18:13:25 | After access to type MyStruct [no-match] | patterns.cs:13:18:13:40 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:13:18:13:25 | access to type MyStruct | patterns.cs:13:18:13:25 | After access to type MyStruct [match] | semmle.label | match | +| patterns.cs:13:18:13:25 | access to type MyStruct | patterns.cs:13:18:13:25 | After access to type MyStruct [no-match] | semmle.label | no-match | +| patterns.cs:13:18:13:40 | After MyStruct s [match] | patterns.cs:13:18:13:40 | After { ... } [match] | semmle.label | match | +| patterns.cs:13:18:13:40 | After { ... } [match] | patterns.cs:13:13:13:40 | After ... is ... [true] | semmle.label | true | +| patterns.cs:13:18:13:40 | After { ... } [no-match] | patterns.cs:13:13:13:40 | After ... is ... [false] | semmle.label | false | +| patterns.cs:13:18:13:40 | MyStruct s | patterns.cs:13:18:13:40 | [OuterPatternMatch] MyStruct s | semmle.label | match | +| patterns.cs:13:18:13:40 | [OuterPatternMatch] MyStruct s | patterns.cs:13:40:13:40 | access to local variable s | semmle.label | successor | +| patterns.cs:13:18:13:40 | { ... } | patterns.cs:13:18:13:25 | access to type MyStruct | semmle.label | successor | +| patterns.cs:13:27:13:38 | After { ... } [match] | patterns.cs:13:18:13:40 | MyStruct s | semmle.label | successor | +| patterns.cs:13:27:13:38 | After { ... } [no-match] | patterns.cs:13:18:13:40 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:13:27:13:38 | [OuterPatternMatch] { ... } | patterns.cs:13:32:13:36 | Int32 x | semmle.label | successor | +| patterns.cs:13:27:13:38 | { ... } | patterns.cs:13:27:13:38 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:13:27:13:38 | { ... } | patterns.cs:13:27:13:38 | [OuterPatternMatch] { ... } | semmle.label | match | +| patterns.cs:13:32:13:36 | After Int32 x [match] | patterns.cs:13:27:13:38 | After { ... } [match] | semmle.label | match | +| patterns.cs:13:32:13:36 | After Int32 x [no-match] | patterns.cs:13:27:13:38 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:13:32:13:36 | Int32 x | patterns.cs:13:32:13:36 | After Int32 x [no-match] | semmle.label | no-match | +| patterns.cs:13:32:13:36 | Int32 x | patterns.cs:13:32:13:36 | [OuterPatternMatch] Int32 x | semmle.label | match | +| patterns.cs:13:32:13:36 | [OuterPatternMatch] Int32 x | patterns.cs:13:36:13:36 | access to local variable x | semmle.label | successor | +| patterns.cs:13:36:13:36 | After access to local variable x [match] | patterns.cs:13:32:13:36 | After Int32 x [match] | semmle.label | match | +| patterns.cs:13:36:13:36 | access to local variable x | patterns.cs:13:36:13:36 | After access to local variable x [match] | semmle.label | match | +| patterns.cs:13:40:13:40 | After access to local variable s [match] | patterns.cs:13:18:13:40 | After MyStruct s [match] | semmle.label | match | +| patterns.cs:13:40:13:40 | access to local variable s | patterns.cs:13:40:13:40 | After access to local variable s [match] | semmle.label | match | | patterns.cs:13:45:13:45 | access to local variable x | patterns.cs:13:47:13:47 | 4 | semmle.label | successor | | patterns.cs:13:45:13:47 | ... < ... | patterns.cs:13:45:13:47 | After ... < ... [false] | semmle.label | false | | patterns.cs:13:45:13:47 | ... < ... | patterns.cs:13:45:13:47 | After ... < ... [true] | semmle.label | true | @@ -85,78 +91,99 @@ | patterns.cs:13:56:13:56 | 2 | patterns.cs:13:52:13:56 | ... < ... | semmle.label | successor | | patterns.cs:14:9:15:9 | {...} | patterns.cs:13:9:15:9 | After if (...) ... | semmle.label | successor | | patterns.cs:17:9:19:9 | After if (...) ... | patterns.cs:22:9:24:9 | if (...) ... | semmle.label | successor | -| patterns.cs:17:9:19:9 | if (...) ... | patterns.cs:17:13:17:21 | Before ... is ... | semmle.label | successor | -| patterns.cs:17:13:17:13 | access to local variable o | patterns.cs:17:13:17:21 | ... is ... | semmle.label | successor | -| patterns.cs:17:13:17:21 | ... is ... | patterns.cs:17:13:17:21 | After ... is ... [false] | semmle.label | false | -| patterns.cs:17:13:17:21 | ... is ... | patterns.cs:17:13:17:21 | [MatchTrue] ... is ... | semmle.label | true | +| patterns.cs:17:9:19:9 | if (...) ... | patterns.cs:17:13:17:21 | ... is ... | semmle.label | successor | +| patterns.cs:17:13:17:13 | access to local variable o | patterns.cs:17:18:17:21 | { ... } | semmle.label | successor | +| patterns.cs:17:13:17:21 | ... is ... | patterns.cs:17:13:17:13 | access to local variable o | semmle.label | successor | | patterns.cs:17:13:17:21 | After ... is ... [false] | patterns.cs:17:9:19:9 | After if (...) ... | semmle.label | successor | | patterns.cs:17:13:17:21 | After ... is ... [true] | patterns.cs:18:9:19:9 | {...} | semmle.label | successor | -| patterns.cs:17:13:17:21 | Before ... is ... | patterns.cs:17:13:17:13 | access to local variable o | semmle.label | successor | -| patterns.cs:17:13:17:21 | [MatchTrue] ... is ... | patterns.cs:17:18:17:21 | Before { ... } | semmle.label | successor | -| patterns.cs:17:18:17:19 | { ... } | patterns.cs:17:18:17:21 | { ... } | semmle.label | successor | -| patterns.cs:17:18:17:21 | After Object p | patterns.cs:17:18:17:19 | { ... } | semmle.label | successor | -| patterns.cs:17:18:17:21 | After { ... } | patterns.cs:17:13:17:21 | After ... is ... [true] | semmle.label | true | -| patterns.cs:17:18:17:21 | Before Object p | patterns.cs:17:21:17:21 | access to local variable p | semmle.label | successor | -| patterns.cs:17:18:17:21 | Before { ... } | patterns.cs:17:18:17:21 | Before Object p | semmle.label | successor | -| patterns.cs:17:18:17:21 | Object p | patterns.cs:17:18:17:21 | After Object p | semmle.label | successor | -| patterns.cs:17:18:17:21 | { ... } | patterns.cs:17:18:17:21 | After { ... } | semmle.label | successor | -| patterns.cs:17:21:17:21 | access to local variable p | patterns.cs:17:18:17:21 | Object p | semmle.label | successor | +| patterns.cs:17:18:17:19 | After { ... } [match] | patterns.cs:17:18:17:21 | Object p | semmle.label | successor | +| patterns.cs:17:18:17:19 | After { ... } [no-match] | patterns.cs:17:18:17:21 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:17:18:17:19 | { ... } | patterns.cs:17:18:17:19 | After { ... } [match] | semmle.label | match | +| patterns.cs:17:18:17:19 | { ... } | patterns.cs:17:18:17:19 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:17:18:17:21 | After Object p [match] | patterns.cs:17:18:17:21 | After { ... } [match] | semmle.label | match | +| patterns.cs:17:18:17:21 | After { ... } [match] | patterns.cs:17:13:17:21 | After ... is ... [true] | semmle.label | true | +| patterns.cs:17:18:17:21 | After { ... } [no-match] | patterns.cs:17:13:17:21 | After ... is ... [false] | semmle.label | false | +| patterns.cs:17:18:17:21 | Object p | patterns.cs:17:18:17:21 | [OuterPatternMatch] Object p | semmle.label | match | +| patterns.cs:17:18:17:21 | [OuterPatternMatch] Object p | patterns.cs:17:21:17:21 | access to local variable p | semmle.label | successor | +| patterns.cs:17:18:17:21 | { ... } | patterns.cs:17:18:17:19 | { ... } | semmle.label | successor | +| patterns.cs:17:21:17:21 | After access to local variable p [match] | patterns.cs:17:18:17:21 | After Object p [match] | semmle.label | match | +| patterns.cs:17:21:17:21 | access to local variable p | patterns.cs:17:21:17:21 | After access to local variable p [match] | semmle.label | match | | patterns.cs:18:9:19:9 | {...} | patterns.cs:17:9:19:9 | After if (...) ... | semmle.label | successor | | patterns.cs:22:9:24:9 | After if (...) ... | patterns.cs:27:9:29:9 | if (...) ... | semmle.label | successor | -| patterns.cs:22:9:24:9 | if (...) ... | patterns.cs:22:13:22:53 | Before ... is ... | semmle.label | successor | -| patterns.cs:22:13:22:13 | access to local variable o | patterns.cs:22:13:22:53 | ... is ... | semmle.label | successor | -| patterns.cs:22:13:22:53 | ... is ... | patterns.cs:22:13:22:53 | After ... is ... [false] | semmle.label | false | -| patterns.cs:22:13:22:53 | ... is ... | patterns.cs:22:13:22:53 | [MatchTrue] ... is ... | semmle.label | true | +| patterns.cs:22:9:24:9 | if (...) ... | patterns.cs:22:13:22:53 | ... is ... | semmle.label | successor | +| patterns.cs:22:13:22:13 | access to local variable o | patterns.cs:22:18:22:53 | { ... } | semmle.label | successor | +| patterns.cs:22:13:22:53 | ... is ... | patterns.cs:22:13:22:13 | access to local variable o | semmle.label | successor | | patterns.cs:22:13:22:53 | After ... is ... [false] | patterns.cs:22:9:24:9 | After if (...) ... | semmle.label | successor | | patterns.cs:22:13:22:53 | After ... is ... [true] | patterns.cs:23:9:24:9 | {...} | semmle.label | successor | -| patterns.cs:22:13:22:53 | Before ... is ... | patterns.cs:22:13:22:13 | access to local variable o | semmle.label | successor | -| patterns.cs:22:13:22:53 | [MatchTrue] ... is ... | patterns.cs:22:18:22:53 | Before { ... } | semmle.label | successor | -| patterns.cs:22:18:22:25 | access to type MyStruct | patterns.cs:22:27:22:53 | Before { ... } | semmle.label | successor | -| patterns.cs:22:18:22:53 | After { ... } | patterns.cs:22:13:22:53 | After ... is ... [true] | semmle.label | true | -| patterns.cs:22:18:22:53 | Before { ... } | patterns.cs:22:18:22:25 | access to type MyStruct | semmle.label | successor | -| patterns.cs:22:18:22:53 | { ... } | patterns.cs:22:18:22:53 | After { ... } | semmle.label | successor | -| patterns.cs:22:27:22:53 | After { ... } | patterns.cs:22:18:22:53 | { ... } | semmle.label | successor | -| patterns.cs:22:27:22:53 | Before { ... } | patterns.cs:22:31:22:32 | 12 | semmle.label | successor | -| patterns.cs:22:27:22:53 | { ... } | patterns.cs:22:27:22:53 | After { ... } | semmle.label | successor | -| patterns.cs:22:31:22:32 | 12 | patterns.cs:22:38:22:51 | Before { ... } | semmle.label | successor | -| patterns.cs:22:38:22:51 | After { ... } | patterns.cs:22:27:22:53 | { ... } | semmle.label | successor | -| patterns.cs:22:38:22:51 | After { ... } | patterns.cs:22:38:22:51 | { ... } | semmle.label | successor | -| patterns.cs:22:38:22:51 | Before { ... } | patterns.cs:22:38:22:51 | Before { ... } | semmle.label | successor | -| patterns.cs:22:38:22:51 | Before { ... } | patterns.cs:22:42:22:49 | Before Int32 subX | semmle.label | successor | -| patterns.cs:22:38:22:51 | { ... } | patterns.cs:22:38:22:51 | After { ... } | semmle.label | successor | -| patterns.cs:22:38:22:51 | { ... } | patterns.cs:22:38:22:51 | After { ... } | semmle.label | successor | -| patterns.cs:22:42:22:49 | After Int32 subX | patterns.cs:22:38:22:51 | { ... } | semmle.label | successor | -| patterns.cs:22:42:22:49 | Before Int32 subX | patterns.cs:22:46:22:49 | access to local variable subX | semmle.label | successor | -| patterns.cs:22:42:22:49 | Int32 subX | patterns.cs:22:42:22:49 | After Int32 subX | semmle.label | successor | -| patterns.cs:22:46:22:49 | access to local variable subX | patterns.cs:22:42:22:49 | Int32 subX | semmle.label | successor | +| patterns.cs:22:18:22:25 | After access to type MyStruct [match] | patterns.cs:22:27:22:53 | { ... } | semmle.label | successor | +| patterns.cs:22:18:22:25 | After access to type MyStruct [no-match] | patterns.cs:22:18:22:53 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:22:18:22:25 | access to type MyStruct | patterns.cs:22:18:22:25 | After access to type MyStruct [match] | semmle.label | match | +| patterns.cs:22:18:22:25 | access to type MyStruct | patterns.cs:22:18:22:25 | After access to type MyStruct [no-match] | semmle.label | no-match | +| patterns.cs:22:18:22:53 | After { ... } [match] | patterns.cs:22:13:22:53 | After ... is ... [true] | semmle.label | true | +| patterns.cs:22:18:22:53 | After { ... } [no-match] | patterns.cs:22:13:22:53 | After ... is ... [false] | semmle.label | false | +| patterns.cs:22:18:22:53 | { ... } | patterns.cs:22:18:22:25 | access to type MyStruct | semmle.label | successor | +| patterns.cs:22:27:22:53 | After { ... } [match] | patterns.cs:22:18:22:53 | After { ... } [match] | semmle.label | match | +| patterns.cs:22:27:22:53 | After { ... } [no-match] | patterns.cs:22:18:22:53 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:22:27:22:53 | [OuterPatternMatch] { ... } | patterns.cs:22:31:22:32 | 12 | semmle.label | successor | +| patterns.cs:22:27:22:53 | { ... } | patterns.cs:22:27:22:53 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:22:27:22:53 | { ... } | patterns.cs:22:27:22:53 | [OuterPatternMatch] { ... } | semmle.label | match | +| patterns.cs:22:31:22:32 | 12 | patterns.cs:22:31:22:32 | After 12 [match] | semmle.label | match | +| patterns.cs:22:31:22:32 | 12 | patterns.cs:22:31:22:32 | After 12 [no-match] | semmle.label | no-match | +| patterns.cs:22:31:22:32 | After 12 [match] | patterns.cs:22:38:22:51 | { ... } | semmle.label | successor | +| patterns.cs:22:31:22:32 | After 12 [no-match] | patterns.cs:22:27:22:53 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:22:38:22:51 | After { ... } [match] | patterns.cs:22:27:22:53 | After { ... } [match] | semmle.label | match | +| patterns.cs:22:38:22:51 | After { ... } [match] | patterns.cs:22:38:22:51 | After { ... } [match] | semmle.label | match | +| patterns.cs:22:38:22:51 | After { ... } [no-match] | patterns.cs:22:27:22:53 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:22:38:22:51 | After { ... } [no-match] | patterns.cs:22:38:22:51 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:22:38:22:51 | [OuterPatternMatch] { ... } | patterns.cs:22:42:22:49 | Int32 subX | semmle.label | successor | +| patterns.cs:22:38:22:51 | { ... } | patterns.cs:22:38:22:51 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:22:38:22:51 | { ... } | patterns.cs:22:38:22:51 | [OuterPatternMatch] { ... } | semmle.label | match | +| patterns.cs:22:38:22:51 | { ... } | patterns.cs:22:38:22:51 | { ... } | semmle.label | successor | +| patterns.cs:22:42:22:49 | After Int32 subX [match] | patterns.cs:22:38:22:51 | After { ... } [match] | semmle.label | match | +| patterns.cs:22:42:22:49 | Int32 subX | patterns.cs:22:42:22:49 | [OuterPatternMatch] Int32 subX | semmle.label | match | +| patterns.cs:22:42:22:49 | [OuterPatternMatch] Int32 subX | patterns.cs:22:46:22:49 | access to local variable subX | semmle.label | successor | +| patterns.cs:22:46:22:49 | After access to local variable subX [match] | patterns.cs:22:42:22:49 | After Int32 subX [match] | semmle.label | match | +| patterns.cs:22:46:22:49 | access to local variable subX | patterns.cs:22:46:22:49 | After access to local variable subX [match] | semmle.label | match | | patterns.cs:23:9:24:9 | {...} | patterns.cs:22:9:24:9 | After if (...) ... | semmle.label | successor | | patterns.cs:27:9:29:9 | After if (...) ... | patterns.cs:6:5:30:5 | After {...} | semmle.label | successor | -| patterns.cs:27:9:29:9 | if (...) ... | patterns.cs:27:13:27:58 | Before ... is ... | semmle.label | successor | -| patterns.cs:27:13:27:13 | access to local variable o | patterns.cs:27:13:27:58 | ... is ... | semmle.label | successor | -| patterns.cs:27:13:27:58 | ... is ... | patterns.cs:27:13:27:58 | After ... is ... [false] | semmle.label | false | -| patterns.cs:27:13:27:58 | ... is ... | patterns.cs:27:13:27:58 | [MatchTrue] ... is ... | semmle.label | true | +| patterns.cs:27:9:29:9 | if (...) ... | patterns.cs:27:13:27:58 | ... is ... | semmle.label | successor | +| patterns.cs:27:13:27:13 | access to local variable o | patterns.cs:27:18:27:58 | { ... } | semmle.label | successor | +| patterns.cs:27:13:27:58 | ... is ... | patterns.cs:27:13:27:13 | access to local variable o | semmle.label | successor | | patterns.cs:27:13:27:58 | After ... is ... [false] | patterns.cs:27:9:29:9 | After if (...) ... | semmle.label | successor | | patterns.cs:27:13:27:58 | After ... is ... [true] | patterns.cs:28:9:29:9 | {...} | semmle.label | successor | -| patterns.cs:27:13:27:58 | Before ... is ... | patterns.cs:27:13:27:13 | access to local variable o | semmle.label | successor | -| patterns.cs:27:13:27:58 | [MatchTrue] ... is ... | patterns.cs:27:18:27:58 | Before { ... } | semmle.label | successor | -| patterns.cs:27:18:27:25 | access to type MyStruct | patterns.cs:27:27:27:58 | Before { ... } | semmle.label | successor | -| patterns.cs:27:18:27:58 | After { ... } | patterns.cs:27:13:27:58 | After ... is ... [true] | semmle.label | true | -| patterns.cs:27:18:27:58 | Before { ... } | patterns.cs:27:18:27:25 | access to type MyStruct | semmle.label | successor | -| patterns.cs:27:18:27:58 | { ... } | patterns.cs:27:18:27:58 | After { ... } | semmle.label | successor | -| patterns.cs:27:27:27:58 | After { ... } | patterns.cs:27:18:27:58 | { ... } | semmle.label | successor | -| patterns.cs:27:27:27:58 | Before { ... } | patterns.cs:27:31:27:32 | 12 | semmle.label | successor | -| patterns.cs:27:27:27:58 | { ... } | patterns.cs:27:27:27:58 | After { ... } | semmle.label | successor | -| patterns.cs:27:31:27:32 | 12 | patterns.cs:27:38:27:56 | Before { ... } | semmle.label | successor | -| patterns.cs:27:38:27:45 | access to type MyStruct | patterns.cs:27:47:27:53 | Before { ... } | semmle.label | successor | -| patterns.cs:27:38:27:56 | After MyStruct ms | patterns.cs:27:38:27:45 | access to type MyStruct | semmle.label | successor | -| patterns.cs:27:38:27:56 | After { ... } | patterns.cs:27:27:27:58 | { ... } | semmle.label | successor | -| patterns.cs:27:38:27:56 | Before MyStruct ms | patterns.cs:27:55:27:56 | access to local variable ms | semmle.label | successor | -| patterns.cs:27:38:27:56 | Before { ... } | patterns.cs:27:38:27:56 | Before MyStruct ms | semmle.label | successor | -| patterns.cs:27:38:27:56 | MyStruct ms | patterns.cs:27:38:27:56 | After MyStruct ms | semmle.label | successor | -| patterns.cs:27:38:27:56 | { ... } | patterns.cs:27:38:27:56 | After { ... } | semmle.label | successor | -| patterns.cs:27:47:27:53 | After { ... } | patterns.cs:27:38:27:56 | { ... } | semmle.label | successor | -| patterns.cs:27:47:27:53 | Before { ... } | patterns.cs:27:51:27:51 | _ | semmle.label | successor | -| patterns.cs:27:47:27:53 | { ... } | patterns.cs:27:47:27:53 | After { ... } | semmle.label | successor | -| patterns.cs:27:51:27:51 | _ | patterns.cs:27:47:27:53 | { ... } | semmle.label | successor | -| patterns.cs:27:55:27:56 | access to local variable ms | patterns.cs:27:38:27:56 | MyStruct ms | semmle.label | successor | +| patterns.cs:27:18:27:25 | After access to type MyStruct [match] | patterns.cs:27:27:27:58 | { ... } | semmle.label | successor | +| patterns.cs:27:18:27:25 | After access to type MyStruct [no-match] | patterns.cs:27:18:27:58 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:27:18:27:25 | access to type MyStruct | patterns.cs:27:18:27:25 | After access to type MyStruct [match] | semmle.label | match | +| patterns.cs:27:18:27:25 | access to type MyStruct | patterns.cs:27:18:27:25 | After access to type MyStruct [no-match] | semmle.label | no-match | +| patterns.cs:27:18:27:58 | After { ... } [match] | patterns.cs:27:13:27:58 | After ... is ... [true] | semmle.label | true | +| patterns.cs:27:18:27:58 | After { ... } [no-match] | patterns.cs:27:13:27:58 | After ... is ... [false] | semmle.label | false | +| patterns.cs:27:18:27:58 | { ... } | patterns.cs:27:18:27:25 | access to type MyStruct | semmle.label | successor | +| patterns.cs:27:27:27:58 | After { ... } [match] | patterns.cs:27:18:27:58 | After { ... } [match] | semmle.label | match | +| patterns.cs:27:27:27:58 | After { ... } [no-match] | patterns.cs:27:18:27:58 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:27:27:27:58 | [OuterPatternMatch] { ... } | patterns.cs:27:31:27:32 | 12 | semmle.label | successor | +| patterns.cs:27:27:27:58 | { ... } | patterns.cs:27:27:27:58 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:27:27:27:58 | { ... } | patterns.cs:27:27:27:58 | [OuterPatternMatch] { ... } | semmle.label | match | +| patterns.cs:27:31:27:32 | 12 | patterns.cs:27:31:27:32 | After 12 [match] | semmle.label | match | +| patterns.cs:27:31:27:32 | 12 | patterns.cs:27:31:27:32 | After 12 [no-match] | semmle.label | no-match | +| patterns.cs:27:31:27:32 | After 12 [match] | patterns.cs:27:38:27:56 | { ... } | semmle.label | successor | +| patterns.cs:27:31:27:32 | After 12 [no-match] | patterns.cs:27:27:27:58 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:27:38:27:45 | After access to type MyStruct [match] | patterns.cs:27:47:27:53 | { ... } | semmle.label | successor | +| patterns.cs:27:38:27:45 | After access to type MyStruct [no-match] | patterns.cs:27:38:27:56 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:27:38:27:45 | access to type MyStruct | patterns.cs:27:38:27:45 | After access to type MyStruct [match] | semmle.label | match | +| patterns.cs:27:38:27:45 | access to type MyStruct | patterns.cs:27:38:27:45 | After access to type MyStruct [no-match] | semmle.label | no-match | +| patterns.cs:27:38:27:56 | After MyStruct ms [match] | patterns.cs:27:38:27:56 | After { ... } [match] | semmle.label | match | +| patterns.cs:27:38:27:56 | After { ... } [match] | patterns.cs:27:27:27:58 | After { ... } [match] | semmle.label | match | +| patterns.cs:27:38:27:56 | After { ... } [no-match] | patterns.cs:27:27:27:58 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:27:38:27:56 | MyStruct ms | patterns.cs:27:38:27:56 | [OuterPatternMatch] MyStruct ms | semmle.label | match | +| patterns.cs:27:38:27:56 | [OuterPatternMatch] MyStruct ms | patterns.cs:27:55:27:56 | access to local variable ms | semmle.label | successor | +| patterns.cs:27:38:27:56 | { ... } | patterns.cs:27:38:27:45 | access to type MyStruct | semmle.label | successor | +| patterns.cs:27:47:27:53 | After { ... } [match] | patterns.cs:27:38:27:56 | MyStruct ms | semmle.label | successor | +| patterns.cs:27:47:27:53 | After { ... } [no-match] | patterns.cs:27:38:27:56 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:27:47:27:53 | [OuterPatternMatch] { ... } | patterns.cs:27:51:27:51 | _ | semmle.label | successor | +| patterns.cs:27:47:27:53 | { ... } | patterns.cs:27:47:27:53 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:27:47:27:53 | { ... } | patterns.cs:27:47:27:53 | [OuterPatternMatch] { ... } | semmle.label | match | +| patterns.cs:27:51:27:51 | After _ [match] | patterns.cs:27:47:27:53 | After { ... } [match] | semmle.label | match | +| patterns.cs:27:51:27:51 | _ | patterns.cs:27:51:27:51 | After _ [match] | semmle.label | match | +| patterns.cs:27:55:27:56 | After access to local variable ms [match] | patterns.cs:27:38:27:56 | After MyStruct ms [match] | semmle.label | match | +| patterns.cs:27:55:27:56 | access to local variable ms | patterns.cs:27:55:27:56 | After access to local variable ms [match] | semmle.label | match | | patterns.cs:28:9:29:9 | {...} | patterns.cs:27:9:29:9 | After if (...) ... | semmle.label | successor | diff --git a/csharp/ql/test/library-tests/csharp8/switchexprcontrolflow.expected b/csharp/ql/test/library-tests/csharp8/switchexprcontrolflow.expected index 0bc6d1efa84e..c6cf8158e8e2 100644 --- a/csharp/ql/test/library-tests/csharp8/switchexprcontrolflow.expected +++ b/csharp/ql/test/library-tests/csharp8/switchexprcontrolflow.expected @@ -14,13 +14,14 @@ | patterns.cs:100:20:103:9 | After ... switch { ... } | patterns.cs:100:13:103:9 | String size = ... | semmle.label | successor | | patterns.cs:101:13:101:17 | After Int32 y [match] | patterns.cs:101:13:101:40 | After ... => ... [match] | semmle.label | match | | patterns.cs:101:13:101:17 | After Int32 y [no-match] | patterns.cs:101:13:101:40 | After ... => ... [no-match] | semmle.label | no-match | -| patterns.cs:101:13:101:17 | Before Int32 y | patterns.cs:101:17:101:17 | access to local variable y | semmle.label | successor | -| patterns.cs:101:13:101:17 | Int32 y | patterns.cs:101:13:101:17 | After Int32 y [match] | semmle.label | match | | patterns.cs:101:13:101:17 | Int32 y | patterns.cs:101:13:101:17 | After Int32 y [no-match] | semmle.label | no-match | -| patterns.cs:101:13:101:40 | ... => ... | patterns.cs:101:13:101:17 | Before Int32 y | semmle.label | successor | +| patterns.cs:101:13:101:17 | Int32 y | patterns.cs:101:13:101:17 | [OuterPatternMatch] Int32 y | semmle.label | match | +| patterns.cs:101:13:101:17 | [OuterPatternMatch] Int32 y | patterns.cs:101:17:101:17 | access to local variable y | semmle.label | successor | +| patterns.cs:101:13:101:40 | ... => ... | patterns.cs:101:13:101:17 | Int32 y | semmle.label | successor | | patterns.cs:101:13:101:40 | After ... => ... [match] | patterns.cs:101:24:101:29 | Before ... > ... | semmle.label | successor | | patterns.cs:101:13:101:40 | After ... => ... [no-match] | patterns.cs:102:13:102:24 | ... => ... | semmle.label | successor | -| patterns.cs:101:17:101:17 | access to local variable y | patterns.cs:101:13:101:17 | Int32 y | semmle.label | successor | +| patterns.cs:101:17:101:17 | After access to local variable y [match] | patterns.cs:101:13:101:17 | After Int32 y [match] | semmle.label | match | +| patterns.cs:101:17:101:17 | access to local variable y | patterns.cs:101:17:101:17 | After access to local variable y [match] | semmle.label | match | | patterns.cs:101:24:101:24 | access to local variable y | patterns.cs:101:28:101:29 | 10 | semmle.label | successor | | patterns.cs:101:24:101:29 | ... > ... | patterns.cs:101:24:101:29 | After ... > ... [false] | semmle.label | false | | patterns.cs:101:24:101:29 | ... > ... | patterns.cs:101:24:101:29 | After ... > ... [true] | semmle.label | true | @@ -69,37 +70,49 @@ | patterns.cs:108:24:112:9 | After ... switch { ... } | patterns.cs:108:9:112:9 | ... = ... | semmle.label | successor | | patterns.cs:108:25:108:26 | access to local variable x0 | patterns.cs:108:29:108:30 | access to local variable y0 | semmle.label | successor | | patterns.cs:108:29:108:30 | access to local variable y0 | patterns.cs:108:24:108:31 | (..., ...) | semmle.label | successor | -| patterns.cs:110:13:110:17 | ( ... ) | patterns.cs:110:13:110:17 | After ( ... ) | semmle.label | successor | -| patterns.cs:110:13:110:17 | After ( ... ) | patterns.cs:110:13:110:17 | { ... } | semmle.label | successor | +| patterns.cs:110:13:110:17 | ( ... ) | patterns.cs:110:13:110:17 | After ( ... ) [no-match] | semmle.label | no-match | +| patterns.cs:110:13:110:17 | ( ... ) | patterns.cs:110:13:110:17 | [OuterPatternMatch] ( ... ) | semmle.label | match | +| patterns.cs:110:13:110:17 | After ( ... ) [match] | patterns.cs:110:13:110:17 | After { ... } [match] | semmle.label | match | +| patterns.cs:110:13:110:17 | After ( ... ) [no-match] | patterns.cs:110:13:110:17 | After { ... } [no-match] | semmle.label | no-match | | patterns.cs:110:13:110:17 | After { ... } [match] | patterns.cs:110:13:110:26 | After ... => ... [match] | semmle.label | match | | patterns.cs:110:13:110:17 | After { ... } [no-match] | patterns.cs:110:13:110:26 | After ... => ... [no-match] | semmle.label | no-match | -| patterns.cs:110:13:110:17 | Before ( ... ) | patterns.cs:110:14:110:14 | 0 | semmle.label | successor | -| patterns.cs:110:13:110:17 | Before { ... } | patterns.cs:110:13:110:17 | Before ( ... ) | semmle.label | successor | -| patterns.cs:110:13:110:17 | { ... } | patterns.cs:110:13:110:17 | After { ... } [match] | semmle.label | match | -| patterns.cs:110:13:110:17 | { ... } | patterns.cs:110:13:110:17 | After { ... } [no-match] | semmle.label | no-match | -| patterns.cs:110:13:110:26 | ... => ... | patterns.cs:110:13:110:17 | Before { ... } | semmle.label | successor | +| patterns.cs:110:13:110:17 | [OuterPatternMatch] ( ... ) | patterns.cs:110:14:110:14 | 0 | semmle.label | successor | +| patterns.cs:110:13:110:17 | { ... } | patterns.cs:110:13:110:17 | ( ... ) | semmle.label | successor | +| patterns.cs:110:13:110:26 | ... => ... | patterns.cs:110:13:110:17 | { ... } | semmle.label | successor | | patterns.cs:110:13:110:26 | After ... => ... [match] | patterns.cs:110:22:110:26 | Before (..., ...) | semmle.label | successor | | patterns.cs:110:13:110:26 | After ... => ... [no-match] | patterns.cs:111:13:111:26 | ... => ... | semmle.label | successor | -| patterns.cs:110:14:110:14 | 0 | patterns.cs:110:16:110:16 | 1 | semmle.label | successor | -| patterns.cs:110:16:110:16 | 1 | patterns.cs:110:13:110:17 | ( ... ) | semmle.label | successor | +| patterns.cs:110:14:110:14 | 0 | patterns.cs:110:14:110:14 | After 0 [match] | semmle.label | match | +| patterns.cs:110:14:110:14 | 0 | patterns.cs:110:14:110:14 | After 0 [no-match] | semmle.label | no-match | +| patterns.cs:110:14:110:14 | After 0 [match] | patterns.cs:110:16:110:16 | 1 | semmle.label | successor | +| patterns.cs:110:14:110:14 | After 0 [no-match] | patterns.cs:110:13:110:17 | After ( ... ) [no-match] | semmle.label | no-match | +| patterns.cs:110:16:110:16 | 1 | patterns.cs:110:16:110:16 | After 1 [match] | semmle.label | match | +| patterns.cs:110:16:110:16 | 1 | patterns.cs:110:16:110:16 | After 1 [no-match] | semmle.label | no-match | +| patterns.cs:110:16:110:16 | After 1 [match] | patterns.cs:110:13:110:17 | After ( ... ) [match] | semmle.label | match | +| patterns.cs:110:16:110:16 | After 1 [no-match] | patterns.cs:110:13:110:17 | After ( ... ) [no-match] | semmle.label | no-match | | patterns.cs:110:22:110:26 | (..., ...) | patterns.cs:110:22:110:26 | After (..., ...) | semmle.label | successor | | patterns.cs:110:22:110:26 | After (..., ...) | patterns.cs:108:24:112:9 | After ... switch { ... } | semmle.label | successor | | patterns.cs:110:22:110:26 | Before (..., ...) | patterns.cs:110:23:110:23 | 1 | semmle.label | successor | | patterns.cs:110:23:110:23 | 1 | patterns.cs:110:25:110:25 | 0 | semmle.label | successor | | patterns.cs:110:25:110:25 | 0 | patterns.cs:110:22:110:26 | (..., ...) | semmle.label | successor | -| patterns.cs:111:13:111:17 | ( ... ) | patterns.cs:111:13:111:17 | After ( ... ) | semmle.label | successor | -| patterns.cs:111:13:111:17 | After ( ... ) | patterns.cs:111:13:111:17 | { ... } | semmle.label | successor | +| patterns.cs:111:13:111:17 | ( ... ) | patterns.cs:111:13:111:17 | After ( ... ) [no-match] | semmle.label | no-match | +| patterns.cs:111:13:111:17 | ( ... ) | patterns.cs:111:13:111:17 | [OuterPatternMatch] ( ... ) | semmle.label | match | +| patterns.cs:111:13:111:17 | After ( ... ) [match] | patterns.cs:111:13:111:17 | After { ... } [match] | semmle.label | match | +| patterns.cs:111:13:111:17 | After ( ... ) [no-match] | patterns.cs:111:13:111:17 | After { ... } [no-match] | semmle.label | no-match | | patterns.cs:111:13:111:17 | After { ... } [match] | patterns.cs:111:13:111:26 | After ... => ... [match] | semmle.label | match | | patterns.cs:111:13:111:17 | After { ... } [no-match] | patterns.cs:111:13:111:26 | After ... => ... [no-match] | semmle.label | no-match | -| patterns.cs:111:13:111:17 | Before ( ... ) | patterns.cs:111:14:111:14 | 1 | semmle.label | successor | -| patterns.cs:111:13:111:17 | Before { ... } | patterns.cs:111:13:111:17 | Before ( ... ) | semmle.label | successor | -| patterns.cs:111:13:111:17 | { ... } | patterns.cs:111:13:111:17 | After { ... } [match] | semmle.label | match | -| patterns.cs:111:13:111:17 | { ... } | patterns.cs:111:13:111:17 | After { ... } [no-match] | semmle.label | no-match | -| patterns.cs:111:13:111:26 | ... => ... | patterns.cs:111:13:111:17 | Before { ... } | semmle.label | successor | +| patterns.cs:111:13:111:17 | [OuterPatternMatch] ( ... ) | patterns.cs:111:14:111:14 | 1 | semmle.label | successor | +| patterns.cs:111:13:111:17 | { ... } | patterns.cs:111:13:111:17 | ( ... ) | semmle.label | successor | +| patterns.cs:111:13:111:26 | ... => ... | patterns.cs:111:13:111:17 | { ... } | semmle.label | successor | | patterns.cs:111:13:111:26 | After ... => ... [match] | patterns.cs:111:22:111:26 | Before (..., ...) | semmle.label | successor | | patterns.cs:111:13:111:26 | After ... => ... [no-match] | patterns.cs:108:24:112:9 | After ... switch { ... } | semmle.label | successor | -| patterns.cs:111:14:111:14 | 1 | patterns.cs:111:16:111:16 | 0 | semmle.label | successor | -| patterns.cs:111:16:111:16 | 0 | patterns.cs:111:13:111:17 | ( ... ) | semmle.label | successor | +| patterns.cs:111:14:111:14 | 1 | patterns.cs:111:14:111:14 | After 1 [match] | semmle.label | match | +| patterns.cs:111:14:111:14 | 1 | patterns.cs:111:14:111:14 | After 1 [no-match] | semmle.label | no-match | +| patterns.cs:111:14:111:14 | After 1 [match] | patterns.cs:111:16:111:16 | 0 | semmle.label | successor | +| patterns.cs:111:14:111:14 | After 1 [no-match] | patterns.cs:111:13:111:17 | After ( ... ) [no-match] | semmle.label | no-match | +| patterns.cs:111:16:111:16 | 0 | patterns.cs:111:16:111:16 | After 0 [match] | semmle.label | match | +| patterns.cs:111:16:111:16 | 0 | patterns.cs:111:16:111:16 | After 0 [no-match] | semmle.label | no-match | +| patterns.cs:111:16:111:16 | After 0 [match] | patterns.cs:111:13:111:17 | After ( ... ) [match] | semmle.label | match | +| patterns.cs:111:16:111:16 | After 0 [no-match] | patterns.cs:111:13:111:17 | After ( ... ) [no-match] | semmle.label | no-match | | patterns.cs:111:22:111:26 | (..., ...) | patterns.cs:111:22:111:26 | After (..., ...) | semmle.label | successor | | patterns.cs:111:22:111:26 | After (..., ...) | patterns.cs:108:24:112:9 | After ... switch { ... } | semmle.label | successor | | patterns.cs:111:22:111:26 | Before (..., ...) | patterns.cs:111:23:111:23 | 0 | semmle.label | successor | @@ -122,67 +135,77 @@ | patterns.cs:115:20:120:9 | After ... switch { ... } | patterns.cs:115:9:120:9 | ... = ... | semmle.label | successor | | patterns.cs:115:21:115:22 | access to local variable x0 | patterns.cs:115:25:115:26 | access to local variable y0 | semmle.label | successor | | patterns.cs:115:25:115:26 | access to local variable y0 | patterns.cs:115:20:115:27 | (..., ...) | semmle.label | successor | -| patterns.cs:117:13:117:22 | ( ... ) | patterns.cs:117:13:117:22 | After ( ... ) | semmle.label | successor | -| patterns.cs:117:13:117:22 | After ( ... ) | patterns.cs:117:13:117:22 | { ... } | semmle.label | successor | +| patterns.cs:117:13:117:22 | ( ... ) | patterns.cs:117:13:117:22 | After ( ... ) [no-match] | semmle.label | no-match | +| patterns.cs:117:13:117:22 | ( ... ) | patterns.cs:117:13:117:22 | [OuterPatternMatch] ( ... ) | semmle.label | match | +| patterns.cs:117:13:117:22 | After ( ... ) [match] | patterns.cs:117:13:117:22 | After { ... } [match] | semmle.label | match | +| patterns.cs:117:13:117:22 | After ( ... ) [no-match] | patterns.cs:117:13:117:22 | After { ... } [no-match] | semmle.label | no-match | | patterns.cs:117:13:117:22 | After { ... } [match] | patterns.cs:117:13:117:33 | After ... => ... [match] | semmle.label | match | | patterns.cs:117:13:117:22 | After { ... } [no-match] | patterns.cs:117:13:117:33 | After ... => ... [no-match] | semmle.label | no-match | -| patterns.cs:117:13:117:22 | Before ( ... ) | patterns.cs:117:14:117:14 | 0 | semmle.label | successor | -| patterns.cs:117:13:117:22 | Before { ... } | patterns.cs:117:13:117:22 | Before ( ... ) | semmle.label | successor | -| patterns.cs:117:13:117:22 | { ... } | patterns.cs:117:13:117:22 | After { ... } [match] | semmle.label | match | -| patterns.cs:117:13:117:22 | { ... } | patterns.cs:117:13:117:22 | After { ... } [no-match] | semmle.label | no-match | -| patterns.cs:117:13:117:33 | ... => ... | patterns.cs:117:13:117:22 | Before { ... } | semmle.label | successor | +| patterns.cs:117:13:117:22 | [OuterPatternMatch] ( ... ) | patterns.cs:117:14:117:14 | 0 | semmle.label | successor | +| patterns.cs:117:13:117:22 | { ... } | patterns.cs:117:13:117:22 | ( ... ) | semmle.label | successor | +| patterns.cs:117:13:117:33 | ... => ... | patterns.cs:117:13:117:22 | { ... } | semmle.label | successor | | patterns.cs:117:13:117:33 | After ... => ... [match] | patterns.cs:117:27:117:33 | Before (..., ...) | semmle.label | successor | | patterns.cs:117:13:117:33 | After ... => ... [no-match] | patterns.cs:118:13:118:34 | ... => ... | semmle.label | successor | -| patterns.cs:117:14:117:14 | 0 | patterns.cs:117:16:117:21 | Before Int32 y2 | semmle.label | successor | -| patterns.cs:117:16:117:21 | After Int32 y2 | patterns.cs:117:13:117:22 | ( ... ) | semmle.label | successor | -| patterns.cs:117:16:117:21 | Before Int32 y2 | patterns.cs:117:20:117:21 | access to local variable y2 | semmle.label | successor | -| patterns.cs:117:16:117:21 | Int32 y2 | patterns.cs:117:16:117:21 | After Int32 y2 | semmle.label | successor | -| patterns.cs:117:20:117:21 | access to local variable y2 | patterns.cs:117:16:117:21 | Int32 y2 | semmle.label | successor | +| patterns.cs:117:14:117:14 | 0 | patterns.cs:117:14:117:14 | After 0 [match] | semmle.label | match | +| patterns.cs:117:14:117:14 | 0 | patterns.cs:117:14:117:14 | After 0 [no-match] | semmle.label | no-match | +| patterns.cs:117:14:117:14 | After 0 [match] | patterns.cs:117:16:117:21 | Int32 y2 | semmle.label | successor | +| patterns.cs:117:14:117:14 | After 0 [no-match] | patterns.cs:117:13:117:22 | After ( ... ) [no-match] | semmle.label | no-match | +| patterns.cs:117:16:117:21 | After Int32 y2 [match] | patterns.cs:117:13:117:22 | After ( ... ) [match] | semmle.label | match | +| patterns.cs:117:16:117:21 | Int32 y2 | patterns.cs:117:16:117:21 | [OuterPatternMatch] Int32 y2 | semmle.label | match | +| patterns.cs:117:16:117:21 | [OuterPatternMatch] Int32 y2 | patterns.cs:117:20:117:21 | access to local variable y2 | semmle.label | successor | +| patterns.cs:117:20:117:21 | After access to local variable y2 [match] | patterns.cs:117:16:117:21 | After Int32 y2 [match] | semmle.label | match | +| patterns.cs:117:20:117:21 | access to local variable y2 | patterns.cs:117:20:117:21 | After access to local variable y2 [match] | semmle.label | match | | patterns.cs:117:27:117:33 | (..., ...) | patterns.cs:117:27:117:33 | After (..., ...) | semmle.label | successor | | patterns.cs:117:27:117:33 | After (..., ...) | patterns.cs:115:20:120:9 | After ... switch { ... } | semmle.label | successor | | patterns.cs:117:27:117:33 | Before (..., ...) | patterns.cs:117:28:117:29 | access to local variable y2 | semmle.label | successor | | patterns.cs:117:28:117:29 | access to local variable y2 | patterns.cs:117:32:117:32 | 0 | semmle.label | successor | | patterns.cs:117:32:117:32 | 0 | patterns.cs:117:27:117:33 | (..., ...) | semmle.label | successor | -| patterns.cs:118:13:118:23 | ( ... ) | patterns.cs:118:13:118:23 | After ( ... ) | semmle.label | successor | -| patterns.cs:118:13:118:23 | After ( ... ) | patterns.cs:118:13:118:23 | { ... } | semmle.label | successor | +| patterns.cs:118:13:118:23 | ( ... ) | patterns.cs:118:13:118:23 | After ( ... ) [no-match] | semmle.label | no-match | +| patterns.cs:118:13:118:23 | ( ... ) | patterns.cs:118:13:118:23 | [OuterPatternMatch] ( ... ) | semmle.label | match | +| patterns.cs:118:13:118:23 | After ( ... ) [match] | patterns.cs:118:13:118:23 | After { ... } [match] | semmle.label | match | +| patterns.cs:118:13:118:23 | After ( ... ) [no-match] | patterns.cs:118:13:118:23 | After { ... } [no-match] | semmle.label | no-match | | patterns.cs:118:13:118:23 | After { ... } [match] | patterns.cs:118:13:118:34 | After ... => ... [match] | semmle.label | match | | patterns.cs:118:13:118:23 | After { ... } [no-match] | patterns.cs:118:13:118:34 | After ... => ... [no-match] | semmle.label | no-match | -| patterns.cs:118:13:118:23 | Before ( ... ) | patterns.cs:118:14:118:19 | Before Int32 x2 | semmle.label | successor | -| patterns.cs:118:13:118:23 | Before { ... } | patterns.cs:118:13:118:23 | Before ( ... ) | semmle.label | successor | -| patterns.cs:118:13:118:23 | { ... } | patterns.cs:118:13:118:23 | After { ... } [match] | semmle.label | match | -| patterns.cs:118:13:118:23 | { ... } | patterns.cs:118:13:118:23 | After { ... } [no-match] | semmle.label | no-match | -| patterns.cs:118:13:118:34 | ... => ... | patterns.cs:118:13:118:23 | Before { ... } | semmle.label | successor | +| patterns.cs:118:13:118:23 | [OuterPatternMatch] ( ... ) | patterns.cs:118:14:118:19 | Int32 x2 | semmle.label | successor | +| patterns.cs:118:13:118:23 | { ... } | patterns.cs:118:13:118:23 | ( ... ) | semmle.label | successor | +| patterns.cs:118:13:118:34 | ... => ... | patterns.cs:118:13:118:23 | { ... } | semmle.label | successor | | patterns.cs:118:13:118:34 | After ... => ... [match] | patterns.cs:118:28:118:34 | Before (..., ...) | semmle.label | successor | | patterns.cs:118:13:118:34 | After ... => ... [no-match] | patterns.cs:119:13:119:38 | ... => ... | semmle.label | successor | -| patterns.cs:118:14:118:19 | After Int32 x2 | patterns.cs:118:22:118:22 | 0 | semmle.label | successor | -| patterns.cs:118:14:118:19 | Before Int32 x2 | patterns.cs:118:18:118:19 | access to local variable x2 | semmle.label | successor | -| patterns.cs:118:14:118:19 | Int32 x2 | patterns.cs:118:14:118:19 | After Int32 x2 | semmle.label | successor | -| patterns.cs:118:18:118:19 | access to local variable x2 | patterns.cs:118:14:118:19 | Int32 x2 | semmle.label | successor | -| patterns.cs:118:22:118:22 | 0 | patterns.cs:118:13:118:23 | ( ... ) | semmle.label | successor | +| patterns.cs:118:14:118:19 | After Int32 x2 [match] | patterns.cs:118:22:118:22 | 0 | semmle.label | successor | +| patterns.cs:118:14:118:19 | Int32 x2 | patterns.cs:118:14:118:19 | [OuterPatternMatch] Int32 x2 | semmle.label | match | +| patterns.cs:118:14:118:19 | [OuterPatternMatch] Int32 x2 | patterns.cs:118:18:118:19 | access to local variable x2 | semmle.label | successor | +| patterns.cs:118:18:118:19 | After access to local variable x2 [match] | patterns.cs:118:14:118:19 | After Int32 x2 [match] | semmle.label | match | +| patterns.cs:118:18:118:19 | access to local variable x2 | patterns.cs:118:18:118:19 | After access to local variable x2 [match] | semmle.label | match | +| patterns.cs:118:22:118:22 | 0 | patterns.cs:118:22:118:22 | After 0 [match] | semmle.label | match | +| patterns.cs:118:22:118:22 | 0 | patterns.cs:118:22:118:22 | After 0 [no-match] | semmle.label | no-match | +| patterns.cs:118:22:118:22 | After 0 [match] | patterns.cs:118:13:118:23 | After ( ... ) [match] | semmle.label | match | +| patterns.cs:118:22:118:22 | After 0 [no-match] | patterns.cs:118:13:118:23 | After ( ... ) [no-match] | semmle.label | no-match | | patterns.cs:118:28:118:34 | (..., ...) | patterns.cs:118:28:118:34 | After (..., ...) | semmle.label | successor | | patterns.cs:118:28:118:34 | After (..., ...) | patterns.cs:115:20:120:9 | After ... switch { ... } | semmle.label | successor | | patterns.cs:118:28:118:34 | Before (..., ...) | patterns.cs:118:29:118:29 | 0 | semmle.label | successor | | patterns.cs:118:29:118:29 | 0 | patterns.cs:118:32:118:33 | access to local variable x2 | semmle.label | successor | | patterns.cs:118:32:118:33 | access to local variable x2 | patterns.cs:118:28:118:34 | (..., ...) | semmle.label | successor | -| patterns.cs:119:13:119:28 | ( ... ) | patterns.cs:119:13:119:28 | After ( ... ) | semmle.label | successor | -| patterns.cs:119:13:119:28 | After ( ... ) | patterns.cs:119:13:119:28 | { ... } | semmle.label | successor | +| patterns.cs:119:13:119:28 | ( ... ) | patterns.cs:119:13:119:28 | After ( ... ) [no-match] | semmle.label | no-match | +| patterns.cs:119:13:119:28 | ( ... ) | patterns.cs:119:13:119:28 | [OuterPatternMatch] ( ... ) | semmle.label | match | +| patterns.cs:119:13:119:28 | After ( ... ) [match] | patterns.cs:119:13:119:28 | After { ... } [match] | semmle.label | match | +| patterns.cs:119:13:119:28 | After ( ... ) [no-match] | patterns.cs:119:13:119:28 | After { ... } [no-match] | semmle.label | no-match | | patterns.cs:119:13:119:28 | After { ... } [match] | patterns.cs:119:13:119:38 | After ... => ... [match] | semmle.label | match | | patterns.cs:119:13:119:28 | After { ... } [no-match] | patterns.cs:119:13:119:38 | After ... => ... [no-match] | semmle.label | no-match | -| patterns.cs:119:13:119:28 | Before ( ... ) | patterns.cs:119:14:119:19 | Before Int32 x2 | semmle.label | successor | -| patterns.cs:119:13:119:28 | Before { ... } | patterns.cs:119:13:119:28 | Before ( ... ) | semmle.label | successor | -| patterns.cs:119:13:119:28 | { ... } | patterns.cs:119:13:119:28 | After { ... } [match] | semmle.label | match | -| patterns.cs:119:13:119:28 | { ... } | patterns.cs:119:13:119:28 | After { ... } [no-match] | semmle.label | no-match | -| patterns.cs:119:13:119:38 | ... => ... | patterns.cs:119:13:119:28 | Before { ... } | semmle.label | successor | +| patterns.cs:119:13:119:28 | [OuterPatternMatch] ( ... ) | patterns.cs:119:14:119:19 | Int32 x2 | semmle.label | successor | +| patterns.cs:119:13:119:28 | { ... } | patterns.cs:119:13:119:28 | ( ... ) | semmle.label | successor | +| patterns.cs:119:13:119:38 | ... => ... | patterns.cs:119:13:119:28 | { ... } | semmle.label | successor | | patterns.cs:119:13:119:38 | After ... => ... [match] | patterns.cs:119:33:119:38 | Before (..., ...) | semmle.label | successor | | patterns.cs:119:13:119:38 | After ... => ... [no-match] | patterns.cs:115:20:120:9 | After ... switch { ... } | semmle.label | successor | -| patterns.cs:119:14:119:19 | After Int32 x2 | patterns.cs:119:22:119:27 | Before Int32 y2 | semmle.label | successor | -| patterns.cs:119:14:119:19 | Before Int32 x2 | patterns.cs:119:18:119:19 | access to local variable x2 | semmle.label | successor | -| patterns.cs:119:14:119:19 | Int32 x2 | patterns.cs:119:14:119:19 | After Int32 x2 | semmle.label | successor | -| patterns.cs:119:18:119:19 | access to local variable x2 | patterns.cs:119:14:119:19 | Int32 x2 | semmle.label | successor | -| patterns.cs:119:22:119:27 | After Int32 y2 | patterns.cs:119:13:119:28 | ( ... ) | semmle.label | successor | -| patterns.cs:119:22:119:27 | Before Int32 y2 | patterns.cs:119:26:119:27 | access to local variable y2 | semmle.label | successor | -| patterns.cs:119:22:119:27 | Int32 y2 | patterns.cs:119:22:119:27 | After Int32 y2 | semmle.label | successor | -| patterns.cs:119:26:119:27 | access to local variable y2 | patterns.cs:119:22:119:27 | Int32 y2 | semmle.label | successor | +| patterns.cs:119:14:119:19 | After Int32 x2 [match] | patterns.cs:119:22:119:27 | Int32 y2 | semmle.label | successor | +| patterns.cs:119:14:119:19 | Int32 x2 | patterns.cs:119:14:119:19 | [OuterPatternMatch] Int32 x2 | semmle.label | match | +| patterns.cs:119:14:119:19 | [OuterPatternMatch] Int32 x2 | patterns.cs:119:18:119:19 | access to local variable x2 | semmle.label | successor | +| patterns.cs:119:18:119:19 | After access to local variable x2 [match] | patterns.cs:119:14:119:19 | After Int32 x2 [match] | semmle.label | match | +| patterns.cs:119:18:119:19 | access to local variable x2 | patterns.cs:119:18:119:19 | After access to local variable x2 [match] | semmle.label | match | +| patterns.cs:119:22:119:27 | After Int32 y2 [match] | patterns.cs:119:13:119:28 | After ( ... ) [match] | semmle.label | match | +| patterns.cs:119:22:119:27 | Int32 y2 | patterns.cs:119:22:119:27 | [OuterPatternMatch] Int32 y2 | semmle.label | match | +| patterns.cs:119:22:119:27 | [OuterPatternMatch] Int32 y2 | patterns.cs:119:26:119:27 | access to local variable y2 | semmle.label | successor | +| patterns.cs:119:26:119:27 | After access to local variable y2 [match] | patterns.cs:119:22:119:27 | After Int32 y2 [match] | semmle.label | match | +| patterns.cs:119:26:119:27 | access to local variable y2 | patterns.cs:119:26:119:27 | After access to local variable y2 [match] | semmle.label | match | | patterns.cs:119:33:119:38 | (..., ...) | patterns.cs:119:33:119:38 | After (..., ...) | semmle.label | successor | | patterns.cs:119:33:119:38 | After (..., ...) | patterns.cs:115:20:120:9 | After ... switch { ... } | semmle.label | successor | | patterns.cs:119:33:119:38 | Before (..., ...) | patterns.cs:119:34:119:34 | 0 | semmle.label | successor | @@ -220,22 +243,28 @@ | patterns.cs:126:17:126:17 | access to local variable s | patterns.cs:128:13:128:49 | ... => ... | semmle.label | successor | | patterns.cs:126:17:132:9 | ... switch { ... } | patterns.cs:126:17:126:17 | access to local variable s | semmle.label | successor | | patterns.cs:126:17:132:9 | After ... switch { ... } | patterns.cs:126:13:132:9 | Int32 r = ... | semmle.label | successor | -| patterns.cs:128:13:128:20 | access to type MyStruct | patterns.cs:128:22:128:33 | Before { ... } | semmle.label | successor | +| patterns.cs:128:13:128:20 | After access to type MyStruct [match] | patterns.cs:128:22:128:33 | { ... } | semmle.label | successor | +| patterns.cs:128:13:128:20 | After access to type MyStruct [no-match] | patterns.cs:128:13:128:33 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:128:13:128:20 | access to type MyStruct | patterns.cs:128:13:128:20 | After access to type MyStruct [match] | semmle.label | match | +| patterns.cs:128:13:128:20 | access to type MyStruct | patterns.cs:128:13:128:20 | After access to type MyStruct [no-match] | semmle.label | no-match | | patterns.cs:128:13:128:33 | After { ... } [match] | patterns.cs:128:13:128:49 | After ... => ... [match] | semmle.label | match | | patterns.cs:128:13:128:33 | After { ... } [no-match] | patterns.cs:128:13:128:49 | After ... => ... [no-match] | semmle.label | no-match | -| patterns.cs:128:13:128:33 | Before { ... } | patterns.cs:128:13:128:20 | access to type MyStruct | semmle.label | successor | -| patterns.cs:128:13:128:33 | { ... } | patterns.cs:128:13:128:33 | After { ... } [match] | semmle.label | match | -| patterns.cs:128:13:128:33 | { ... } | patterns.cs:128:13:128:33 | After { ... } [no-match] | semmle.label | no-match | -| patterns.cs:128:13:128:49 | ... => ... | patterns.cs:128:13:128:33 | Before { ... } | semmle.label | successor | +| patterns.cs:128:13:128:33 | { ... } | patterns.cs:128:13:128:20 | access to type MyStruct | semmle.label | successor | +| patterns.cs:128:13:128:49 | ... => ... | patterns.cs:128:13:128:33 | { ... } | semmle.label | successor | | patterns.cs:128:13:128:49 | After ... => ... [match] | patterns.cs:128:40:128:44 | Before ... > ... | semmle.label | successor | | patterns.cs:128:13:128:49 | After ... => ... [no-match] | patterns.cs:129:13:129:38 | ... => ... | semmle.label | successor | -| patterns.cs:128:22:128:33 | After { ... } | patterns.cs:128:13:128:33 | { ... } | semmle.label | successor | -| patterns.cs:128:22:128:33 | Before { ... } | patterns.cs:128:27:128:31 | Before Int32 x | semmle.label | successor | -| patterns.cs:128:22:128:33 | { ... } | patterns.cs:128:22:128:33 | After { ... } | semmle.label | successor | -| patterns.cs:128:27:128:31 | After Int32 x | patterns.cs:128:22:128:33 | { ... } | semmle.label | successor | -| patterns.cs:128:27:128:31 | Before Int32 x | patterns.cs:128:31:128:31 | access to local variable x | semmle.label | successor | -| patterns.cs:128:27:128:31 | Int32 x | patterns.cs:128:27:128:31 | After Int32 x | semmle.label | successor | -| patterns.cs:128:31:128:31 | access to local variable x | patterns.cs:128:27:128:31 | Int32 x | semmle.label | successor | +| patterns.cs:128:22:128:33 | After { ... } [match] | patterns.cs:128:13:128:33 | After { ... } [match] | semmle.label | match | +| patterns.cs:128:22:128:33 | After { ... } [no-match] | patterns.cs:128:13:128:33 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:128:22:128:33 | [OuterPatternMatch] { ... } | patterns.cs:128:27:128:31 | Int32 x | semmle.label | successor | +| patterns.cs:128:22:128:33 | { ... } | patterns.cs:128:22:128:33 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:128:22:128:33 | { ... } | patterns.cs:128:22:128:33 | [OuterPatternMatch] { ... } | semmle.label | match | +| patterns.cs:128:27:128:31 | After Int32 x [match] | patterns.cs:128:22:128:33 | After { ... } [match] | semmle.label | match | +| patterns.cs:128:27:128:31 | After Int32 x [no-match] | patterns.cs:128:22:128:33 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:128:27:128:31 | Int32 x | patterns.cs:128:27:128:31 | After Int32 x [no-match] | semmle.label | no-match | +| patterns.cs:128:27:128:31 | Int32 x | patterns.cs:128:27:128:31 | [OuterPatternMatch] Int32 x | semmle.label | match | +| patterns.cs:128:27:128:31 | [OuterPatternMatch] Int32 x | patterns.cs:128:31:128:31 | access to local variable x | semmle.label | successor | +| patterns.cs:128:31:128:31 | After access to local variable x [match] | patterns.cs:128:27:128:31 | After Int32 x [match] | semmle.label | match | +| patterns.cs:128:31:128:31 | access to local variable x | patterns.cs:128:31:128:31 | After access to local variable x [match] | semmle.label | match | | patterns.cs:128:40:128:40 | access to local variable x | patterns.cs:128:44:128:44 | 2 | semmle.label | successor | | patterns.cs:128:40:128:44 | ... > ... | patterns.cs:128:40:128:44 | After ... > ... [false] | semmle.label | false | | patterns.cs:128:40:128:44 | ... > ... | patterns.cs:128:40:128:44 | After ... > ... [true] | semmle.label | true | @@ -244,51 +273,66 @@ | patterns.cs:128:40:128:44 | Before ... > ... | patterns.cs:128:40:128:40 | access to local variable x | semmle.label | successor | | patterns.cs:128:44:128:44 | 2 | patterns.cs:128:40:128:44 | ... > ... | semmle.label | successor | | patterns.cs:128:49:128:49 | 0 | patterns.cs:126:17:132:9 | After ... switch { ... } | semmle.label | successor | -| patterns.cs:129:13:129:20 | access to type MyStruct | patterns.cs:129:22:129:30 | Before { ... } | semmle.label | successor | -| patterns.cs:129:13:129:33 | After MyStruct ms | patterns.cs:129:13:129:20 | access to type MyStruct | semmle.label | successor | +| patterns.cs:129:13:129:20 | After access to type MyStruct [match] | patterns.cs:129:22:129:30 | { ... } | semmle.label | successor | +| patterns.cs:129:13:129:20 | After access to type MyStruct [no-match] | patterns.cs:129:13:129:33 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:129:13:129:20 | access to type MyStruct | patterns.cs:129:13:129:20 | After access to type MyStruct [match] | semmle.label | match | +| patterns.cs:129:13:129:20 | access to type MyStruct | patterns.cs:129:13:129:20 | After access to type MyStruct [no-match] | semmle.label | no-match | +| patterns.cs:129:13:129:33 | After MyStruct ms [match] | patterns.cs:129:13:129:33 | After { ... } [match] | semmle.label | match | | patterns.cs:129:13:129:33 | After { ... } [match] | patterns.cs:129:13:129:38 | After ... => ... [match] | semmle.label | match | | patterns.cs:129:13:129:33 | After { ... } [no-match] | patterns.cs:129:13:129:38 | After ... => ... [no-match] | semmle.label | no-match | -| patterns.cs:129:13:129:33 | Before MyStruct ms | patterns.cs:129:32:129:33 | access to local variable ms | semmle.label | successor | -| patterns.cs:129:13:129:33 | Before { ... } | patterns.cs:129:13:129:33 | Before MyStruct ms | semmle.label | successor | -| patterns.cs:129:13:129:33 | MyStruct ms | patterns.cs:129:13:129:33 | After MyStruct ms | semmle.label | successor | -| patterns.cs:129:13:129:33 | { ... } | patterns.cs:129:13:129:33 | After { ... } [match] | semmle.label | match | -| patterns.cs:129:13:129:33 | { ... } | patterns.cs:129:13:129:33 | After { ... } [no-match] | semmle.label | no-match | -| patterns.cs:129:13:129:38 | ... => ... | patterns.cs:129:13:129:33 | Before { ... } | semmle.label | successor | +| patterns.cs:129:13:129:33 | MyStruct ms | patterns.cs:129:13:129:33 | [OuterPatternMatch] MyStruct ms | semmle.label | match | +| patterns.cs:129:13:129:33 | [OuterPatternMatch] MyStruct ms | patterns.cs:129:32:129:33 | access to local variable ms | semmle.label | successor | +| patterns.cs:129:13:129:33 | { ... } | patterns.cs:129:13:129:20 | access to type MyStruct | semmle.label | successor | +| patterns.cs:129:13:129:38 | ... => ... | patterns.cs:129:13:129:33 | { ... } | semmle.label | successor | | patterns.cs:129:13:129:38 | After ... => ... [match] | patterns.cs:129:38:129:38 | 1 | semmle.label | successor | | patterns.cs:129:13:129:38 | After ... => ... [no-match] | patterns.cs:130:13:130:23 | ... => ... | semmle.label | successor | -| patterns.cs:129:22:129:30 | After { ... } | patterns.cs:129:13:129:33 | { ... } | semmle.label | successor | -| patterns.cs:129:22:129:30 | Before { ... } | patterns.cs:129:27:129:28 | 10 | semmle.label | successor | -| patterns.cs:129:22:129:30 | { ... } | patterns.cs:129:22:129:30 | After { ... } | semmle.label | successor | -| patterns.cs:129:27:129:28 | 10 | patterns.cs:129:22:129:30 | { ... } | semmle.label | successor | -| patterns.cs:129:32:129:33 | access to local variable ms | patterns.cs:129:13:129:33 | MyStruct ms | semmle.label | successor | +| patterns.cs:129:22:129:30 | After { ... } [match] | patterns.cs:129:13:129:33 | MyStruct ms | semmle.label | successor | +| patterns.cs:129:22:129:30 | After { ... } [no-match] | patterns.cs:129:13:129:33 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:129:22:129:30 | [OuterPatternMatch] { ... } | patterns.cs:129:27:129:28 | 10 | semmle.label | successor | +| patterns.cs:129:22:129:30 | { ... } | patterns.cs:129:22:129:30 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:129:22:129:30 | { ... } | patterns.cs:129:22:129:30 | [OuterPatternMatch] { ... } | semmle.label | match | +| patterns.cs:129:27:129:28 | 10 | patterns.cs:129:27:129:28 | After 10 [match] | semmle.label | match | +| patterns.cs:129:27:129:28 | 10 | patterns.cs:129:27:129:28 | After 10 [no-match] | semmle.label | no-match | +| patterns.cs:129:27:129:28 | After 10 [match] | patterns.cs:129:22:129:30 | After { ... } [match] | semmle.label | match | +| patterns.cs:129:27:129:28 | After 10 [no-match] | patterns.cs:129:22:129:30 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:129:32:129:33 | After access to local variable ms [match] | patterns.cs:129:13:129:33 | After MyStruct ms [match] | semmle.label | match | +| patterns.cs:129:32:129:33 | access to local variable ms | patterns.cs:129:32:129:33 | After access to local variable ms [match] | semmle.label | match | | patterns.cs:129:38:129:38 | 1 | patterns.cs:126:17:132:9 | After ... switch { ... } | semmle.label | successor | -| patterns.cs:130:13:130:18 | ( ... ) | patterns.cs:130:13:130:18 | After ( ... ) | semmle.label | successor | -| patterns.cs:130:13:130:18 | After ( ... ) | patterns.cs:130:13:130:18 | { ... } | semmle.label | successor | +| patterns.cs:130:13:130:18 | ( ... ) | patterns.cs:130:13:130:18 | After ( ... ) [no-match] | semmle.label | no-match | +| patterns.cs:130:13:130:18 | ( ... ) | patterns.cs:130:13:130:18 | [OuterPatternMatch] ( ... ) | semmle.label | match | +| patterns.cs:130:13:130:18 | After ( ... ) [match] | patterns.cs:130:13:130:18 | After { ... } [match] | semmle.label | match | +| patterns.cs:130:13:130:18 | After ( ... ) [no-match] | patterns.cs:130:13:130:18 | After { ... } [no-match] | semmle.label | no-match | | patterns.cs:130:13:130:18 | After { ... } [match] | patterns.cs:130:13:130:23 | After ... => ... [match] | semmle.label | match | | patterns.cs:130:13:130:18 | After { ... } [no-match] | patterns.cs:130:13:130:23 | After ... => ... [no-match] | semmle.label | no-match | -| patterns.cs:130:13:130:18 | Before ( ... ) | patterns.cs:130:14:130:14 | 1 | semmle.label | successor | -| patterns.cs:130:13:130:18 | Before { ... } | patterns.cs:130:13:130:18 | Before ( ... ) | semmle.label | successor | -| patterns.cs:130:13:130:18 | { ... } | patterns.cs:130:13:130:18 | After { ... } [match] | semmle.label | match | -| patterns.cs:130:13:130:18 | { ... } | patterns.cs:130:13:130:18 | After { ... } [no-match] | semmle.label | no-match | -| patterns.cs:130:13:130:23 | ... => ... | patterns.cs:130:13:130:18 | Before { ... } | semmle.label | successor | +| patterns.cs:130:13:130:18 | [OuterPatternMatch] ( ... ) | patterns.cs:130:14:130:14 | 1 | semmle.label | successor | +| patterns.cs:130:13:130:18 | { ... } | patterns.cs:130:13:130:18 | ( ... ) | semmle.label | successor | +| patterns.cs:130:13:130:23 | ... => ... | patterns.cs:130:13:130:18 | { ... } | semmle.label | successor | | patterns.cs:130:13:130:23 | After ... => ... [match] | patterns.cs:130:23:130:23 | 2 | semmle.label | successor | | patterns.cs:130:13:130:23 | After ... => ... [no-match] | patterns.cs:131:13:131:27 | ... => ... | semmle.label | successor | -| patterns.cs:130:14:130:14 | 1 | patterns.cs:130:17:130:17 | 2 | semmle.label | successor | -| patterns.cs:130:17:130:17 | 2 | patterns.cs:130:13:130:18 | ( ... ) | semmle.label | successor | +| patterns.cs:130:14:130:14 | 1 | patterns.cs:130:14:130:14 | After 1 [match] | semmle.label | match | +| patterns.cs:130:14:130:14 | 1 | patterns.cs:130:14:130:14 | After 1 [no-match] | semmle.label | no-match | +| patterns.cs:130:14:130:14 | After 1 [match] | patterns.cs:130:17:130:17 | 2 | semmle.label | successor | +| patterns.cs:130:14:130:14 | After 1 [no-match] | patterns.cs:130:13:130:18 | After ( ... ) [no-match] | semmle.label | no-match | +| patterns.cs:130:17:130:17 | 2 | patterns.cs:130:17:130:17 | After 2 [match] | semmle.label | match | +| patterns.cs:130:17:130:17 | 2 | patterns.cs:130:17:130:17 | After 2 [no-match] | semmle.label | no-match | +| patterns.cs:130:17:130:17 | After 2 [match] | patterns.cs:130:13:130:18 | After ( ... ) [match] | semmle.label | match | +| patterns.cs:130:17:130:17 | After 2 [no-match] | patterns.cs:130:13:130:18 | After ( ... ) [no-match] | semmle.label | no-match | | patterns.cs:130:23:130:23 | 2 | patterns.cs:126:17:132:9 | After ... switch { ... } | semmle.label | successor | -| patterns.cs:131:13:131:22 | (..., ...) | patterns.cs:131:13:131:22 | After (..., ...) [match] | semmle.label | match | | patterns.cs:131:13:131:22 | (..., ...) | patterns.cs:131:13:131:22 | After (..., ...) [no-match] | semmle.label | no-match | +| patterns.cs:131:13:131:22 | (..., ...) | patterns.cs:131:13:131:22 | [OuterPatternMatch] (..., ...) | semmle.label | match | | patterns.cs:131:13:131:22 | After (..., ...) [match] | patterns.cs:131:13:131:27 | After ... => ... [match] | semmle.label | match | | patterns.cs:131:13:131:22 | After (..., ...) [no-match] | patterns.cs:131:13:131:27 | After ... => ... [no-match] | semmle.label | no-match | -| patterns.cs:131:13:131:22 | Before (..., ...) | patterns.cs:131:18:131:18 | Before Int32 x | semmle.label | successor | -| patterns.cs:131:13:131:27 | ... => ... | patterns.cs:131:13:131:22 | Before (..., ...) | semmle.label | successor | +| patterns.cs:131:13:131:22 | [OuterPatternMatch] (..., ...) | patterns.cs:131:18:131:18 | Int32 x | semmle.label | successor | +| patterns.cs:131:13:131:27 | ... => ... | patterns.cs:131:13:131:22 | (..., ...) | semmle.label | successor | | patterns.cs:131:13:131:27 | After ... => ... [match] | patterns.cs:131:27:131:27 | 3 | semmle.label | successor | | patterns.cs:131:13:131:27 | After ... => ... [no-match] | patterns.cs:126:17:132:9 | After ... switch { ... } | semmle.label | successor | -| patterns.cs:131:18:131:18 | After Int32 x | patterns.cs:131:21:131:21 | _ | semmle.label | successor | -| patterns.cs:131:18:131:18 | Before Int32 x | patterns.cs:131:18:131:18 | access to local variable x | semmle.label | successor | -| patterns.cs:131:18:131:18 | Int32 x | patterns.cs:131:18:131:18 | After Int32 x | semmle.label | successor | -| patterns.cs:131:18:131:18 | access to local variable x | patterns.cs:131:18:131:18 | Int32 x | semmle.label | successor | -| patterns.cs:131:21:131:21 | _ | patterns.cs:131:13:131:22 | (..., ...) | semmle.label | successor | +| patterns.cs:131:18:131:18 | After Int32 x [match] | patterns.cs:131:21:131:21 | _ | semmle.label | successor | +| patterns.cs:131:18:131:18 | After access to local variable x [match] | patterns.cs:131:18:131:18 | After Int32 x [match] | semmle.label | match | +| patterns.cs:131:18:131:18 | Int32 x | patterns.cs:131:18:131:18 | [OuterPatternMatch] Int32 x | semmle.label | match | +| patterns.cs:131:18:131:18 | [OuterPatternMatch] Int32 x | patterns.cs:131:18:131:18 | access to local variable x | semmle.label | successor | +| patterns.cs:131:18:131:18 | access to local variable x | patterns.cs:131:18:131:18 | After access to local variable x [match] | semmle.label | match | +| patterns.cs:131:21:131:21 | After _ [match] | patterns.cs:131:13:131:22 | After (..., ...) [match] | semmle.label | match | +| patterns.cs:131:21:131:21 | _ | patterns.cs:131:21:131:21 | After _ [match] | semmle.label | match | | patterns.cs:131:27:131:27 | 3 | patterns.cs:126:17:132:9 | After ... switch { ... } | semmle.label | successor | | patterns.cs:134:9:148:9 | After try {...} ... | patterns.cs:124:5:149:5 | After {...} | semmle.label | successor | | patterns.cs:134:9:148:9 | try {...} ... | patterns.cs:135:9:144:9 | {...} | semmle.label | successor | @@ -326,23 +370,24 @@ | patterns.cs:139:22:139:22 | 3 | patterns.cs:136:17:143:13 | After ... switch { ... } | semmle.label | successor | | patterns.cs:140:17:140:24 | After Object y [match] | patterns.cs:140:17:140:42 | After ... => ... [match] | semmle.label | match | | patterns.cs:140:17:140:24 | After Object y [no-match] | patterns.cs:140:17:140:42 | After ... => ... [no-match] | semmle.label | no-match | -| patterns.cs:140:17:140:24 | Before Object y | patterns.cs:140:24:140:24 | access to local variable y | semmle.label | successor | -| patterns.cs:140:17:140:24 | Object y | patterns.cs:140:17:140:24 | After Object y [match] | semmle.label | match | | patterns.cs:140:17:140:24 | Object y | patterns.cs:140:17:140:24 | After Object y [no-match] | semmle.label | no-match | -| patterns.cs:140:17:140:42 | ... => ... | patterns.cs:140:17:140:24 | Before Object y | semmle.label | successor | -| patterns.cs:140:17:140:42 | After ... => ... [match] | patterns.cs:140:31:140:37 | Before ... is ... | semmle.label | successor | +| patterns.cs:140:17:140:24 | Object y | patterns.cs:140:17:140:24 | [OuterPatternMatch] Object y | semmle.label | match | +| patterns.cs:140:17:140:24 | [OuterPatternMatch] Object y | patterns.cs:140:24:140:24 | access to local variable y | semmle.label | successor | +| patterns.cs:140:17:140:42 | ... => ... | patterns.cs:140:17:140:24 | Object y | semmle.label | successor | +| patterns.cs:140:17:140:42 | After ... => ... [match] | patterns.cs:140:31:140:37 | ... is ... | semmle.label | successor | | patterns.cs:140:17:140:42 | After ... => ... [no-match] | patterns.cs:141:17:141:29 | ... => ... | semmle.label | successor | -| patterns.cs:140:24:140:24 | access to local variable y | patterns.cs:140:17:140:24 | Object y | semmle.label | successor | -| patterns.cs:140:31:140:31 | access to local variable y | patterns.cs:140:31:140:37 | ... is ... | semmle.label | successor | -| patterns.cs:140:31:140:37 | ... is ... | patterns.cs:140:31:140:37 | After ... is ... [false] | semmle.label | false | -| patterns.cs:140:31:140:37 | ... is ... | patterns.cs:140:31:140:37 | [MatchTrue] ... is ... | semmle.label | true | +| patterns.cs:140:24:140:24 | After access to local variable y [match] | patterns.cs:140:17:140:24 | After Object y [match] | semmle.label | match | +| patterns.cs:140:24:140:24 | access to local variable y | patterns.cs:140:24:140:24 | After access to local variable y [match] | semmle.label | match | +| patterns.cs:140:31:140:31 | access to local variable y | patterns.cs:140:36:140:37 | { ... } | semmle.label | successor | +| patterns.cs:140:31:140:37 | ... is ... | patterns.cs:140:31:140:31 | access to local variable y | semmle.label | successor | | patterns.cs:140:31:140:37 | After ... is ... [false] | patterns.cs:141:17:141:29 | ... => ... | semmle.label | successor | | patterns.cs:140:31:140:37 | After ... is ... [true] | patterns.cs:140:42:140:42 | 4 | semmle.label | successor | -| patterns.cs:140:31:140:37 | Before ... is ... | patterns.cs:140:31:140:31 | access to local variable y | semmle.label | successor | -| patterns.cs:140:31:140:37 | [MatchTrue] ... is ... | patterns.cs:140:36:140:37 | Before { ... } | semmle.label | successor | -| patterns.cs:140:36:140:37 | After { ... } | patterns.cs:140:31:140:37 | After ... is ... [true] | semmle.label | true | -| patterns.cs:140:36:140:37 | Before { ... } | patterns.cs:140:36:140:37 | { ... } | semmle.label | successor | -| patterns.cs:140:36:140:37 | { ... } | patterns.cs:140:36:140:37 | After { ... } | semmle.label | successor | +| patterns.cs:140:36:140:37 | After { ... } [match] | patterns.cs:140:31:140:37 | After ... is ... [true] | semmle.label | true | +| patterns.cs:140:36:140:37 | After { ... } [match] | patterns.cs:140:36:140:37 | After { ... } [match] | semmle.label | match | +| patterns.cs:140:36:140:37 | After { ... } [no-match] | patterns.cs:140:31:140:37 | After ... is ... [false] | semmle.label | false | +| patterns.cs:140:36:140:37 | After { ... } [no-match] | patterns.cs:140:36:140:37 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:140:36:140:37 | { ... } | patterns.cs:140:36:140:37 | After { ... } [match] | semmle.label | match | +| patterns.cs:140:36:140:37 | { ... } | patterns.cs:140:36:140:37 | After { ... } [no-match] | semmle.label | no-match | | patterns.cs:140:36:140:37 | { ... } | patterns.cs:140:36:140:37 | { ... } | semmle.label | successor | | patterns.cs:140:42:140:42 | 4 | patterns.cs:136:17:143:13 | After ... switch { ... } | semmle.label | successor | | patterns.cs:141:17:141:22 | After access to type String [match] | patterns.cs:141:17:141:29 | After ... => ... [match] | semmle.label | match | @@ -353,19 +398,25 @@ | patterns.cs:141:17:141:29 | After ... => ... [match] | patterns.cs:141:29:141:29 | 5 | semmle.label | successor | | patterns.cs:141:17:141:29 | After ... => ... [no-match] | patterns.cs:142:17:142:41 | ... => ... | semmle.label | successor | | patterns.cs:141:29:141:29 | 5 | patterns.cs:136:17:143:13 | After ... switch { ... } | semmle.label | successor | -| patterns.cs:142:17:142:24 | access to type MyStruct | patterns.cs:142:26:142:34 | Before { ... } | semmle.label | successor | +| patterns.cs:142:17:142:24 | After access to type MyStruct [match] | patterns.cs:142:26:142:34 | { ... } | semmle.label | successor | +| patterns.cs:142:17:142:24 | After access to type MyStruct [no-match] | patterns.cs:142:17:142:36 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:142:17:142:24 | access to type MyStruct | patterns.cs:142:17:142:24 | After access to type MyStruct [match] | semmle.label | match | +| patterns.cs:142:17:142:24 | access to type MyStruct | patterns.cs:142:17:142:24 | After access to type MyStruct [no-match] | semmle.label | no-match | | patterns.cs:142:17:142:36 | After { ... } [match] | patterns.cs:142:17:142:41 | After ... => ... [match] | semmle.label | match | | patterns.cs:142:17:142:36 | After { ... } [no-match] | patterns.cs:142:17:142:41 | After ... => ... [no-match] | semmle.label | no-match | -| patterns.cs:142:17:142:36 | Before { ... } | patterns.cs:142:17:142:24 | access to type MyStruct | semmle.label | successor | -| patterns.cs:142:17:142:36 | { ... } | patterns.cs:142:17:142:36 | After { ... } [match] | semmle.label | match | -| patterns.cs:142:17:142:36 | { ... } | patterns.cs:142:17:142:36 | After { ... } [no-match] | semmle.label | no-match | -| patterns.cs:142:17:142:41 | ... => ... | patterns.cs:142:17:142:36 | Before { ... } | semmle.label | successor | +| patterns.cs:142:17:142:36 | { ... } | patterns.cs:142:17:142:24 | access to type MyStruct | semmle.label | successor | +| patterns.cs:142:17:142:41 | ... => ... | patterns.cs:142:17:142:36 | { ... } | semmle.label | successor | | patterns.cs:142:17:142:41 | After ... => ... [match] | patterns.cs:142:41:142:41 | 6 | semmle.label | successor | | patterns.cs:142:17:142:41 | After ... => ... [no-match] | patterns.cs:136:17:143:13 | After ... switch { ... } | semmle.label | successor | -| patterns.cs:142:26:142:34 | After { ... } | patterns.cs:142:17:142:36 | { ... } | semmle.label | successor | -| patterns.cs:142:26:142:34 | Before { ... } | patterns.cs:142:31:142:32 | 10 | semmle.label | successor | -| patterns.cs:142:26:142:34 | { ... } | patterns.cs:142:26:142:34 | After { ... } | semmle.label | successor | -| patterns.cs:142:31:142:32 | 10 | patterns.cs:142:26:142:34 | { ... } | semmle.label | successor | +| patterns.cs:142:26:142:34 | After { ... } [match] | patterns.cs:142:17:142:36 | After { ... } [match] | semmle.label | match | +| patterns.cs:142:26:142:34 | After { ... } [no-match] | patterns.cs:142:17:142:36 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:142:26:142:34 | [OuterPatternMatch] { ... } | patterns.cs:142:31:142:32 | 10 | semmle.label | successor | +| patterns.cs:142:26:142:34 | { ... } | patterns.cs:142:26:142:34 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:142:26:142:34 | { ... } | patterns.cs:142:26:142:34 | [OuterPatternMatch] { ... } | semmle.label | match | +| patterns.cs:142:31:142:32 | 10 | patterns.cs:142:31:142:32 | After 10 [match] | semmle.label | match | +| patterns.cs:142:31:142:32 | 10 | patterns.cs:142:31:142:32 | After 10 [no-match] | semmle.label | no-match | +| patterns.cs:142:31:142:32 | After 10 [match] | patterns.cs:142:26:142:34 | After { ... } [match] | semmle.label | match | +| patterns.cs:142:31:142:32 | After 10 [no-match] | patterns.cs:142:26:142:34 | After { ... } [no-match] | semmle.label | no-match | | patterns.cs:142:41:142:41 | 6 | patterns.cs:136:17:143:13 | After ... switch { ... } | semmle.label | successor | | patterns.cs:145:9:148:9 | After catch (...) {...} [no-match] | patterns.cs:123:10:123:21 | Exceptional Exit | semmle.label | exception | | patterns.cs:145:9:148:9 | catch (...) {...} | patterns.cs:145:41:145:42 | Before InvalidOperationException ex | semmle.label | successor | diff --git a/csharp/ql/test/library-tests/csharp8/switchstmtctrlflow.expected b/csharp/ql/test/library-tests/csharp8/switchstmtctrlflow.expected index 0492594663c8..0b9bc3009250 100644 --- a/csharp/ql/test/library-tests/csharp8/switchstmtctrlflow.expected +++ b/csharp/ql/test/library-tests/csharp8/switchstmtctrlflow.expected @@ -24,13 +24,14 @@ | patterns.cs:36:17:36:17 | access to local variable s | patterns.cs:38:13:38:47 | case ...: | semmle.label | successor | | patterns.cs:38:13:38:47 | After case ...: [match] | patterns.cs:38:36:38:46 | Before ... == ... | semmle.label | successor | | patterns.cs:38:13:38:47 | After case ...: [no-match] | patterns.cs:41:13:41:46 | case ...: | semmle.label | successor | -| patterns.cs:38:13:38:47 | case ...: | patterns.cs:38:18:38:29 | Before MyStruct ms1 | semmle.label | successor | +| patterns.cs:38:13:38:47 | case ...: | patterns.cs:38:18:38:29 | MyStruct ms1 | semmle.label | successor | | patterns.cs:38:18:38:29 | After MyStruct ms1 [match] | patterns.cs:38:13:38:47 | After case ...: [match] | semmle.label | match | | patterns.cs:38:18:38:29 | After MyStruct ms1 [no-match] | patterns.cs:38:13:38:47 | After case ...: [no-match] | semmle.label | no-match | -| patterns.cs:38:18:38:29 | Before MyStruct ms1 | patterns.cs:38:27:38:29 | access to local variable ms1 | semmle.label | successor | -| patterns.cs:38:18:38:29 | MyStruct ms1 | patterns.cs:38:18:38:29 | After MyStruct ms1 [match] | semmle.label | match | | patterns.cs:38:18:38:29 | MyStruct ms1 | patterns.cs:38:18:38:29 | After MyStruct ms1 [no-match] | semmle.label | no-match | -| patterns.cs:38:27:38:29 | access to local variable ms1 | patterns.cs:38:18:38:29 | MyStruct ms1 | semmle.label | successor | +| patterns.cs:38:18:38:29 | MyStruct ms1 | patterns.cs:38:18:38:29 | [OuterPatternMatch] MyStruct ms1 | semmle.label | match | +| patterns.cs:38:18:38:29 | [OuterPatternMatch] MyStruct ms1 | patterns.cs:38:27:38:29 | access to local variable ms1 | semmle.label | successor | +| patterns.cs:38:27:38:29 | After access to local variable ms1 [match] | patterns.cs:38:18:38:29 | After MyStruct ms1 [match] | semmle.label | match | +| patterns.cs:38:27:38:29 | access to local variable ms1 | patterns.cs:38:27:38:29 | After access to local variable ms1 [match] | semmle.label | match | | patterns.cs:38:36:38:38 | access to local variable ms1 | patterns.cs:38:36:38:40 | access to field X | semmle.label | successor | | patterns.cs:38:36:38:40 | After access to field X | patterns.cs:38:45:38:46 | 10 | semmle.label | successor | | patterns.cs:38:36:38:40 | Before access to field X | patterns.cs:38:36:38:38 | access to local variable ms1 | semmle.label | successor | @@ -51,13 +52,14 @@ | patterns.cs:40:17:40:22 | break; | patterns.cs:36:9:44:9 | After switch (...) {...} | semmle.label | break | | patterns.cs:41:13:41:46 | After case ...: [match] | patterns.cs:41:36:41:45 | Before ... < ... | semmle.label | successor | | patterns.cs:41:13:41:46 | After case ...: [no-match] | patterns.cs:36:9:44:9 | After switch (...) {...} | semmle.label | successor | -| patterns.cs:41:13:41:46 | case ...: | patterns.cs:41:18:41:29 | Before MyStruct ms2 | semmle.label | successor | +| patterns.cs:41:13:41:46 | case ...: | patterns.cs:41:18:41:29 | MyStruct ms2 | semmle.label | successor | | patterns.cs:41:18:41:29 | After MyStruct ms2 [match] | patterns.cs:41:13:41:46 | After case ...: [match] | semmle.label | match | | patterns.cs:41:18:41:29 | After MyStruct ms2 [no-match] | patterns.cs:41:13:41:46 | After case ...: [no-match] | semmle.label | no-match | -| patterns.cs:41:18:41:29 | Before MyStruct ms2 | patterns.cs:41:27:41:29 | access to local variable ms2 | semmle.label | successor | -| patterns.cs:41:18:41:29 | MyStruct ms2 | patterns.cs:41:18:41:29 | After MyStruct ms2 [match] | semmle.label | match | | patterns.cs:41:18:41:29 | MyStruct ms2 | patterns.cs:41:18:41:29 | After MyStruct ms2 [no-match] | semmle.label | no-match | -| patterns.cs:41:27:41:29 | access to local variable ms2 | patterns.cs:41:18:41:29 | MyStruct ms2 | semmle.label | successor | +| patterns.cs:41:18:41:29 | MyStruct ms2 | patterns.cs:41:18:41:29 | [OuterPatternMatch] MyStruct ms2 | semmle.label | match | +| patterns.cs:41:18:41:29 | [OuterPatternMatch] MyStruct ms2 | patterns.cs:41:27:41:29 | access to local variable ms2 | semmle.label | successor | +| patterns.cs:41:27:41:29 | After access to local variable ms2 [match] | patterns.cs:41:18:41:29 | After MyStruct ms2 [match] | semmle.label | match | +| patterns.cs:41:27:41:29 | access to local variable ms2 | patterns.cs:41:27:41:29 | After access to local variable ms2 [match] | semmle.label | match | | patterns.cs:41:36:41:38 | access to local variable ms2 | patterns.cs:41:36:41:40 | access to field X | semmle.label | successor | | patterns.cs:41:36:41:40 | After access to field X | patterns.cs:41:44:41:45 | 10 | semmle.label | successor | | patterns.cs:41:36:41:40 | Before access to field X | patterns.cs:41:36:41:38 | access to local variable ms2 | semmle.label | successor | @@ -81,20 +83,26 @@ | patterns.cs:46:17:46:17 | access to local variable s | patterns.cs:48:13:48:50 | case ...: | semmle.label | successor | | patterns.cs:48:13:48:50 | After case ...: [match] | patterns.cs:48:45:48:49 | Before ... > ... | semmle.label | successor | | patterns.cs:48:13:48:50 | After case ...: [no-match] | patterns.cs:51:13:51:39 | case ...: | semmle.label | successor | -| patterns.cs:48:13:48:50 | case ...: | patterns.cs:48:18:48:38 | Before { ... } | semmle.label | successor | -| patterns.cs:48:18:48:25 | access to type MyStruct | patterns.cs:48:27:48:38 | Before { ... } | semmle.label | successor | +| patterns.cs:48:13:48:50 | case ...: | patterns.cs:48:18:48:38 | { ... } | semmle.label | successor | +| patterns.cs:48:18:48:25 | After access to type MyStruct [match] | patterns.cs:48:27:48:38 | { ... } | semmle.label | successor | +| patterns.cs:48:18:48:25 | After access to type MyStruct [no-match] | patterns.cs:48:18:48:38 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:48:18:48:25 | access to type MyStruct | patterns.cs:48:18:48:25 | After access to type MyStruct [match] | semmle.label | match | +| patterns.cs:48:18:48:25 | access to type MyStruct | patterns.cs:48:18:48:25 | After access to type MyStruct [no-match] | semmle.label | no-match | | patterns.cs:48:18:48:38 | After { ... } [match] | patterns.cs:48:13:48:50 | After case ...: [match] | semmle.label | match | | patterns.cs:48:18:48:38 | After { ... } [no-match] | patterns.cs:48:13:48:50 | After case ...: [no-match] | semmle.label | no-match | -| patterns.cs:48:18:48:38 | Before { ... } | patterns.cs:48:18:48:25 | access to type MyStruct | semmle.label | successor | -| patterns.cs:48:18:48:38 | { ... } | patterns.cs:48:18:48:38 | After { ... } [match] | semmle.label | match | -| patterns.cs:48:18:48:38 | { ... } | patterns.cs:48:18:48:38 | After { ... } [no-match] | semmle.label | no-match | -| patterns.cs:48:27:48:38 | After { ... } | patterns.cs:48:18:48:38 | { ... } | semmle.label | successor | -| patterns.cs:48:27:48:38 | Before { ... } | patterns.cs:48:32:48:36 | Before Int32 x | semmle.label | successor | -| patterns.cs:48:27:48:38 | { ... } | patterns.cs:48:27:48:38 | After { ... } | semmle.label | successor | -| patterns.cs:48:32:48:36 | After Int32 x | patterns.cs:48:27:48:38 | { ... } | semmle.label | successor | -| patterns.cs:48:32:48:36 | Before Int32 x | patterns.cs:48:36:48:36 | access to local variable x | semmle.label | successor | -| patterns.cs:48:32:48:36 | Int32 x | patterns.cs:48:32:48:36 | After Int32 x | semmle.label | successor | -| patterns.cs:48:36:48:36 | access to local variable x | patterns.cs:48:32:48:36 | Int32 x | semmle.label | successor | +| patterns.cs:48:18:48:38 | { ... } | patterns.cs:48:18:48:25 | access to type MyStruct | semmle.label | successor | +| patterns.cs:48:27:48:38 | After { ... } [match] | patterns.cs:48:18:48:38 | After { ... } [match] | semmle.label | match | +| patterns.cs:48:27:48:38 | After { ... } [no-match] | patterns.cs:48:18:48:38 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:48:27:48:38 | [OuterPatternMatch] { ... } | patterns.cs:48:32:48:36 | Int32 x | semmle.label | successor | +| patterns.cs:48:27:48:38 | { ... } | patterns.cs:48:27:48:38 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:48:27:48:38 | { ... } | patterns.cs:48:27:48:38 | [OuterPatternMatch] { ... } | semmle.label | match | +| patterns.cs:48:32:48:36 | After Int32 x [match] | patterns.cs:48:27:48:38 | After { ... } [match] | semmle.label | match | +| patterns.cs:48:32:48:36 | After Int32 x [no-match] | patterns.cs:48:27:48:38 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:48:32:48:36 | Int32 x | patterns.cs:48:32:48:36 | After Int32 x [no-match] | semmle.label | no-match | +| patterns.cs:48:32:48:36 | Int32 x | patterns.cs:48:32:48:36 | [OuterPatternMatch] Int32 x | semmle.label | match | +| patterns.cs:48:32:48:36 | [OuterPatternMatch] Int32 x | patterns.cs:48:36:48:36 | access to local variable x | semmle.label | successor | +| patterns.cs:48:36:48:36 | After access to local variable x [match] | patterns.cs:48:32:48:36 | After Int32 x [match] | semmle.label | match | +| patterns.cs:48:36:48:36 | access to local variable x | patterns.cs:48:36:48:36 | After access to local variable x [match] | semmle.label | match | | patterns.cs:48:45:48:45 | access to local variable x | patterns.cs:48:49:48:49 | 2 | semmle.label | successor | | patterns.cs:48:45:48:49 | ... > ... | patterns.cs:48:45:48:49 | After ... > ... [false] | semmle.label | false | | patterns.cs:48:45:48:49 | ... > ... | patterns.cs:48:45:48:49 | After ... > ... [true] | semmle.label | true | @@ -112,21 +120,28 @@ | patterns.cs:50:17:50:22 | break; | patterns.cs:46:9:63:9 | After switch (...) {...} | semmle.label | break | | patterns.cs:51:13:51:39 | After case ...: [match] | patterns.cs:52:17:52:56 | ...; | semmle.label | successor | | patterns.cs:51:13:51:39 | After case ...: [no-match] | patterns.cs:54:13:54:43 | case ...: | semmle.label | successor | -| patterns.cs:51:13:51:39 | case ...: | patterns.cs:51:18:51:38 | Before { ... } | semmle.label | successor | -| patterns.cs:51:18:51:25 | access to type MyStruct | patterns.cs:51:27:51:35 | Before { ... } | semmle.label | successor | -| patterns.cs:51:18:51:38 | After MyStruct ms | patterns.cs:51:18:51:25 | access to type MyStruct | semmle.label | successor | +| patterns.cs:51:13:51:39 | case ...: | patterns.cs:51:18:51:38 | { ... } | semmle.label | successor | +| patterns.cs:51:18:51:25 | After access to type MyStruct [match] | patterns.cs:51:27:51:35 | { ... } | semmle.label | successor | +| patterns.cs:51:18:51:25 | After access to type MyStruct [no-match] | patterns.cs:51:18:51:38 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:51:18:51:25 | access to type MyStruct | patterns.cs:51:18:51:25 | After access to type MyStruct [match] | semmle.label | match | +| patterns.cs:51:18:51:25 | access to type MyStruct | patterns.cs:51:18:51:25 | After access to type MyStruct [no-match] | semmle.label | no-match | +| patterns.cs:51:18:51:38 | After MyStruct ms [match] | patterns.cs:51:18:51:38 | After { ... } [match] | semmle.label | match | | patterns.cs:51:18:51:38 | After { ... } [match] | patterns.cs:51:13:51:39 | After case ...: [match] | semmle.label | match | | patterns.cs:51:18:51:38 | After { ... } [no-match] | patterns.cs:51:13:51:39 | After case ...: [no-match] | semmle.label | no-match | -| patterns.cs:51:18:51:38 | Before MyStruct ms | patterns.cs:51:37:51:38 | access to local variable ms | semmle.label | successor | -| patterns.cs:51:18:51:38 | Before { ... } | patterns.cs:51:18:51:38 | Before MyStruct ms | semmle.label | successor | -| patterns.cs:51:18:51:38 | MyStruct ms | patterns.cs:51:18:51:38 | After MyStruct ms | semmle.label | successor | -| patterns.cs:51:18:51:38 | { ... } | patterns.cs:51:18:51:38 | After { ... } [match] | semmle.label | match | -| patterns.cs:51:18:51:38 | { ... } | patterns.cs:51:18:51:38 | After { ... } [no-match] | semmle.label | no-match | -| patterns.cs:51:27:51:35 | After { ... } | patterns.cs:51:18:51:38 | { ... } | semmle.label | successor | -| patterns.cs:51:27:51:35 | Before { ... } | patterns.cs:51:32:51:33 | 10 | semmle.label | successor | -| patterns.cs:51:27:51:35 | { ... } | patterns.cs:51:27:51:35 | After { ... } | semmle.label | successor | -| patterns.cs:51:32:51:33 | 10 | patterns.cs:51:27:51:35 | { ... } | semmle.label | successor | -| patterns.cs:51:37:51:38 | access to local variable ms | patterns.cs:51:18:51:38 | MyStruct ms | semmle.label | successor | +| patterns.cs:51:18:51:38 | MyStruct ms | patterns.cs:51:18:51:38 | [OuterPatternMatch] MyStruct ms | semmle.label | match | +| patterns.cs:51:18:51:38 | [OuterPatternMatch] MyStruct ms | patterns.cs:51:37:51:38 | access to local variable ms | semmle.label | successor | +| patterns.cs:51:18:51:38 | { ... } | patterns.cs:51:18:51:25 | access to type MyStruct | semmle.label | successor | +| patterns.cs:51:27:51:35 | After { ... } [match] | patterns.cs:51:18:51:38 | MyStruct ms | semmle.label | successor | +| patterns.cs:51:27:51:35 | After { ... } [no-match] | patterns.cs:51:18:51:38 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:51:27:51:35 | [OuterPatternMatch] { ... } | patterns.cs:51:32:51:33 | 10 | semmle.label | successor | +| patterns.cs:51:27:51:35 | { ... } | patterns.cs:51:27:51:35 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:51:27:51:35 | { ... } | patterns.cs:51:27:51:35 | [OuterPatternMatch] { ... } | semmle.label | match | +| patterns.cs:51:32:51:33 | 10 | patterns.cs:51:32:51:33 | After 10 [match] | semmle.label | match | +| patterns.cs:51:32:51:33 | 10 | patterns.cs:51:32:51:33 | After 10 [no-match] | semmle.label | no-match | +| patterns.cs:51:32:51:33 | After 10 [match] | patterns.cs:51:27:51:35 | After { ... } [match] | semmle.label | match | +| patterns.cs:51:32:51:33 | After 10 [no-match] | patterns.cs:51:27:51:35 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:51:37:51:38 | After access to local variable ms [match] | patterns.cs:51:18:51:38 | After MyStruct ms [match] | semmle.label | match | +| patterns.cs:51:37:51:38 | access to local variable ms | patterns.cs:51:37:51:38 | After access to local variable ms [match] | semmle.label | match | | patterns.cs:52:17:52:55 | After call to method WriteLine | patterns.cs:52:17:52:56 | After ...; | semmle.label | successor | | patterns.cs:52:17:52:55 | Before call to method WriteLine | patterns.cs:52:35:52:54 | "Hit the breakpoint" | semmle.label | successor | | patterns.cs:52:17:52:55 | call to method WriteLine | patterns.cs:52:17:52:55 | After call to method WriteLine | semmle.label | successor | @@ -137,19 +152,22 @@ | patterns.cs:53:17:53:22 | break; | patterns.cs:46:9:63:9 | After switch (...) {...} | semmle.label | break | | patterns.cs:54:13:54:43 | After case ...: [match] | patterns.cs:54:37:54:42 | Before ... > ... | semmle.label | successor | | patterns.cs:54:13:54:43 | After case ...: [no-match] | patterns.cs:57:13:57:24 | case ...: | semmle.label | successor | -| patterns.cs:54:13:54:43 | case ...: | patterns.cs:54:18:54:30 | Before { ... } | semmle.label | successor | -| patterns.cs:54:18:54:30 | After { ... } | patterns.cs:54:18:54:30 | { ... } | semmle.label | successor | +| patterns.cs:54:13:54:43 | case ...: | patterns.cs:54:18:54:30 | { ... } | semmle.label | successor | | patterns.cs:54:18:54:30 | After { ... } [match] | patterns.cs:54:13:54:43 | After case ...: [match] | semmle.label | match | +| patterns.cs:54:18:54:30 | After { ... } [match] | patterns.cs:54:18:54:30 | After { ... } [match] | semmle.label | match | | patterns.cs:54:18:54:30 | After { ... } [no-match] | patterns.cs:54:13:54:43 | After case ...: [no-match] | semmle.label | no-match | -| patterns.cs:54:18:54:30 | Before { ... } | patterns.cs:54:18:54:30 | Before { ... } | semmle.label | successor | -| patterns.cs:54:18:54:30 | Before { ... } | patterns.cs:54:23:54:28 | Before Int32 x2 | semmle.label | successor | -| patterns.cs:54:18:54:30 | { ... } | patterns.cs:54:18:54:30 | After { ... } | semmle.label | successor | -| patterns.cs:54:18:54:30 | { ... } | patterns.cs:54:18:54:30 | After { ... } [match] | semmle.label | match | +| patterns.cs:54:18:54:30 | After { ... } [no-match] | patterns.cs:54:18:54:30 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:54:18:54:30 | [OuterPatternMatch] { ... } | patterns.cs:54:23:54:28 | Int32 x2 | semmle.label | successor | | patterns.cs:54:18:54:30 | { ... } | patterns.cs:54:18:54:30 | After { ... } [no-match] | semmle.label | no-match | -| patterns.cs:54:23:54:28 | After Int32 x2 | patterns.cs:54:18:54:30 | { ... } | semmle.label | successor | -| patterns.cs:54:23:54:28 | Before Int32 x2 | patterns.cs:54:27:54:28 | access to local variable x2 | semmle.label | successor | -| patterns.cs:54:23:54:28 | Int32 x2 | patterns.cs:54:23:54:28 | After Int32 x2 | semmle.label | successor | -| patterns.cs:54:27:54:28 | access to local variable x2 | patterns.cs:54:23:54:28 | Int32 x2 | semmle.label | successor | +| patterns.cs:54:18:54:30 | { ... } | patterns.cs:54:18:54:30 | [OuterPatternMatch] { ... } | semmle.label | match | +| patterns.cs:54:18:54:30 | { ... } | patterns.cs:54:18:54:30 | { ... } | semmle.label | successor | +| patterns.cs:54:23:54:28 | After Int32 x2 [match] | patterns.cs:54:18:54:30 | After { ... } [match] | semmle.label | match | +| patterns.cs:54:23:54:28 | After Int32 x2 [no-match] | patterns.cs:54:18:54:30 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:54:23:54:28 | Int32 x2 | patterns.cs:54:23:54:28 | After Int32 x2 [no-match] | semmle.label | no-match | +| patterns.cs:54:23:54:28 | Int32 x2 | patterns.cs:54:23:54:28 | [OuterPatternMatch] Int32 x2 | semmle.label | match | +| patterns.cs:54:23:54:28 | [OuterPatternMatch] Int32 x2 | patterns.cs:54:27:54:28 | access to local variable x2 | semmle.label | successor | +| patterns.cs:54:27:54:28 | After access to local variable x2 [match] | patterns.cs:54:23:54:28 | After Int32 x2 [match] | semmle.label | match | +| patterns.cs:54:27:54:28 | access to local variable x2 | patterns.cs:54:27:54:28 | After access to local variable x2 [match] | semmle.label | match | | patterns.cs:54:37:54:38 | access to local variable x2 | patterns.cs:54:42:54:42 | 2 | semmle.label | successor | | patterns.cs:54:37:54:42 | ... > ... | patterns.cs:54:37:54:42 | After ... > ... [false] | semmle.label | false | | patterns.cs:54:37:54:42 | ... > ... | patterns.cs:54:37:54:42 | After ... > ... [true] | semmle.label | true | @@ -167,35 +185,43 @@ | patterns.cs:56:17:56:22 | break; | patterns.cs:46:9:63:9 | After switch (...) {...} | semmle.label | break | | patterns.cs:57:13:57:24 | After case ...: [match] | patterns.cs:58:17:58:22 | Before break; | semmle.label | successor | | patterns.cs:57:13:57:24 | After case ...: [no-match] | patterns.cs:59:13:59:28 | case ...: | semmle.label | successor | -| patterns.cs:57:13:57:24 | case ...: | patterns.cs:57:18:57:23 | Before { ... } | semmle.label | successor | -| patterns.cs:57:18:57:23 | ( ... ) | patterns.cs:57:18:57:23 | After ( ... ) | semmle.label | successor | -| patterns.cs:57:18:57:23 | After ( ... ) | patterns.cs:57:18:57:23 | { ... } | semmle.label | successor | +| patterns.cs:57:13:57:24 | case ...: | patterns.cs:57:18:57:23 | { ... } | semmle.label | successor | +| patterns.cs:57:18:57:23 | ( ... ) | patterns.cs:57:18:57:23 | After ( ... ) [no-match] | semmle.label | no-match | +| patterns.cs:57:18:57:23 | ( ... ) | patterns.cs:57:18:57:23 | [OuterPatternMatch] ( ... ) | semmle.label | match | +| patterns.cs:57:18:57:23 | After ( ... ) [match] | patterns.cs:57:18:57:23 | After { ... } [match] | semmle.label | match | +| patterns.cs:57:18:57:23 | After ( ... ) [no-match] | patterns.cs:57:18:57:23 | After { ... } [no-match] | semmle.label | no-match | | patterns.cs:57:18:57:23 | After { ... } [match] | patterns.cs:57:13:57:24 | After case ...: [match] | semmle.label | match | | patterns.cs:57:18:57:23 | After { ... } [no-match] | patterns.cs:57:13:57:24 | After case ...: [no-match] | semmle.label | no-match | -| patterns.cs:57:18:57:23 | Before ( ... ) | patterns.cs:57:19:57:19 | 1 | semmle.label | successor | -| patterns.cs:57:18:57:23 | Before { ... } | patterns.cs:57:18:57:23 | Before ( ... ) | semmle.label | successor | -| patterns.cs:57:18:57:23 | { ... } | patterns.cs:57:18:57:23 | After { ... } [match] | semmle.label | match | -| patterns.cs:57:18:57:23 | { ... } | patterns.cs:57:18:57:23 | After { ... } [no-match] | semmle.label | no-match | -| patterns.cs:57:19:57:19 | 1 | patterns.cs:57:22:57:22 | 2 | semmle.label | successor | -| patterns.cs:57:22:57:22 | 2 | patterns.cs:57:18:57:23 | ( ... ) | semmle.label | successor | +| patterns.cs:57:18:57:23 | [OuterPatternMatch] ( ... ) | patterns.cs:57:19:57:19 | 1 | semmle.label | successor | +| patterns.cs:57:18:57:23 | { ... } | patterns.cs:57:18:57:23 | ( ... ) | semmle.label | successor | +| patterns.cs:57:19:57:19 | 1 | patterns.cs:57:19:57:19 | After 1 [match] | semmle.label | match | +| patterns.cs:57:19:57:19 | 1 | patterns.cs:57:19:57:19 | After 1 [no-match] | semmle.label | no-match | +| patterns.cs:57:19:57:19 | After 1 [match] | patterns.cs:57:22:57:22 | 2 | semmle.label | successor | +| patterns.cs:57:19:57:19 | After 1 [no-match] | patterns.cs:57:18:57:23 | After ( ... ) [no-match] | semmle.label | no-match | +| patterns.cs:57:22:57:22 | 2 | patterns.cs:57:22:57:22 | After 2 [match] | semmle.label | match | +| patterns.cs:57:22:57:22 | 2 | patterns.cs:57:22:57:22 | After 2 [no-match] | semmle.label | no-match | +| patterns.cs:57:22:57:22 | After 2 [match] | patterns.cs:57:18:57:23 | After ( ... ) [match] | semmle.label | match | +| patterns.cs:57:22:57:22 | After 2 [no-match] | patterns.cs:57:18:57:23 | After ( ... ) [no-match] | semmle.label | no-match | | patterns.cs:58:17:58:22 | Before break; | patterns.cs:58:17:58:22 | break; | semmle.label | successor | | patterns.cs:58:17:58:22 | break; | patterns.cs:46:9:63:9 | After switch (...) {...} | semmle.label | break | | patterns.cs:59:13:59:28 | After case ...: [match] | patterns.cs:60:17:60:22 | Before break; | semmle.label | successor | | patterns.cs:59:13:59:28 | After case ...: [no-match] | patterns.cs:61:13:61:20 | default: | semmle.label | successor | -| patterns.cs:59:13:59:28 | case ...: | patterns.cs:59:18:59:27 | Before (..., ...) | semmle.label | successor | -| patterns.cs:59:18:59:27 | (..., ...) | patterns.cs:59:18:59:27 | After (..., ...) [match] | semmle.label | match | +| patterns.cs:59:13:59:28 | case ...: | patterns.cs:59:18:59:27 | (..., ...) | semmle.label | successor | | patterns.cs:59:18:59:27 | (..., ...) | patterns.cs:59:18:59:27 | After (..., ...) [no-match] | semmle.label | no-match | +| patterns.cs:59:18:59:27 | (..., ...) | patterns.cs:59:18:59:27 | [OuterPatternMatch] (..., ...) | semmle.label | match | | patterns.cs:59:18:59:27 | After (..., ...) [match] | patterns.cs:59:13:59:28 | After case ...: [match] | semmle.label | match | | patterns.cs:59:18:59:27 | After (..., ...) [no-match] | patterns.cs:59:13:59:28 | After case ...: [no-match] | semmle.label | no-match | -| patterns.cs:59:18:59:27 | Before (..., ...) | patterns.cs:59:23:59:23 | Before Int32 x | semmle.label | successor | -| patterns.cs:59:23:59:23 | After Int32 x | patterns.cs:59:26:59:26 | Before Int32 y | semmle.label | successor | -| patterns.cs:59:23:59:23 | Before Int32 x | patterns.cs:59:23:59:23 | access to local variable x | semmle.label | successor | -| patterns.cs:59:23:59:23 | Int32 x | patterns.cs:59:23:59:23 | After Int32 x | semmle.label | successor | -| patterns.cs:59:23:59:23 | access to local variable x | patterns.cs:59:23:59:23 | Int32 x | semmle.label | successor | -| patterns.cs:59:26:59:26 | After Int32 y | patterns.cs:59:18:59:27 | (..., ...) | semmle.label | successor | -| patterns.cs:59:26:59:26 | Before Int32 y | patterns.cs:59:26:59:26 | access to local variable y | semmle.label | successor | -| patterns.cs:59:26:59:26 | Int32 y | patterns.cs:59:26:59:26 | After Int32 y | semmle.label | successor | -| patterns.cs:59:26:59:26 | access to local variable y | patterns.cs:59:26:59:26 | Int32 y | semmle.label | successor | +| patterns.cs:59:18:59:27 | [OuterPatternMatch] (..., ...) | patterns.cs:59:23:59:23 | Int32 x | semmle.label | successor | +| patterns.cs:59:23:59:23 | After Int32 x [match] | patterns.cs:59:26:59:26 | Int32 y | semmle.label | successor | +| patterns.cs:59:23:59:23 | After access to local variable x [match] | patterns.cs:59:23:59:23 | After Int32 x [match] | semmle.label | match | +| patterns.cs:59:23:59:23 | Int32 x | patterns.cs:59:23:59:23 | [OuterPatternMatch] Int32 x | semmle.label | match | +| patterns.cs:59:23:59:23 | [OuterPatternMatch] Int32 x | patterns.cs:59:23:59:23 | access to local variable x | semmle.label | successor | +| patterns.cs:59:23:59:23 | access to local variable x | patterns.cs:59:23:59:23 | After access to local variable x [match] | semmle.label | match | +| patterns.cs:59:26:59:26 | After Int32 y [match] | patterns.cs:59:18:59:27 | After (..., ...) [match] | semmle.label | match | +| patterns.cs:59:26:59:26 | After access to local variable y [match] | patterns.cs:59:26:59:26 | After Int32 y [match] | semmle.label | match | +| patterns.cs:59:26:59:26 | Int32 y | patterns.cs:59:26:59:26 | [OuterPatternMatch] Int32 y | semmle.label | match | +| patterns.cs:59:26:59:26 | [OuterPatternMatch] Int32 y | patterns.cs:59:26:59:26 | access to local variable y | semmle.label | successor | +| patterns.cs:59:26:59:26 | access to local variable y | patterns.cs:59:26:59:26 | After access to local variable y [match] | semmle.label | match | | patterns.cs:60:17:60:22 | Before break; | patterns.cs:60:17:60:22 | break; | semmle.label | successor | | patterns.cs:60:17:60:22 | break; | patterns.cs:46:9:63:9 | After switch (...) {...} | semmle.label | break | | patterns.cs:61:13:61:20 | After default: [match] | patterns.cs:62:17:62:22 | Before break; | semmle.label | successor | @@ -207,20 +233,26 @@ | patterns.cs:65:17:65:17 | access to local variable s | patterns.cs:67:13:67:50 | case ...: | semmle.label | successor | | patterns.cs:67:13:67:50 | After case ...: [match] | patterns.cs:67:45:67:49 | Before ... > ... | semmle.label | successor | | patterns.cs:67:13:67:50 | After case ...: [no-match] | patterns.cs:70:13:70:51 | case ...: | semmle.label | successor | -| patterns.cs:67:13:67:50 | case ...: | patterns.cs:67:18:67:38 | Before { ... } | semmle.label | successor | -| patterns.cs:67:18:67:25 | access to type MyStruct | patterns.cs:67:27:67:38 | Before { ... } | semmle.label | successor | +| patterns.cs:67:13:67:50 | case ...: | patterns.cs:67:18:67:38 | { ... } | semmle.label | successor | +| patterns.cs:67:18:67:25 | After access to type MyStruct [match] | patterns.cs:67:27:67:38 | { ... } | semmle.label | successor | +| patterns.cs:67:18:67:25 | After access to type MyStruct [no-match] | patterns.cs:67:18:67:38 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:67:18:67:25 | access to type MyStruct | patterns.cs:67:18:67:25 | After access to type MyStruct [match] | semmle.label | match | +| patterns.cs:67:18:67:25 | access to type MyStruct | patterns.cs:67:18:67:25 | After access to type MyStruct [no-match] | semmle.label | no-match | | patterns.cs:67:18:67:38 | After { ... } [match] | patterns.cs:67:13:67:50 | After case ...: [match] | semmle.label | match | | patterns.cs:67:18:67:38 | After { ... } [no-match] | patterns.cs:67:13:67:50 | After case ...: [no-match] | semmle.label | no-match | -| patterns.cs:67:18:67:38 | Before { ... } | patterns.cs:67:18:67:25 | access to type MyStruct | semmle.label | successor | -| patterns.cs:67:18:67:38 | { ... } | patterns.cs:67:18:67:38 | After { ... } [match] | semmle.label | match | -| patterns.cs:67:18:67:38 | { ... } | patterns.cs:67:18:67:38 | After { ... } [no-match] | semmle.label | no-match | -| patterns.cs:67:27:67:38 | After { ... } | patterns.cs:67:18:67:38 | { ... } | semmle.label | successor | -| patterns.cs:67:27:67:38 | Before { ... } | patterns.cs:67:32:67:36 | Before Int32 x | semmle.label | successor | -| patterns.cs:67:27:67:38 | { ... } | patterns.cs:67:27:67:38 | After { ... } | semmle.label | successor | -| patterns.cs:67:32:67:36 | After Int32 x | patterns.cs:67:27:67:38 | { ... } | semmle.label | successor | -| patterns.cs:67:32:67:36 | Before Int32 x | patterns.cs:67:36:67:36 | access to local variable x | semmle.label | successor | -| patterns.cs:67:32:67:36 | Int32 x | patterns.cs:67:32:67:36 | After Int32 x | semmle.label | successor | -| patterns.cs:67:36:67:36 | access to local variable x | patterns.cs:67:32:67:36 | Int32 x | semmle.label | successor | +| patterns.cs:67:18:67:38 | { ... } | patterns.cs:67:18:67:25 | access to type MyStruct | semmle.label | successor | +| patterns.cs:67:27:67:38 | After { ... } [match] | patterns.cs:67:18:67:38 | After { ... } [match] | semmle.label | match | +| patterns.cs:67:27:67:38 | After { ... } [no-match] | patterns.cs:67:18:67:38 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:67:27:67:38 | [OuterPatternMatch] { ... } | patterns.cs:67:32:67:36 | Int32 x | semmle.label | successor | +| patterns.cs:67:27:67:38 | { ... } | patterns.cs:67:27:67:38 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:67:27:67:38 | { ... } | patterns.cs:67:27:67:38 | [OuterPatternMatch] { ... } | semmle.label | match | +| patterns.cs:67:32:67:36 | After Int32 x [match] | patterns.cs:67:27:67:38 | After { ... } [match] | semmle.label | match | +| patterns.cs:67:32:67:36 | After Int32 x [no-match] | patterns.cs:67:27:67:38 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:67:32:67:36 | Int32 x | patterns.cs:67:32:67:36 | After Int32 x [no-match] | semmle.label | no-match | +| patterns.cs:67:32:67:36 | Int32 x | patterns.cs:67:32:67:36 | [OuterPatternMatch] Int32 x | semmle.label | match | +| patterns.cs:67:32:67:36 | [OuterPatternMatch] Int32 x | patterns.cs:67:36:67:36 | access to local variable x | semmle.label | successor | +| patterns.cs:67:36:67:36 | After access to local variable x [match] | patterns.cs:67:32:67:36 | After Int32 x [match] | semmle.label | match | +| patterns.cs:67:36:67:36 | access to local variable x | patterns.cs:67:36:67:36 | After access to local variable x [match] | semmle.label | match | | patterns.cs:67:45:67:45 | access to local variable x | patterns.cs:67:49:67:49 | 2 | semmle.label | successor | | patterns.cs:67:45:67:49 | ... > ... | patterns.cs:67:45:67:49 | After ... > ... [false] | semmle.label | false | | patterns.cs:67:45:67:49 | ... > ... | patterns.cs:67:45:67:49 | After ... > ... [true] | semmle.label | true | @@ -238,21 +270,28 @@ | patterns.cs:69:17:69:22 | break; | patterns.cs:65:9:73:9 | After switch (...) {...} | semmle.label | break | | patterns.cs:70:13:70:51 | After case ...: [match] | patterns.cs:70:45:70:50 | Before ... == ... | semmle.label | successor | | patterns.cs:70:13:70:51 | After case ...: [no-match] | patterns.cs:65:9:73:9 | After switch (...) {...} | semmle.label | successor | -| patterns.cs:70:13:70:51 | case ...: | patterns.cs:70:18:70:38 | Before { ... } | semmle.label | successor | -| patterns.cs:70:18:70:25 | access to type MyStruct | patterns.cs:70:27:70:35 | Before { ... } | semmle.label | successor | -| patterns.cs:70:18:70:38 | After MyStruct ms | patterns.cs:70:18:70:25 | access to type MyStruct | semmle.label | successor | +| patterns.cs:70:13:70:51 | case ...: | patterns.cs:70:18:70:38 | { ... } | semmle.label | successor | +| patterns.cs:70:18:70:25 | After access to type MyStruct [match] | patterns.cs:70:27:70:35 | { ... } | semmle.label | successor | +| patterns.cs:70:18:70:25 | After access to type MyStruct [no-match] | patterns.cs:70:18:70:38 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:70:18:70:25 | access to type MyStruct | patterns.cs:70:18:70:25 | After access to type MyStruct [match] | semmle.label | match | +| patterns.cs:70:18:70:25 | access to type MyStruct | patterns.cs:70:18:70:25 | After access to type MyStruct [no-match] | semmle.label | no-match | +| patterns.cs:70:18:70:38 | After MyStruct ms [match] | patterns.cs:70:18:70:38 | After { ... } [match] | semmle.label | match | | patterns.cs:70:18:70:38 | After { ... } [match] | patterns.cs:70:13:70:51 | After case ...: [match] | semmle.label | match | | patterns.cs:70:18:70:38 | After { ... } [no-match] | patterns.cs:70:13:70:51 | After case ...: [no-match] | semmle.label | no-match | -| patterns.cs:70:18:70:38 | Before MyStruct ms | patterns.cs:70:37:70:38 | access to local variable ms | semmle.label | successor | -| patterns.cs:70:18:70:38 | Before { ... } | patterns.cs:70:18:70:38 | Before MyStruct ms | semmle.label | successor | -| patterns.cs:70:18:70:38 | MyStruct ms | patterns.cs:70:18:70:38 | After MyStruct ms | semmle.label | successor | -| patterns.cs:70:18:70:38 | { ... } | patterns.cs:70:18:70:38 | After { ... } [match] | semmle.label | match | -| patterns.cs:70:18:70:38 | { ... } | patterns.cs:70:18:70:38 | After { ... } [no-match] | semmle.label | no-match | -| patterns.cs:70:27:70:35 | After { ... } | patterns.cs:70:18:70:38 | { ... } | semmle.label | successor | -| patterns.cs:70:27:70:35 | Before { ... } | patterns.cs:70:32:70:33 | 10 | semmle.label | successor | -| patterns.cs:70:27:70:35 | { ... } | patterns.cs:70:27:70:35 | After { ... } | semmle.label | successor | -| patterns.cs:70:32:70:33 | 10 | patterns.cs:70:27:70:35 | { ... } | semmle.label | successor | -| patterns.cs:70:37:70:38 | access to local variable ms | patterns.cs:70:18:70:38 | MyStruct ms | semmle.label | successor | +| patterns.cs:70:18:70:38 | MyStruct ms | patterns.cs:70:18:70:38 | [OuterPatternMatch] MyStruct ms | semmle.label | match | +| patterns.cs:70:18:70:38 | [OuterPatternMatch] MyStruct ms | patterns.cs:70:37:70:38 | access to local variable ms | semmle.label | successor | +| patterns.cs:70:18:70:38 | { ... } | patterns.cs:70:18:70:25 | access to type MyStruct | semmle.label | successor | +| patterns.cs:70:27:70:35 | After { ... } [match] | patterns.cs:70:18:70:38 | MyStruct ms | semmle.label | successor | +| patterns.cs:70:27:70:35 | After { ... } [no-match] | patterns.cs:70:18:70:38 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:70:27:70:35 | [OuterPatternMatch] { ... } | patterns.cs:70:32:70:33 | 10 | semmle.label | successor | +| patterns.cs:70:27:70:35 | { ... } | patterns.cs:70:27:70:35 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:70:27:70:35 | { ... } | patterns.cs:70:27:70:35 | [OuterPatternMatch] { ... } | semmle.label | match | +| patterns.cs:70:32:70:33 | 10 | patterns.cs:70:32:70:33 | After 10 [match] | semmle.label | match | +| patterns.cs:70:32:70:33 | 10 | patterns.cs:70:32:70:33 | After 10 [no-match] | semmle.label | no-match | +| patterns.cs:70:32:70:33 | After 10 [match] | patterns.cs:70:27:70:35 | After { ... } [match] | semmle.label | match | +| patterns.cs:70:32:70:33 | After 10 [no-match] | patterns.cs:70:27:70:35 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:70:37:70:38 | After access to local variable ms [match] | patterns.cs:70:18:70:38 | After MyStruct ms [match] | semmle.label | match | +| patterns.cs:70:37:70:38 | access to local variable ms | patterns.cs:70:37:70:38 | After access to local variable ms [match] | semmle.label | match | | patterns.cs:70:45:70:45 | access to local variable s | patterns.cs:70:45:70:47 | access to field X | semmle.label | successor | | patterns.cs:70:45:70:47 | After access to field X | patterns.cs:70:50:70:50 | 0 | semmle.label | successor | | patterns.cs:70:45:70:47 | Before access to field X | patterns.cs:70:45:70:45 | access to local variable s | semmle.label | successor | @@ -278,23 +317,29 @@ | patterns.cs:76:17:76:28 | object creation of type Object | patterns.cs:76:17:76:28 | After object creation of type Object | semmle.label | successor | | patterns.cs:78:13:78:43 | After case ...: [match] | patterns.cs:78:40:78:42 | Before ... < ... | semmle.label | successor | | patterns.cs:78:13:78:43 | After case ...: [no-match] | patterns.cs:80:13:80:20 | case ...: | semmle.label | successor | -| patterns.cs:78:13:78:43 | case ...: | patterns.cs:78:18:78:33 | Before { ... } | semmle.label | successor | -| patterns.cs:78:18:78:33 | ( ... ) | patterns.cs:78:18:78:33 | After ( ... ) | semmle.label | successor | -| patterns.cs:78:18:78:33 | After ( ... ) | patterns.cs:78:18:78:33 | { ... } | semmle.label | successor | +| patterns.cs:78:13:78:43 | case ...: | patterns.cs:78:18:78:33 | { ... } | semmle.label | successor | +| patterns.cs:78:18:78:33 | ( ... ) | patterns.cs:78:18:78:33 | After ( ... ) [no-match] | semmle.label | no-match | +| patterns.cs:78:18:78:33 | ( ... ) | patterns.cs:78:18:78:33 | [OuterPatternMatch] ( ... ) | semmle.label | match | +| patterns.cs:78:18:78:33 | After ( ... ) [match] | patterns.cs:78:18:78:33 | After { ... } [match] | semmle.label | match | +| patterns.cs:78:18:78:33 | After ( ... ) [no-match] | patterns.cs:78:18:78:33 | After { ... } [no-match] | semmle.label | no-match | | patterns.cs:78:18:78:33 | After { ... } [match] | patterns.cs:78:13:78:43 | After case ...: [match] | semmle.label | match | | patterns.cs:78:18:78:33 | After { ... } [no-match] | patterns.cs:78:13:78:43 | After case ...: [no-match] | semmle.label | no-match | -| patterns.cs:78:18:78:33 | Before ( ... ) | patterns.cs:78:19:78:23 | Before Int32 x | semmle.label | successor | -| patterns.cs:78:18:78:33 | Before { ... } | patterns.cs:78:18:78:33 | Before ( ... ) | semmle.label | successor | -| patterns.cs:78:18:78:33 | { ... } | patterns.cs:78:18:78:33 | After { ... } [match] | semmle.label | match | -| patterns.cs:78:18:78:33 | { ... } | patterns.cs:78:18:78:33 | After { ... } [no-match] | semmle.label | no-match | -| patterns.cs:78:19:78:23 | After Int32 x | patterns.cs:78:26:78:32 | Before Single y | semmle.label | successor | -| patterns.cs:78:19:78:23 | Before Int32 x | patterns.cs:78:23:78:23 | access to local variable x | semmle.label | successor | -| patterns.cs:78:19:78:23 | Int32 x | patterns.cs:78:19:78:23 | After Int32 x | semmle.label | successor | -| patterns.cs:78:23:78:23 | access to local variable x | patterns.cs:78:19:78:23 | Int32 x | semmle.label | successor | -| patterns.cs:78:26:78:32 | After Single y | patterns.cs:78:18:78:33 | ( ... ) | semmle.label | successor | -| patterns.cs:78:26:78:32 | Before Single y | patterns.cs:78:32:78:32 | access to local variable y | semmle.label | successor | -| patterns.cs:78:26:78:32 | Single y | patterns.cs:78:26:78:32 | After Single y | semmle.label | successor | -| patterns.cs:78:32:78:32 | access to local variable y | patterns.cs:78:26:78:32 | Single y | semmle.label | successor | +| patterns.cs:78:18:78:33 | [OuterPatternMatch] ( ... ) | patterns.cs:78:19:78:23 | Int32 x | semmle.label | successor | +| patterns.cs:78:18:78:33 | { ... } | patterns.cs:78:18:78:33 | ( ... ) | semmle.label | successor | +| patterns.cs:78:19:78:23 | After Int32 x [match] | patterns.cs:78:26:78:32 | Single y | semmle.label | successor | +| patterns.cs:78:19:78:23 | After Int32 x [no-match] | patterns.cs:78:18:78:33 | After ( ... ) [no-match] | semmle.label | no-match | +| patterns.cs:78:19:78:23 | Int32 x | patterns.cs:78:19:78:23 | After Int32 x [no-match] | semmle.label | no-match | +| patterns.cs:78:19:78:23 | Int32 x | patterns.cs:78:19:78:23 | [OuterPatternMatch] Int32 x | semmle.label | match | +| patterns.cs:78:19:78:23 | [OuterPatternMatch] Int32 x | patterns.cs:78:23:78:23 | access to local variable x | semmle.label | successor | +| patterns.cs:78:23:78:23 | After access to local variable x [match] | patterns.cs:78:19:78:23 | After Int32 x [match] | semmle.label | match | +| patterns.cs:78:23:78:23 | access to local variable x | patterns.cs:78:23:78:23 | After access to local variable x [match] | semmle.label | match | +| patterns.cs:78:26:78:32 | After Single y [match] | patterns.cs:78:18:78:33 | After ( ... ) [match] | semmle.label | match | +| patterns.cs:78:26:78:32 | After Single y [no-match] | patterns.cs:78:18:78:33 | After ( ... ) [no-match] | semmle.label | no-match | +| patterns.cs:78:26:78:32 | Single y | patterns.cs:78:26:78:32 | After Single y [no-match] | semmle.label | no-match | +| patterns.cs:78:26:78:32 | Single y | patterns.cs:78:26:78:32 | [OuterPatternMatch] Single y | semmle.label | match | +| patterns.cs:78:26:78:32 | [OuterPatternMatch] Single y | patterns.cs:78:32:78:32 | access to local variable y | semmle.label | successor | +| patterns.cs:78:32:78:32 | After access to local variable y [match] | patterns.cs:78:26:78:32 | After Single y [match] | semmle.label | match | +| patterns.cs:78:32:78:32 | access to local variable y | patterns.cs:78:32:78:32 | After access to local variable y [match] | semmle.label | match | | patterns.cs:78:40:78:40 | (...) ... | patterns.cs:78:40:78:40 | After (...) ... | semmle.label | successor | | patterns.cs:78:40:78:40 | After (...) ... | patterns.cs:78:42:78:42 | access to local variable y | semmle.label | successor | | patterns.cs:78:40:78:40 | Before (...) ... | patterns.cs:78:40:78:40 | access to local variable x | semmle.label | successor | @@ -309,21 +354,23 @@ | patterns.cs:79:17:79:22 | break; | patterns.cs:76:9:84:9 | After switch (...) {...} | semmle.label | break | | patterns.cs:80:13:80:20 | After case ...: [match] | patterns.cs:81:17:81:22 | Before break; | semmle.label | successor | | patterns.cs:80:13:80:20 | After case ...: [no-match] | patterns.cs:82:13:82:20 | case ...: | semmle.label | successor | -| patterns.cs:80:13:80:20 | case ...: | patterns.cs:80:18:80:19 | Before { ... } | semmle.label | successor | -| patterns.cs:80:18:80:19 | ( ... ) | patterns.cs:80:18:80:19 | { ... } | semmle.label | successor | +| patterns.cs:80:13:80:20 | case ...: | patterns.cs:80:18:80:19 | { ... } | semmle.label | successor | +| patterns.cs:80:18:80:19 | ( ... ) | patterns.cs:80:18:80:19 | After ( ... ) [match] | semmle.label | match | +| patterns.cs:80:18:80:19 | ( ... ) | patterns.cs:80:18:80:19 | After ( ... ) [no-match] | semmle.label | no-match | +| patterns.cs:80:18:80:19 | After ( ... ) [match] | patterns.cs:80:18:80:19 | After { ... } [match] | semmle.label | match | +| patterns.cs:80:18:80:19 | After ( ... ) [no-match] | patterns.cs:80:18:80:19 | After { ... } [no-match] | semmle.label | no-match | | patterns.cs:80:18:80:19 | After { ... } [match] | patterns.cs:80:13:80:20 | After case ...: [match] | semmle.label | match | | patterns.cs:80:18:80:19 | After { ... } [no-match] | patterns.cs:80:13:80:20 | After case ...: [no-match] | semmle.label | no-match | -| patterns.cs:80:18:80:19 | Before { ... } | patterns.cs:80:18:80:19 | ( ... ) | semmle.label | successor | -| patterns.cs:80:18:80:19 | { ... } | patterns.cs:80:18:80:19 | After { ... } [match] | semmle.label | match | -| patterns.cs:80:18:80:19 | { ... } | patterns.cs:80:18:80:19 | After { ... } [no-match] | semmle.label | no-match | +| patterns.cs:80:18:80:19 | { ... } | patterns.cs:80:18:80:19 | ( ... ) | semmle.label | successor | | patterns.cs:81:17:81:22 | Before break; | patterns.cs:81:17:81:22 | break; | semmle.label | successor | | patterns.cs:81:17:81:22 | break; | patterns.cs:76:9:84:9 | After switch (...) {...} | semmle.label | break | | patterns.cs:82:13:82:20 | After case ...: [match] | patterns.cs:83:17:83:22 | Before break; | semmle.label | successor | | patterns.cs:82:13:82:20 | After case ...: [no-match] | patterns.cs:76:9:84:9 | After switch (...) {...} | semmle.label | successor | -| patterns.cs:82:13:82:20 | case ...: | patterns.cs:82:18:82:19 | Before { ... } | semmle.label | successor | +| patterns.cs:82:13:82:20 | case ...: | patterns.cs:82:18:82:19 | { ... } | semmle.label | successor | | patterns.cs:82:18:82:19 | After { ... } [match] | patterns.cs:82:13:82:20 | After case ...: [match] | semmle.label | match | +| patterns.cs:82:18:82:19 | After { ... } [match] | patterns.cs:82:18:82:19 | After { ... } [match] | semmle.label | match | | patterns.cs:82:18:82:19 | After { ... } [no-match] | patterns.cs:82:13:82:20 | After case ...: [no-match] | semmle.label | no-match | -| patterns.cs:82:18:82:19 | Before { ... } | patterns.cs:82:18:82:19 | { ... } | semmle.label | successor | +| patterns.cs:82:18:82:19 | After { ... } [no-match] | patterns.cs:82:18:82:19 | After { ... } [no-match] | semmle.label | no-match | | patterns.cs:82:18:82:19 | { ... } | patterns.cs:82:18:82:19 | After { ... } [match] | semmle.label | match | | patterns.cs:82:18:82:19 | { ... } | patterns.cs:82:18:82:19 | After { ... } [no-match] | semmle.label | no-match | | patterns.cs:82:18:82:19 | { ... } | patterns.cs:82:18:82:19 | { ... } | semmle.label | successor | @@ -338,17 +385,23 @@ | patterns.cs:86:18:86:18 | 2 | patterns.cs:86:15:86:19 | (..., ...) | semmle.label | successor | | patterns.cs:88:13:88:24 | After case ...: [match] | patterns.cs:88:26:88:31 | Before break; | semmle.label | successor | | patterns.cs:88:13:88:24 | After case ...: [no-match] | patterns.cs:86:9:89:9 | After switch (...) {...} | semmle.label | successor | -| patterns.cs:88:13:88:24 | case ...: | patterns.cs:88:18:88:23 | Before { ... } | semmle.label | successor | -| patterns.cs:88:18:88:23 | ( ... ) | patterns.cs:88:18:88:23 | After ( ... ) | semmle.label | successor | -| patterns.cs:88:18:88:23 | After ( ... ) | patterns.cs:88:18:88:23 | { ... } | semmle.label | successor | +| patterns.cs:88:13:88:24 | case ...: | patterns.cs:88:18:88:23 | { ... } | semmle.label | successor | +| patterns.cs:88:18:88:23 | ( ... ) | patterns.cs:88:18:88:23 | After ( ... ) [no-match] | semmle.label | no-match | +| patterns.cs:88:18:88:23 | ( ... ) | patterns.cs:88:18:88:23 | [OuterPatternMatch] ( ... ) | semmle.label | match | +| patterns.cs:88:18:88:23 | After ( ... ) [match] | patterns.cs:88:18:88:23 | After { ... } [match] | semmle.label | match | +| patterns.cs:88:18:88:23 | After ( ... ) [no-match] | patterns.cs:88:18:88:23 | After { ... } [no-match] | semmle.label | no-match | | patterns.cs:88:18:88:23 | After { ... } [match] | patterns.cs:88:13:88:24 | After case ...: [match] | semmle.label | match | | patterns.cs:88:18:88:23 | After { ... } [no-match] | patterns.cs:88:13:88:24 | After case ...: [no-match] | semmle.label | no-match | -| patterns.cs:88:18:88:23 | Before ( ... ) | patterns.cs:88:19:88:19 | 1 | semmle.label | successor | -| patterns.cs:88:18:88:23 | Before { ... } | patterns.cs:88:18:88:23 | Before ( ... ) | semmle.label | successor | -| patterns.cs:88:18:88:23 | { ... } | patterns.cs:88:18:88:23 | After { ... } [match] | semmle.label | match | -| patterns.cs:88:18:88:23 | { ... } | patterns.cs:88:18:88:23 | After { ... } [no-match] | semmle.label | no-match | -| patterns.cs:88:19:88:19 | 1 | patterns.cs:88:22:88:22 | 2 | semmle.label | successor | -| patterns.cs:88:22:88:22 | 2 | patterns.cs:88:18:88:23 | ( ... ) | semmle.label | successor | +| patterns.cs:88:18:88:23 | [OuterPatternMatch] ( ... ) | patterns.cs:88:19:88:19 | 1 | semmle.label | successor | +| patterns.cs:88:18:88:23 | { ... } | patterns.cs:88:18:88:23 | ( ... ) | semmle.label | successor | +| patterns.cs:88:19:88:19 | 1 | patterns.cs:88:19:88:19 | After 1 [match] | semmle.label | match | +| patterns.cs:88:19:88:19 | 1 | patterns.cs:88:19:88:19 | After 1 [no-match] | semmle.label | no-match | +| patterns.cs:88:19:88:19 | After 1 [match] | patterns.cs:88:22:88:22 | 2 | semmle.label | successor | +| patterns.cs:88:19:88:19 | After 1 [no-match] | patterns.cs:88:18:88:23 | After ( ... ) [no-match] | semmle.label | no-match | +| patterns.cs:88:22:88:22 | 2 | patterns.cs:88:22:88:22 | After 2 [match] | semmle.label | match | +| patterns.cs:88:22:88:22 | 2 | patterns.cs:88:22:88:22 | After 2 [no-match] | semmle.label | no-match | +| patterns.cs:88:22:88:22 | After 2 [match] | patterns.cs:88:18:88:23 | After ( ... ) [match] | semmle.label | match | +| patterns.cs:88:22:88:22 | After 2 [no-match] | patterns.cs:88:18:88:23 | After ( ... ) [no-match] | semmle.label | no-match | | patterns.cs:88:26:88:31 | Before break; | patterns.cs:88:26:88:31 | break; | semmle.label | successor | | patterns.cs:88:26:88:31 | break; | patterns.cs:86:9:89:9 | After switch (...) {...} | semmle.label | break | | patterns.cs:91:9:95:9 | After switch (...) {...} | patterns.cs:33:5:96:5 | After {...} | semmle.label | successor | @@ -360,34 +413,42 @@ | patterns.cs:91:19:91:19 | 2 | patterns.cs:91:16:91:20 | (..., ...) | semmle.label | successor | | patterns.cs:93:13:93:28 | After case ...: [match] | patterns.cs:93:30:93:35 | Before break; | semmle.label | successor | | patterns.cs:93:13:93:28 | After case ...: [no-match] | patterns.cs:94:13:94:24 | case ...: | semmle.label | successor | -| patterns.cs:93:13:93:28 | case ...: | patterns.cs:93:18:93:27 | Before { ... } | semmle.label | successor | -| patterns.cs:93:18:93:27 | ( ... ) | patterns.cs:93:18:93:27 | After ( ... ) | semmle.label | successor | -| patterns.cs:93:18:93:27 | After ( ... ) | patterns.cs:93:18:93:27 | { ... } | semmle.label | successor | +| patterns.cs:93:13:93:28 | case ...: | patterns.cs:93:18:93:27 | { ... } | semmle.label | successor | +| patterns.cs:93:18:93:27 | ( ... ) | patterns.cs:93:18:93:27 | After ( ... ) [no-match] | semmle.label | no-match | +| patterns.cs:93:18:93:27 | ( ... ) | patterns.cs:93:18:93:27 | [OuterPatternMatch] ( ... ) | semmle.label | match | +| patterns.cs:93:18:93:27 | After ( ... ) [match] | patterns.cs:93:18:93:27 | After { ... } [match] | semmle.label | match | +| patterns.cs:93:18:93:27 | After ( ... ) [no-match] | patterns.cs:93:18:93:27 | After { ... } [no-match] | semmle.label | no-match | | patterns.cs:93:18:93:27 | After { ... } [match] | patterns.cs:93:13:93:28 | After case ...: [match] | semmle.label | match | | patterns.cs:93:18:93:27 | After { ... } [no-match] | patterns.cs:93:13:93:28 | After case ...: [no-match] | semmle.label | no-match | -| patterns.cs:93:18:93:27 | Before ( ... ) | patterns.cs:93:19:93:19 | 1 | semmle.label | successor | -| patterns.cs:93:18:93:27 | Before { ... } | patterns.cs:93:18:93:27 | Before ( ... ) | semmle.label | successor | -| patterns.cs:93:18:93:27 | { ... } | patterns.cs:93:18:93:27 | After { ... } [match] | semmle.label | match | -| patterns.cs:93:18:93:27 | { ... } | patterns.cs:93:18:93:27 | After { ... } [no-match] | semmle.label | no-match | -| patterns.cs:93:19:93:19 | 1 | patterns.cs:93:22:93:26 | Before Int32 x | semmle.label | successor | -| patterns.cs:93:22:93:26 | After Int32 x | patterns.cs:93:18:93:27 | ( ... ) | semmle.label | successor | -| patterns.cs:93:22:93:26 | Before Int32 x | patterns.cs:93:26:93:26 | access to local variable x | semmle.label | successor | -| patterns.cs:93:22:93:26 | Int32 x | patterns.cs:93:22:93:26 | After Int32 x | semmle.label | successor | -| patterns.cs:93:26:93:26 | access to local variable x | patterns.cs:93:22:93:26 | Int32 x | semmle.label | successor | +| patterns.cs:93:18:93:27 | [OuterPatternMatch] ( ... ) | patterns.cs:93:19:93:19 | 1 | semmle.label | successor | +| patterns.cs:93:18:93:27 | { ... } | patterns.cs:93:18:93:27 | ( ... ) | semmle.label | successor | +| patterns.cs:93:19:93:19 | 1 | patterns.cs:93:19:93:19 | After 1 [match] | semmle.label | match | +| patterns.cs:93:19:93:19 | 1 | patterns.cs:93:19:93:19 | After 1 [no-match] | semmle.label | no-match | +| patterns.cs:93:19:93:19 | After 1 [match] | patterns.cs:93:22:93:26 | Int32 x | semmle.label | successor | +| patterns.cs:93:19:93:19 | After 1 [no-match] | patterns.cs:93:18:93:27 | After ( ... ) [no-match] | semmle.label | no-match | +| patterns.cs:93:22:93:26 | After Int32 x [match] | patterns.cs:93:18:93:27 | After ( ... ) [match] | semmle.label | match | +| patterns.cs:93:22:93:26 | Int32 x | patterns.cs:93:22:93:26 | [OuterPatternMatch] Int32 x | semmle.label | match | +| patterns.cs:93:22:93:26 | [OuterPatternMatch] Int32 x | patterns.cs:93:26:93:26 | access to local variable x | semmle.label | successor | +| patterns.cs:93:26:93:26 | After access to local variable x [match] | patterns.cs:93:22:93:26 | After Int32 x [match] | semmle.label | match | +| patterns.cs:93:26:93:26 | access to local variable x | patterns.cs:93:26:93:26 | After access to local variable x [match] | semmle.label | match | | patterns.cs:93:30:93:35 | Before break; | patterns.cs:93:30:93:35 | break; | semmle.label | successor | | patterns.cs:93:30:93:35 | break; | patterns.cs:91:9:95:9 | After switch (...) {...} | semmle.label | break | | patterns.cs:94:13:94:24 | After case ...: [match] | patterns.cs:94:26:94:31 | Before break; | semmle.label | successor | | patterns.cs:94:13:94:24 | After case ...: [no-match] | patterns.cs:91:9:95:9 | After switch (...) {...} | semmle.label | successor | -| patterns.cs:94:13:94:24 | case ...: | patterns.cs:94:18:94:23 | Before { ... } | semmle.label | successor | -| patterns.cs:94:18:94:23 | ( ... ) | patterns.cs:94:18:94:23 | After ( ... ) | semmle.label | successor | -| patterns.cs:94:18:94:23 | After ( ... ) | patterns.cs:94:18:94:23 | { ... } | semmle.label | successor | +| patterns.cs:94:13:94:24 | case ...: | patterns.cs:94:18:94:23 | { ... } | semmle.label | successor | +| patterns.cs:94:18:94:23 | ( ... ) | patterns.cs:94:18:94:23 | After ( ... ) [no-match] | semmle.label | no-match | +| patterns.cs:94:18:94:23 | ( ... ) | patterns.cs:94:18:94:23 | [OuterPatternMatch] ( ... ) | semmle.label | match | +| patterns.cs:94:18:94:23 | After ( ... ) [match] | patterns.cs:94:18:94:23 | After { ... } [match] | semmle.label | match | +| patterns.cs:94:18:94:23 | After ( ... ) [no-match] | patterns.cs:94:18:94:23 | After { ... } [no-match] | semmle.label | no-match | | patterns.cs:94:18:94:23 | After { ... } [match] | patterns.cs:94:13:94:24 | After case ...: [match] | semmle.label | match | | patterns.cs:94:18:94:23 | After { ... } [no-match] | patterns.cs:94:13:94:24 | After case ...: [no-match] | semmle.label | no-match | -| patterns.cs:94:18:94:23 | Before ( ... ) | patterns.cs:94:19:94:19 | 2 | semmle.label | successor | -| patterns.cs:94:18:94:23 | Before { ... } | patterns.cs:94:18:94:23 | Before ( ... ) | semmle.label | successor | -| patterns.cs:94:18:94:23 | { ... } | patterns.cs:94:18:94:23 | After { ... } [match] | semmle.label | match | -| patterns.cs:94:18:94:23 | { ... } | patterns.cs:94:18:94:23 | After { ... } [no-match] | semmle.label | no-match | -| patterns.cs:94:19:94:19 | 2 | patterns.cs:94:22:94:22 | _ | semmle.label | successor | -| patterns.cs:94:22:94:22 | _ | patterns.cs:94:18:94:23 | ( ... ) | semmle.label | successor | +| patterns.cs:94:18:94:23 | [OuterPatternMatch] ( ... ) | patterns.cs:94:19:94:19 | 2 | semmle.label | successor | +| patterns.cs:94:18:94:23 | { ... } | patterns.cs:94:18:94:23 | ( ... ) | semmle.label | successor | +| patterns.cs:94:19:94:19 | 2 | patterns.cs:94:19:94:19 | After 2 [match] | semmle.label | match | +| patterns.cs:94:19:94:19 | 2 | patterns.cs:94:19:94:19 | After 2 [no-match] | semmle.label | no-match | +| patterns.cs:94:19:94:19 | After 2 [match] | patterns.cs:94:22:94:22 | _ | semmle.label | successor | +| patterns.cs:94:19:94:19 | After 2 [no-match] | patterns.cs:94:18:94:23 | After ( ... ) [no-match] | semmle.label | no-match | +| patterns.cs:94:22:94:22 | After _ [match] | patterns.cs:94:18:94:23 | After ( ... ) [match] | semmle.label | match | +| patterns.cs:94:22:94:22 | _ | patterns.cs:94:22:94:22 | After _ [match] | semmle.label | match | | patterns.cs:94:26:94:31 | Before break; | patterns.cs:94:26:94:31 | break; | semmle.label | successor | | patterns.cs:94:26:94:31 | break; | patterns.cs:91:9:95:9 | After switch (...) {...} | semmle.label | break | diff --git a/csharp/ql/test/library-tests/dataflow/local/DataFlowStep.expected b/csharp/ql/test/library-tests/dataflow/local/DataFlowStep.expected index 85422eead805..4b410bcd9a7f 100644 --- a/csharp/ql/test/library-tests/dataflow/local/DataFlowStep.expected +++ b/csharp/ql/test/library-tests/dataflow/local/DataFlowStep.expected @@ -463,19 +463,19 @@ | LocalDataFlow.cs:286:15:286:22 | access to local variable nonSink0 | LocalDataFlow.cs:293:13:293:20 | access to local variable nonSink0 | | LocalDataFlow.cs:289:13:289:18 | access to local variable sink70 | LocalDataFlow.cs:289:30:289:35 | access to local variable sink71 | | LocalDataFlow.cs:289:13:289:18 | access to local variable sink70 | LocalDataFlow.cs:297:17:297:22 | access to local variable sink70 | -| LocalDataFlow.cs:289:23:289:35 | SSA def(sink71) | LocalDataFlow.cs:290:19:290:24 | access to local variable sink71 | -| LocalDataFlow.cs:289:30:289:35 | access to local variable sink71 | LocalDataFlow.cs:289:23:289:35 | SSA def(sink71) | +| LocalDataFlow.cs:289:30:289:35 | SSA def(sink71) | LocalDataFlow.cs:290:19:290:24 | access to local variable sink71 | +| LocalDataFlow.cs:289:30:289:35 | access to local variable sink71 | LocalDataFlow.cs:289:30:289:35 | SSA def(sink71) | | LocalDataFlow.cs:293:13:293:20 | access to local variable nonSink0 | LocalDataFlow.cs:293:32:293:40 | access to local variable nonSink16 | | LocalDataFlow.cs:293:13:293:20 | access to local variable nonSink0 | LocalDataFlow.cs:305:17:305:24 | access to local variable nonSink0 | -| LocalDataFlow.cs:293:25:293:40 | SSA def(nonSink16) | LocalDataFlow.cs:294:19:294:27 | access to local variable nonSink16 | -| LocalDataFlow.cs:293:32:293:40 | access to local variable nonSink16 | LocalDataFlow.cs:293:25:293:40 | SSA def(nonSink16) | +| LocalDataFlow.cs:293:32:293:40 | SSA def(nonSink16) | LocalDataFlow.cs:294:19:294:27 | access to local variable nonSink16 | +| LocalDataFlow.cs:293:32:293:40 | access to local variable nonSink16 | LocalDataFlow.cs:293:32:293:40 | SSA def(nonSink16) | | LocalDataFlow.cs:297:17:297:22 | access to local variable sink70 | LocalDataFlow.cs:299:25:299:30 | access to local variable sink72 | -| LocalDataFlow.cs:299:18:299:30 | SSA def(sink72) | LocalDataFlow.cs:300:23:300:28 | access to local variable sink72 | -| LocalDataFlow.cs:299:25:299:30 | access to local variable sink72 | LocalDataFlow.cs:299:18:299:30 | SSA def(sink72) | +| LocalDataFlow.cs:299:25:299:30 | SSA def(sink72) | LocalDataFlow.cs:300:23:300:28 | access to local variable sink72 | +| LocalDataFlow.cs:299:25:299:30 | access to local variable sink72 | LocalDataFlow.cs:299:25:299:30 | SSA def(sink72) | | LocalDataFlow.cs:305:17:305:24 | access to local variable nonSink0 | LocalDataFlow.cs:307:25:307:33 | access to local variable nonSink17 | | LocalDataFlow.cs:305:17:305:24 | access to local variable nonSink0 | LocalDataFlow.cs:313:22:313:29 | access to local variable nonSink0 | -| LocalDataFlow.cs:307:18:307:33 | SSA def(nonSink17) | LocalDataFlow.cs:308:23:308:31 | access to local variable nonSink17 | -| LocalDataFlow.cs:307:25:307:33 | access to local variable nonSink17 | LocalDataFlow.cs:307:18:307:33 | SSA def(nonSink17) | +| LocalDataFlow.cs:307:25:307:33 | SSA def(nonSink17) | LocalDataFlow.cs:308:23:308:31 | access to local variable nonSink17 | +| LocalDataFlow.cs:307:25:307:33 | access to local variable nonSink17 | LocalDataFlow.cs:307:25:307:33 | SSA def(nonSink17) | | LocalDataFlow.cs:313:13:313:18 | access to local variable sink73 | LocalDataFlow.cs:313:13:313:38 | SSA def(sink73) | | LocalDataFlow.cs:313:13:313:38 | SSA def(sink73) | LocalDataFlow.cs:315:15:315:20 | access to local variable sink73 | | LocalDataFlow.cs:313:22:313:29 | [input] SSA phi read(sink0) | LocalDataFlow.cs:314:22:314:26 | access to local variable sink0 | diff --git a/csharp/ql/test/library-tests/dataflow/local/TaintTrackingStep.expected b/csharp/ql/test/library-tests/dataflow/local/TaintTrackingStep.expected index 3072df3ed5e0..8cc61707f2e7 100644 --- a/csharp/ql/test/library-tests/dataflow/local/TaintTrackingStep.expected +++ b/csharp/ql/test/library-tests/dataflow/local/TaintTrackingStep.expected @@ -574,19 +574,19 @@ | LocalDataFlow.cs:286:15:286:22 | access to local variable nonSink0 | LocalDataFlow.cs:293:13:293:20 | access to local variable nonSink0 | | LocalDataFlow.cs:289:13:289:18 | access to local variable sink70 | LocalDataFlow.cs:289:30:289:35 | access to local variable sink71 | | LocalDataFlow.cs:289:13:289:18 | access to local variable sink70 | LocalDataFlow.cs:297:17:297:22 | access to local variable sink70 | -| LocalDataFlow.cs:289:23:289:35 | SSA def(sink71) | LocalDataFlow.cs:290:19:290:24 | access to local variable sink71 | -| LocalDataFlow.cs:289:30:289:35 | access to local variable sink71 | LocalDataFlow.cs:289:23:289:35 | SSA def(sink71) | +| LocalDataFlow.cs:289:30:289:35 | SSA def(sink71) | LocalDataFlow.cs:290:19:290:24 | access to local variable sink71 | +| LocalDataFlow.cs:289:30:289:35 | access to local variable sink71 | LocalDataFlow.cs:289:30:289:35 | SSA def(sink71) | | LocalDataFlow.cs:293:13:293:20 | access to local variable nonSink0 | LocalDataFlow.cs:293:32:293:40 | access to local variable nonSink16 | | LocalDataFlow.cs:293:13:293:20 | access to local variable nonSink0 | LocalDataFlow.cs:305:17:305:24 | access to local variable nonSink0 | -| LocalDataFlow.cs:293:25:293:40 | SSA def(nonSink16) | LocalDataFlow.cs:294:19:294:27 | access to local variable nonSink16 | -| LocalDataFlow.cs:293:32:293:40 | access to local variable nonSink16 | LocalDataFlow.cs:293:25:293:40 | SSA def(nonSink16) | +| LocalDataFlow.cs:293:32:293:40 | SSA def(nonSink16) | LocalDataFlow.cs:294:19:294:27 | access to local variable nonSink16 | +| LocalDataFlow.cs:293:32:293:40 | access to local variable nonSink16 | LocalDataFlow.cs:293:32:293:40 | SSA def(nonSink16) | | LocalDataFlow.cs:297:17:297:22 | access to local variable sink70 | LocalDataFlow.cs:299:25:299:30 | access to local variable sink72 | -| LocalDataFlow.cs:299:18:299:30 | SSA def(sink72) | LocalDataFlow.cs:300:23:300:28 | access to local variable sink72 | -| LocalDataFlow.cs:299:25:299:30 | access to local variable sink72 | LocalDataFlow.cs:299:18:299:30 | SSA def(sink72) | +| LocalDataFlow.cs:299:25:299:30 | SSA def(sink72) | LocalDataFlow.cs:300:23:300:28 | access to local variable sink72 | +| LocalDataFlow.cs:299:25:299:30 | access to local variable sink72 | LocalDataFlow.cs:299:25:299:30 | SSA def(sink72) | | LocalDataFlow.cs:305:17:305:24 | access to local variable nonSink0 | LocalDataFlow.cs:307:25:307:33 | access to local variable nonSink17 | | LocalDataFlow.cs:305:17:305:24 | access to local variable nonSink0 | LocalDataFlow.cs:313:22:313:29 | access to local variable nonSink0 | -| LocalDataFlow.cs:307:18:307:33 | SSA def(nonSink17) | LocalDataFlow.cs:308:23:308:31 | access to local variable nonSink17 | -| LocalDataFlow.cs:307:25:307:33 | access to local variable nonSink17 | LocalDataFlow.cs:307:18:307:33 | SSA def(nonSink17) | +| LocalDataFlow.cs:307:25:307:33 | SSA def(nonSink17) | LocalDataFlow.cs:308:23:308:31 | access to local variable nonSink17 | +| LocalDataFlow.cs:307:25:307:33 | access to local variable nonSink17 | LocalDataFlow.cs:307:25:307:33 | SSA def(nonSink17) | | LocalDataFlow.cs:313:13:313:18 | access to local variable sink73 | LocalDataFlow.cs:313:13:313:38 | SSA def(sink73) | | LocalDataFlow.cs:313:13:313:38 | SSA def(sink73) | LocalDataFlow.cs:315:15:315:20 | access to local variable sink73 | | LocalDataFlow.cs:313:22:313:29 | [input] SSA phi read(sink0) | LocalDataFlow.cs:314:22:314:26 | access to local variable sink0 | diff --git a/csharp/ql/test/library-tests/dataflow/ssa/DefAdjacentRead.expected b/csharp/ql/test/library-tests/dataflow/ssa/DefAdjacentRead.expected index 3015fea1770e..12279d092cee 100644 --- a/csharp/ql/test/library-tests/dataflow/ssa/DefAdjacentRead.expected +++ b/csharp/ql/test/library-tests/dataflow/ssa/DefAdjacentRead.expected @@ -101,11 +101,11 @@ | OutRef.cs:34:38:34:38 | j | OutRef.cs:34:38:34:38 | j | OutRef.cs:36:13:36:13 | access to parameter j | | OutRef.cs:39:24:39:24 | b | OutRef.cs:39:24:39:24 | b | OutRef.cs:41:13:41:13 | access to parameter b | | Patterns.cs:7:16:7:16 | o | Patterns.cs:7:16:7:23 | Object o = ... | Patterns.cs:8:13:8:13 | access to local variable o | -| Patterns.cs:8:22:8:23 | i1 | Patterns.cs:8:18:8:23 | Int32 i1 | Patterns.cs:10:38:10:39 | access to local variable i1 | -| Patterns.cs:12:30:12:31 | s1 | Patterns.cs:12:23:12:31 | String s1 | Patterns.cs:14:41:14:42 | access to local variable s1 | -| Patterns.cs:24:22:24:23 | i2 | Patterns.cs:24:18:24:23 | Int32 i2 | Patterns.cs:24:30:24:31 | access to local variable i2 | -| Patterns.cs:27:22:27:23 | i3 | Patterns.cs:27:18:27:23 | Int32 i3 | Patterns.cs:28:42:28:43 | access to local variable i3 | -| Patterns.cs:30:25:30:26 | s2 | Patterns.cs:30:18:30:26 | String s2 | Patterns.cs:31:45:31:46 | access to local variable s2 | +| Patterns.cs:8:22:8:23 | i1 | Patterns.cs:8:22:8:23 | Int32 i1 | Patterns.cs:10:38:10:39 | access to local variable i1 | +| Patterns.cs:12:30:12:31 | s1 | Patterns.cs:12:30:12:31 | String s1 | Patterns.cs:14:41:14:42 | access to local variable s1 | +| Patterns.cs:24:22:24:23 | i2 | Patterns.cs:24:22:24:23 | Int32 i2 | Patterns.cs:24:30:24:31 | access to local variable i2 | +| Patterns.cs:27:22:27:23 | i3 | Patterns.cs:27:22:27:23 | Int32 i3 | Patterns.cs:28:42:28:43 | access to local variable i3 | +| Patterns.cs:30:25:30:26 | s2 | Patterns.cs:30:25:30:26 | String s2 | Patterns.cs:31:45:31:46 | access to local variable s2 | | Properties.cs:5:18:5:19 | xs | Properties.cs:24:9:24:23 | ... = ... | Properties.cs:25:13:25:14 | access to property xs | | Properties.cs:5:18:5:19 | xs | Properties.cs:42:9:42:23 | ... = ... | Properties.cs:44:13:44:14 | access to property xs | | Properties.cs:5:18:5:19 | xs | Properties.cs:45:9:45:25 | ... = ... | Properties.cs:46:13:46:16 | access to property xs | diff --git a/csharp/ql/test/library-tests/dataflow/ssa/SsaDef.expected b/csharp/ql/test/library-tests/dataflow/ssa/SsaDef.expected index b7d177bf7852..98c54aaea9e7 100644 --- a/csharp/ql/test/library-tests/dataflow/ssa/SsaDef.expected +++ b/csharp/ql/test/library-tests/dataflow/ssa/SsaDef.expected @@ -191,11 +191,11 @@ | OutRef.cs:39:35:39:35 | j | OutRef.cs:41:9:42:18 | SSA phi(j) | | OutRef.cs:39:35:39:35 | j | OutRef.cs:42:13:42:17 | SSA def(j) | | Patterns.cs:7:16:7:16 | o | Patterns.cs:7:16:7:23 | SSA def(o) | -| Patterns.cs:8:22:8:23 | i1 | Patterns.cs:8:18:8:23 | SSA def(i1) | -| Patterns.cs:12:30:12:31 | s1 | Patterns.cs:12:23:12:31 | SSA def(s1) | -| Patterns.cs:24:22:24:23 | i2 | Patterns.cs:24:18:24:23 | SSA def(i2) | -| Patterns.cs:27:22:27:23 | i3 | Patterns.cs:27:18:27:23 | SSA def(i3) | -| Patterns.cs:30:25:30:26 | s2 | Patterns.cs:30:18:30:26 | SSA def(s2) | +| Patterns.cs:8:22:8:23 | i1 | Patterns.cs:8:22:8:23 | SSA def(i1) | +| Patterns.cs:12:30:12:31 | s1 | Patterns.cs:12:30:12:31 | SSA def(s1) | +| Patterns.cs:24:22:24:23 | i2 | Patterns.cs:24:22:24:23 | SSA def(i2) | +| Patterns.cs:27:22:27:23 | i3 | Patterns.cs:27:22:27:23 | SSA def(i3) | +| Patterns.cs:30:25:30:26 | s2 | Patterns.cs:30:25:30:26 | SSA def(s2) | | Properties.cs:18:15:18:15 | x | Properties.cs:20:9:20:14 | SSA def(x) | | Properties.cs:18:19:18:20 | this.xs | Properties.cs:16:17:16:17 | SSA entry def(this.xs) | | Properties.cs:18:19:18:20 | this.xs | Properties.cs:19:9:19:13 | SSA call def(this.xs) | diff --git a/csharp/ql/test/library-tests/dataflow/ssa/SsaExplicitDef.expected b/csharp/ql/test/library-tests/dataflow/ssa/SsaExplicitDef.expected index 4ea7d32e32f5..149e1f627baa 100644 --- a/csharp/ql/test/library-tests/dataflow/ssa/SsaExplicitDef.expected +++ b/csharp/ql/test/library-tests/dataflow/ssa/SsaExplicitDef.expected @@ -128,11 +128,11 @@ | OutRef.cs:39:35:39:35 | j | OutRef.cs:39:35:39:35 | SSA param(j) | OutRef.cs:39:35:39:35 | j | | OutRef.cs:39:35:39:35 | j | OutRef.cs:42:13:42:17 | SSA def(j) | OutRef.cs:42:13:42:17 | ... = ... | | Patterns.cs:7:16:7:16 | o | Patterns.cs:7:16:7:23 | SSA def(o) | Patterns.cs:7:16:7:23 | Object o = ... | -| Patterns.cs:8:22:8:23 | i1 | Patterns.cs:8:18:8:23 | SSA def(i1) | Patterns.cs:8:18:8:23 | Int32 i1 | -| Patterns.cs:12:30:12:31 | s1 | Patterns.cs:12:23:12:31 | SSA def(s1) | Patterns.cs:12:23:12:31 | String s1 | -| Patterns.cs:24:22:24:23 | i2 | Patterns.cs:24:18:24:23 | SSA def(i2) | Patterns.cs:24:18:24:23 | Int32 i2 | -| Patterns.cs:27:22:27:23 | i3 | Patterns.cs:27:18:27:23 | SSA def(i3) | Patterns.cs:27:18:27:23 | Int32 i3 | -| Patterns.cs:30:25:30:26 | s2 | Patterns.cs:30:18:30:26 | SSA def(s2) | Patterns.cs:30:18:30:26 | String s2 | +| Patterns.cs:8:22:8:23 | i1 | Patterns.cs:8:22:8:23 | SSA def(i1) | Patterns.cs:8:22:8:23 | Int32 i1 | +| Patterns.cs:12:30:12:31 | s1 | Patterns.cs:12:30:12:31 | SSA def(s1) | Patterns.cs:12:30:12:31 | String s1 | +| Patterns.cs:24:22:24:23 | i2 | Patterns.cs:24:22:24:23 | SSA def(i2) | Patterns.cs:24:22:24:23 | Int32 i2 | +| Patterns.cs:27:22:27:23 | i3 | Patterns.cs:27:22:27:23 | SSA def(i3) | Patterns.cs:27:22:27:23 | Int32 i3 | +| Patterns.cs:30:25:30:26 | s2 | Patterns.cs:30:25:30:26 | SSA def(s2) | Patterns.cs:30:25:30:26 | String s2 | | Properties.cs:18:15:18:15 | x | Properties.cs:20:9:20:14 | SSA def(x) | Properties.cs:20:9:20:14 | ... = ... | | Properties.cs:18:19:18:20 | this.xs | Properties.cs:24:9:24:23 | SSA def(this.xs) | Properties.cs:24:9:24:23 | ... = ... | | Properties.cs:30:13:30:13 | f | Properties.cs:30:13:30:32 | SSA def(f) | Properties.cs:30:13:30:32 | Properties f = ... | diff --git a/csharp/ql/test/library-tests/dataflow/ssa/SsaRead.expected b/csharp/ql/test/library-tests/dataflow/ssa/SsaRead.expected index a06115caf53a..a7a16db613c8 100644 --- a/csharp/ql/test/library-tests/dataflow/ssa/SsaRead.expected +++ b/csharp/ql/test/library-tests/dataflow/ssa/SsaRead.expected @@ -221,12 +221,12 @@ | Patterns.cs:7:16:7:16 | o | Patterns.cs:7:16:7:23 | SSA def(o) | Patterns.cs:12:18:12:18 | access to local variable o | | Patterns.cs:7:16:7:16 | o | Patterns.cs:7:16:7:23 | SSA def(o) | Patterns.cs:16:18:16:18 | access to local variable o | | Patterns.cs:7:16:7:16 | o | Patterns.cs:7:16:7:23 | SSA def(o) | Patterns.cs:20:17:20:17 | access to local variable o | -| Patterns.cs:8:22:8:23 | i1 | Patterns.cs:8:18:8:23 | SSA def(i1) | Patterns.cs:10:38:10:39 | access to local variable i1 | -| Patterns.cs:12:30:12:31 | s1 | Patterns.cs:12:23:12:31 | SSA def(s1) | Patterns.cs:14:41:14:42 | access to local variable s1 | -| Patterns.cs:24:22:24:23 | i2 | Patterns.cs:24:18:24:23 | SSA def(i2) | Patterns.cs:24:30:24:31 | access to local variable i2 | -| Patterns.cs:24:22:24:23 | i2 | Patterns.cs:24:18:24:23 | SSA def(i2) | Patterns.cs:25:47:25:48 | access to local variable i2 | -| Patterns.cs:27:22:27:23 | i3 | Patterns.cs:27:18:27:23 | SSA def(i3) | Patterns.cs:28:42:28:43 | access to local variable i3 | -| Patterns.cs:30:25:30:26 | s2 | Patterns.cs:30:18:30:26 | SSA def(s2) | Patterns.cs:31:45:31:46 | access to local variable s2 | +| Patterns.cs:8:22:8:23 | i1 | Patterns.cs:8:22:8:23 | SSA def(i1) | Patterns.cs:10:38:10:39 | access to local variable i1 | +| Patterns.cs:12:30:12:31 | s1 | Patterns.cs:12:30:12:31 | SSA def(s1) | Patterns.cs:14:41:14:42 | access to local variable s1 | +| Patterns.cs:24:22:24:23 | i2 | Patterns.cs:24:22:24:23 | SSA def(i2) | Patterns.cs:24:30:24:31 | access to local variable i2 | +| Patterns.cs:24:22:24:23 | i2 | Patterns.cs:24:22:24:23 | SSA def(i2) | Patterns.cs:25:47:25:48 | access to local variable i2 | +| Patterns.cs:27:22:27:23 | i3 | Patterns.cs:27:22:27:23 | SSA def(i3) | Patterns.cs:28:42:28:43 | access to local variable i3 | +| Patterns.cs:30:25:30:26 | s2 | Patterns.cs:30:25:30:26 | SSA def(s2) | Patterns.cs:31:45:31:46 | access to local variable s2 | | Properties.cs:18:15:18:15 | x | Properties.cs:20:9:20:14 | SSA def(x) | Properties.cs:21:13:21:13 | access to local variable x | | Properties.cs:18:19:18:20 | this.xs | Properties.cs:16:17:16:17 | SSA entry def(this.xs) | Properties.cs:18:19:18:20 | access to property xs | | Properties.cs:18:19:18:20 | this.xs | Properties.cs:19:9:19:13 | SSA call def(this.xs) | Properties.cs:20:13:20:14 | access to property xs | diff --git a/csharp/ql/test/library-tests/dataflow/ssa/SsaUltimateDef.expected b/csharp/ql/test/library-tests/dataflow/ssa/SsaUltimateDef.expected index f12eaaf98268..38d65b49547c 100644 --- a/csharp/ql/test/library-tests/dataflow/ssa/SsaUltimateDef.expected +++ b/csharp/ql/test/library-tests/dataflow/ssa/SsaUltimateDef.expected @@ -243,11 +243,11 @@ | OutRef.cs:39:35:39:35 | j | OutRef.cs:41:9:42:18 | SSA phi(j) | OutRef.cs:42:13:42:17 | SSA def(j) | | OutRef.cs:39:35:39:35 | j | OutRef.cs:42:13:42:17 | SSA def(j) | OutRef.cs:42:13:42:17 | SSA def(j) | | Patterns.cs:7:16:7:16 | o | Patterns.cs:7:16:7:23 | SSA def(o) | Patterns.cs:7:16:7:23 | SSA def(o) | -| Patterns.cs:8:22:8:23 | i1 | Patterns.cs:8:18:8:23 | SSA def(i1) | Patterns.cs:8:18:8:23 | SSA def(i1) | -| Patterns.cs:12:30:12:31 | s1 | Patterns.cs:12:23:12:31 | SSA def(s1) | Patterns.cs:12:23:12:31 | SSA def(s1) | -| Patterns.cs:24:22:24:23 | i2 | Patterns.cs:24:18:24:23 | SSA def(i2) | Patterns.cs:24:18:24:23 | SSA def(i2) | -| Patterns.cs:27:22:27:23 | i3 | Patterns.cs:27:18:27:23 | SSA def(i3) | Patterns.cs:27:18:27:23 | SSA def(i3) | -| Patterns.cs:30:25:30:26 | s2 | Patterns.cs:30:18:30:26 | SSA def(s2) | Patterns.cs:30:18:30:26 | SSA def(s2) | +| Patterns.cs:8:22:8:23 | i1 | Patterns.cs:8:22:8:23 | SSA def(i1) | Patterns.cs:8:22:8:23 | SSA def(i1) | +| Patterns.cs:12:30:12:31 | s1 | Patterns.cs:12:30:12:31 | SSA def(s1) | Patterns.cs:12:30:12:31 | SSA def(s1) | +| Patterns.cs:24:22:24:23 | i2 | Patterns.cs:24:22:24:23 | SSA def(i2) | Patterns.cs:24:22:24:23 | SSA def(i2) | +| Patterns.cs:27:22:27:23 | i3 | Patterns.cs:27:22:27:23 | SSA def(i3) | Patterns.cs:27:22:27:23 | SSA def(i3) | +| Patterns.cs:30:25:30:26 | s2 | Patterns.cs:30:25:30:26 | SSA def(s2) | Patterns.cs:30:25:30:26 | SSA def(s2) | | Properties.cs:18:15:18:15 | x | Properties.cs:20:9:20:14 | SSA def(x) | Properties.cs:20:9:20:14 | SSA def(x) | | Properties.cs:18:19:18:20 | this.xs | Properties.cs:16:17:16:17 | SSA entry def(this.xs) | Properties.cs:16:17:16:17 | SSA entry def(this.xs) | | Properties.cs:18:19:18:20 | this.xs | Properties.cs:19:9:19:13 | SSA call def(this.xs) | Properties.cs:16:17:16:17 | SSA entry def(this.xs) | diff --git a/csharp/ql/test/library-tests/dataflow/tuples/DataFlowStep.expected b/csharp/ql/test/library-tests/dataflow/tuples/DataFlowStep.expected index ff91393642f4..205f1ebd5956 100644 --- a/csharp/ql/test/library-tests/dataflow/tuples/DataFlowStep.expected +++ b/csharp/ql/test/library-tests/dataflow/tuples/DataFlowStep.expected @@ -109,13 +109,13 @@ | Tuples.cs:60:17:60:17 | access to local variable x | Tuples.cs:62:57:62:57 | access to local variable t | | Tuples.cs:60:17:60:17 | access to local variable x | Tuples.cs:67:18:67:35 | (..., ...) | | Tuples.cs:60:17:60:17 | access to local variable x | Tuples.cs:87:13:87:13 | access to local variable x | -| Tuples.cs:62:18:62:57 | SSA def(t) | Tuples.cs:62:64:62:64 | access to local variable t | -| Tuples.cs:62:18:62:57 | SSA qualifier def(t.Item1) | Tuples.cs:63:22:63:28 | access to field Item1 | -| Tuples.cs:62:18:62:57 | SSA qualifier def(t.Item2) | Tuples.cs:64:22:64:28 | access to field Item2 | -| Tuples.cs:62:18:62:57 | SSA qualifier def(t.Item2.Item1) | Tuples.cs:65:22:65:34 | access to field Item1 | -| Tuples.cs:62:18:62:57 | SSA qualifier def(t.Item2.Item2) | Tuples.cs:64:22:64:34 | access to field Item2 | -| Tuples.cs:62:18:62:57 | SSA qualifier def(t.Item3) | Tuples.cs:62:64:62:70 | access to field Item3 | -| Tuples.cs:62:57:62:57 | access to local variable t | Tuples.cs:62:18:62:57 | SSA def(t) | +| Tuples.cs:62:57:62:57 | SSA def(t) | Tuples.cs:62:64:62:64 | access to local variable t | +| Tuples.cs:62:57:62:57 | SSA qualifier def(t.Item1) | Tuples.cs:63:22:63:28 | access to field Item1 | +| Tuples.cs:62:57:62:57 | SSA qualifier def(t.Item2) | Tuples.cs:64:22:64:28 | access to field Item2 | +| Tuples.cs:62:57:62:57 | SSA qualifier def(t.Item2.Item1) | Tuples.cs:65:22:65:34 | access to field Item1 | +| Tuples.cs:62:57:62:57 | SSA qualifier def(t.Item2.Item2) | Tuples.cs:64:22:64:34 | access to field Item2 | +| Tuples.cs:62:57:62:57 | SSA qualifier def(t.Item3) | Tuples.cs:62:64:62:70 | access to field Item3 | +| Tuples.cs:62:57:62:57 | access to local variable t | Tuples.cs:62:57:62:57 | SSA def(t) | | Tuples.cs:62:64:62:64 | access to local variable t | Tuples.cs:63:22:63:22 | access to local variable t | | Tuples.cs:63:22:63:22 | [post] access to local variable t | Tuples.cs:64:22:64:22 | access to local variable t | | Tuples.cs:63:22:63:22 | access to local variable t | Tuples.cs:64:22:64:22 | access to local variable t | @@ -145,8 +145,8 @@ | Tuples.cs:75:18:75:18 | access to parameter s | Tuples.cs:75:25:75:25 | access to parameter s | | Tuples.cs:76:17:76:17 | access to local variable y | Tuples.cs:78:18:78:39 | { ... } | | Tuples.cs:76:17:76:17 | access to local variable y | Tuples.cs:79:22:79:22 | access to local variable y | -| Tuples.cs:78:19:78:23 | SSA def(a) | Tuples.cs:78:46:78:46 | access to local variable a | -| Tuples.cs:78:23:78:23 | access to local variable a | Tuples.cs:78:19:78:23 | SSA def(a) | +| Tuples.cs:78:23:78:23 | SSA def(a) | Tuples.cs:78:46:78:46 | access to local variable a | +| Tuples.cs:78:23:78:23 | access to local variable a | Tuples.cs:78:23:78:23 | SSA def(a) | | Tuples.cs:78:31:78:31 | SSA def(b) | Tuples.cs:83:22:83:22 | access to local variable b | | Tuples.cs:78:31:78:31 | access to local variable b | Tuples.cs:78:31:78:31 | SSA def(b) | | Tuples.cs:78:34:78:34 | SSA def(c) | Tuples.cs:81:22:81:22 | access to local variable c | @@ -239,12 +239,12 @@ | Tuples.cs:141:13:141:32 | SSA def(x) | Tuples.cs:142:17:142:17 | access to local variable x | | Tuples.cs:141:17:141:32 | (..., ...) | Tuples.cs:141:13:141:13 | access to local variable x | | Tuples.cs:142:17:142:17 | access to local variable x | Tuples.cs:144:18:144:46 | { ... } | -| Tuples.cs:144:19:144:24 | SSA def(a1) | Tuples.cs:145:22:145:23 | access to local variable a1 | -| Tuples.cs:144:23:144:24 | access to local variable a1 | Tuples.cs:144:19:144:24 | SSA def(a1) | -| Tuples.cs:144:28:144:33 | SSA def(b1) | Tuples.cs:147:22:147:23 | access to local variable b1 | -| Tuples.cs:144:32:144:33 | access to local variable b1 | Tuples.cs:144:28:144:33 | SSA def(b1) | -| Tuples.cs:144:36:144:41 | SSA def(c1) | Tuples.cs:146:22:146:23 | access to local variable c1 | -| Tuples.cs:144:40:144:41 | access to local variable c1 | Tuples.cs:144:36:144:41 | SSA def(c1) | +| Tuples.cs:144:23:144:24 | SSA def(a1) | Tuples.cs:145:22:145:23 | access to local variable a1 | +| Tuples.cs:144:23:144:24 | access to local variable a1 | Tuples.cs:144:23:144:24 | SSA def(a1) | +| Tuples.cs:144:32:144:33 | SSA def(b1) | Tuples.cs:147:22:147:23 | access to local variable b1 | +| Tuples.cs:144:32:144:33 | access to local variable b1 | Tuples.cs:144:32:144:33 | SSA def(b1) | +| Tuples.cs:144:40:144:41 | SSA def(c1) | Tuples.cs:146:22:146:23 | access to local variable c1 | +| Tuples.cs:144:40:144:41 | access to local variable c1 | Tuples.cs:144:40:144:41 | SSA def(c1) | | Tuples.cs:147:22:147:23 | access to local variable b1 | Tuples.cs:147:22:147:23 | (...) ... | | Tuples.cs:151:13:151:14 | access to local variable o3 | Tuples.cs:151:13:151:35 | SSA def(o3) | | Tuples.cs:151:13:151:35 | SSA def(o3) | Tuples.cs:153:18:153:19 | access to local variable o3 | @@ -258,8 +258,8 @@ | Tuples.cs:153:13:153:32 | SSA def(y) | Tuples.cs:154:13:154:13 | access to local variable y | | Tuples.cs:153:17:153:32 | (..., ...) | Tuples.cs:153:13:153:13 | access to local variable y | | Tuples.cs:154:13:154:13 | access to local variable y | Tuples.cs:154:18:154:42 | { ... } | -| Tuples.cs:154:19:154:24 | SSA def(a2) | Tuples.cs:156:18:156:19 | access to local variable a2 | -| Tuples.cs:154:23:154:24 | access to local variable a2 | Tuples.cs:154:19:154:24 | SSA def(a2) | +| Tuples.cs:154:23:154:24 | SSA def(a2) | Tuples.cs:156:18:156:19 | access to local variable a2 | +| Tuples.cs:154:23:154:24 | access to local variable a2 | Tuples.cs:154:23:154:24 | SSA def(a2) | | Tuples.cs:154:32:154:33 | SSA def(b2) | Tuples.cs:158:18:158:19 | access to local variable b2 | | Tuples.cs:154:32:154:33 | access to local variable b2 | Tuples.cs:154:32:154:33 | SSA def(b2) | | Tuples.cs:154:36:154:37 | SSA def(c2) | Tuples.cs:157:18:157:19 | access to local variable c2 | @@ -277,12 +277,12 @@ | Tuples.cs:163:13:163:32 | SSA def(z) | Tuples.cs:164:13:164:13 | access to local variable z | | Tuples.cs:163:17:163:32 | (..., ...) | Tuples.cs:163:13:163:13 | access to local variable z | | Tuples.cs:164:13:164:13 | access to local variable z | Tuples.cs:164:18:164:47 | { ... } | -| Tuples.cs:164:19:164:24 | SSA def(a3) | Tuples.cs:166:18:166:19 | access to local variable a3 | -| Tuples.cs:164:23:164:24 | access to local variable a3 | Tuples.cs:164:19:164:24 | SSA def(a3) | -| Tuples.cs:164:27:164:43 | SSA def(t) | Tuples.cs:167:18:167:18 | access to local variable t | -| Tuples.cs:164:27:164:43 | SSA qualifier def(t.Item2) | Tuples.cs:167:18:167:24 | access to field Item2 | -| Tuples.cs:164:28:164:33 | SSA def(b3) | Tuples.cs:168:18:168:19 | access to local variable b3 | -| Tuples.cs:164:32:164:33 | access to local variable b3 | Tuples.cs:164:28:164:33 | SSA def(b3) | -| Tuples.cs:164:43:164:43 | access to local variable t | Tuples.cs:164:27:164:43 | SSA def(t) | +| Tuples.cs:164:23:164:24 | SSA def(a3) | Tuples.cs:166:18:166:19 | access to local variable a3 | +| Tuples.cs:164:23:164:24 | access to local variable a3 | Tuples.cs:164:23:164:24 | SSA def(a3) | +| Tuples.cs:164:32:164:33 | SSA def(b3) | Tuples.cs:168:18:168:19 | access to local variable b3 | +| Tuples.cs:164:32:164:33 | access to local variable b3 | Tuples.cs:164:32:164:33 | SSA def(b3) | +| Tuples.cs:164:43:164:43 | SSA def(t) | Tuples.cs:167:18:167:18 | access to local variable t | +| Tuples.cs:164:43:164:43 | SSA qualifier def(t.Item2) | Tuples.cs:167:18:167:24 | access to field Item2 | +| Tuples.cs:164:43:164:43 | access to local variable t | Tuples.cs:164:43:164:43 | SSA def(t) | | Tuples.cs:168:18:168:19 | access to local variable b3 | Tuples.cs:168:18:168:19 | (...) ... | | Tuples.cs:179:18:179:31 | this | Tuples.cs:179:18:179:31 | this access | diff --git a/csharp/ql/test/query-tests/Dead Code/DeadStoreOfLocal/DeadStoreOfLocal.expected b/csharp/ql/test/query-tests/Dead Code/DeadStoreOfLocal/DeadStoreOfLocal.expected index 27ddb157eca3..67420856741e 100644 --- a/csharp/ql/test/query-tests/Dead Code/DeadStoreOfLocal/DeadStoreOfLocal.expected +++ b/csharp/ql/test/query-tests/Dead Code/DeadStoreOfLocal/DeadStoreOfLocal.expected @@ -9,13 +9,13 @@ | DeadStoreOfLocal.cs:143:26:143:27 | Exception ex | This assignment to $@ is useless, since its value is never read. | DeadStoreOfLocal.cs:143:26:143:27 | ex | ex | | DeadStoreOfLocal.cs:247:17:247:24 | Int32 y = ... | This assignment to $@ is useless, since its value is never read. | DeadStoreOfLocal.cs:247:17:247:17 | y | y | | DeadStoreOfLocal.cs:262:17:262:21 | Int32 x = ... | This assignment to $@ is useless, since its value is never read. | DeadStoreOfLocal.cs:262:17:262:17 | x | x | -| DeadStoreOfLocal.cs:301:23:301:28 | Object v1 | This assignment to $@ is useless, since its value is never read. | DeadStoreOfLocal.cs:301:27:301:28 | v1 | v1 | -| DeadStoreOfLocal.cs:315:18:315:23 | Object v2 | This assignment to $@ is useless, since its value is never read. | DeadStoreOfLocal.cs:315:22:315:23 | v2 | v2 | +| DeadStoreOfLocal.cs:301:27:301:28 | Object v1 | This assignment to $@ is useless, since its value is never read. | DeadStoreOfLocal.cs:301:27:301:28 | v1 | v1 | +| DeadStoreOfLocal.cs:315:22:315:23 | Object v2 | This assignment to $@ is useless, since its value is never read. | DeadStoreOfLocal.cs:315:22:315:23 | v2 | v2 | | DeadStoreOfLocal.cs:332:9:332:32 | ... = ... | This assignment to $@ is useless, since its value is never read. | DeadStoreOfLocal.cs:328:23:328:23 | b | b | | DeadStoreOfLocal.cs:373:13:373:20 | String s = ... | This assignment to $@ is useless, since its value is never read. | DeadStoreOfLocal.cs:373:13:373:13 | s | s | | DeadStoreOfLocal.cs:473:20:473:76 | FileStream y = ... | This assignment to $@ is useless, since its value is never read. | DeadStoreOfLocal.cs:473:20:473:20 | y | y | | DeadStoreOfLocalBad.cs:7:13:7:48 | Boolean success = ... | This assignment to $@ is useless, since its value is never read. | DeadStoreOfLocalBad.cs:7:13:7:19 | success | success | | DeadStoreOfLocalBad.cs:23:32:23:32 | FormatException e | This assignment to $@ is useless, since its value is never read. | DeadStoreOfLocalBad.cs:23:32:23:32 | e | e | | DeadStoreOfLocalBad.cs:32:22:32:22 | String s | This assignment to $@ is useless, since its value is never read. | DeadStoreOfLocalBad.cs:32:22:32:22 | s | s | -| DeadStoreOfLocalBad.cs:39:18:39:22 | Int32 i | This assignment to $@ is useless, since its value is never read. | DeadStoreOfLocalBad.cs:39:22:39:22 | i | i | -| DeadStoreOfLocalBad.cs:49:18:49:25 | String s | This assignment to $@ is useless, since its value is never read. | DeadStoreOfLocalBad.cs:49:25:49:25 | s | s | +| DeadStoreOfLocalBad.cs:39:22:39:22 | Int32 i | This assignment to $@ is useless, since its value is never read. | DeadStoreOfLocalBad.cs:39:22:39:22 | i | i | +| DeadStoreOfLocalBad.cs:49:25:49:25 | String s | This assignment to $@ is useless, since its value is never read. | DeadStoreOfLocalBad.cs:49:25:49:25 | s | s | diff --git a/csharp/ql/test/query-tests/Nullness/E.cs b/csharp/ql/test/query-tests/Nullness/E.cs index e6a8066d9a7d..652413f44020 100644 --- a/csharp/ql/test/query-tests/Nullness/E.cs +++ b/csharp/ql/test/query-tests/Nullness/E.cs @@ -441,7 +441,7 @@ static void Ex45(string s, int i) if (i == 1 && s is not not null) { - s.ToString(); // $ Alert[cs/dereferenced-value-may-be-null] MISSING: Alert[cs/dereferenced-value-is-always-null] + s.ToString(); // $ Alert[cs/dereferenced-value-is-always-null] } if (i == 2 && s is not null) @@ -463,6 +463,39 @@ static void Ex45(string s, int i) s.ToString(); // GOOD } } + + static void Ex46(object value) + { + switch (value) + { + case string s: + value.ToString(); // GOOD + break; + case null: + value.ToString(); // $ Alert[cs/dereferenced-value-is-always-null] + break; + } + } + + static void Ex47() + { + object value = null; + if (value is var captured) + { + value.ToString(); // $ Alert[cs/dereferenced-value-is-always-null] + } + } + + static void Ex48() + { + object value = null; + switch (value) + { + case var _: + value.ToString(); // $ Alert[cs/dereferenced-value-is-always-null] + break; + } + } } public static class Extensions diff --git a/csharp/ql/test/query-tests/Nullness/EqualityCheck.expected b/csharp/ql/test/query-tests/Nullness/EqualityCheck.expected index 43b3b90651b9..ef0a7cf9d94e 100644 --- a/csharp/ql/test/query-tests/Nullness/EqualityCheck.expected +++ b/csharp/ql/test/query-tests/Nullness/EqualityCheck.expected @@ -48,6 +48,8 @@ | C.cs:41:22:41:30 | ... == ... | true | C.cs:41:27:41:30 | null | C.cs:41:22:41:22 | access to local variable s | | C.cs:45:22:45:30 | ... != ... | false | C.cs:45:22:45:22 | access to local variable s | C.cs:45:27:45:30 | null | | C.cs:45:22:45:30 | ... != ... | false | C.cs:45:27:45:30 | null | C.cs:45:22:45:22 | access to local variable s | +| C.cs:88:18:88:23 | access to type String | match | C.cs:88:13:88:13 | access to local variable o | C.cs:88:18:88:23 | access to type String | +| C.cs:88:18:88:23 | access to type String | match | C.cs:88:18:88:23 | access to type String | C.cs:88:13:88:13 | access to local variable o | | C.cs:113:22:113:36 | ... == ... | true | C.cs:113:22:113:28 | access to local variable colours | C.cs:113:33:113:36 | null | | C.cs:113:22:113:36 | ... == ... | true | C.cs:113:33:113:36 | null | C.cs:113:22:113:28 | access to local variable colours | | C.cs:113:41:113:59 | ... == ... | true | C.cs:113:41:113:54 | access to property Length | C.cs:113:59:113:59 | 0 | @@ -80,12 +82,16 @@ | C.cs:235:24:235:32 | ... == ... | true | C.cs:235:29:235:32 | null | C.cs:235:24:235:24 | access to local variable s | | D.cs:28:13:28:25 | ... != ... | false | D.cs:28:13:28:17 | access to parameter param | D.cs:28:22:28:25 | null | | D.cs:28:13:28:25 | ... != ... | false | D.cs:28:22:28:25 | null | D.cs:28:13:28:17 | access to parameter param | +| D.cs:37:18:37:23 | access to type String | match | D.cs:37:13:37:13 | access to parameter x | D.cs:37:18:37:23 | access to type String | +| D.cs:37:18:37:23 | access to type String | match | D.cs:37:18:37:23 | access to type String | D.cs:37:13:37:13 | access to parameter x | | D.cs:38:13:38:21 | ... == ... | true | D.cs:38:13:38:13 | access to parameter x | D.cs:38:18:38:21 | null | | D.cs:38:13:38:21 | ... == ... | true | D.cs:38:18:38:21 | null | D.cs:38:13:38:13 | access to parameter x | | D.cs:39:16:39:24 | ... == ... | true | D.cs:39:16:39:16 | access to parameter x | D.cs:39:21:39:24 | null | | D.cs:39:16:39:24 | ... == ... | true | D.cs:39:21:39:24 | null | D.cs:39:16:39:16 | access to parameter x | | D.cs:45:13:45:22 | ... != ... | false | D.cs:45:13:45:14 | access to local variable o1 | D.cs:45:19:45:22 | null | | D.cs:45:13:45:22 | ... != ... | false | D.cs:45:19:45:22 | null | D.cs:45:13:45:14 | access to local variable o1 | +| D.cs:48:19:48:24 | access to type String | match | D.cs:48:13:48:14 | access to local variable o2 | D.cs:48:19:48:24 | access to type String | +| D.cs:48:19:48:24 | access to type String | match | D.cs:48:19:48:24 | access to type String | D.cs:48:13:48:14 | access to local variable o2 | | D.cs:51:13:51:44 | ... != ... | false | D.cs:51:14:51:35 | ... = ... | D.cs:51:41:51:44 | null | | D.cs:51:13:51:44 | ... != ... | false | D.cs:51:41:51:44 | null | D.cs:51:14:51:35 | ... = ... | | D.cs:55:13:55:42 | ... != ... | false | D.cs:55:14:55:32 | ... && ... | D.cs:55:38:55:42 | false | @@ -136,6 +142,8 @@ | D.cs:242:13:242:25 | ... == ... | true | D.cs:242:22:242:25 | null | D.cs:242:13:242:17 | access to local variable other | | D.cs:244:13:244:25 | ... != ... | false | D.cs:244:13:244:17 | access to local variable other | D.cs:244:22:244:25 | null | | D.cs:244:13:244:25 | ... != ... | false | D.cs:244:22:244:25 | null | D.cs:244:13:244:17 | access to local variable other | +| D.cs:266:22:266:27 | access to type String | match | D.cs:266:13:266:17 | access to local variable other | D.cs:266:22:266:27 | access to type String | +| D.cs:266:22:266:27 | access to type String | match | D.cs:266:22:266:27 | access to type String | D.cs:266:13:266:17 | access to local variable other | | D.cs:274:17:274:26 | ... == ... | true | D.cs:274:17:274:20 | access to array element | D.cs:274:25:274:26 | 42 | | D.cs:274:17:274:26 | ... == ... | true | D.cs:274:25:274:26 | 42 | D.cs:274:17:274:20 | access to array element | | D.cs:299:17:299:22 | ... != ... | false | D.cs:299:17:299:17 | access to local variable i | D.cs:299:22:299:22 | 0 | @@ -210,6 +218,8 @@ | E.cs:180:13:180:23 | ... == ... | true | E.cs:180:20:180:23 | null | E.cs:180:13:180:15 | access to parameter obj | | E.cs:184:13:184:22 | ... == ... | true | E.cs:184:13:184:14 | (...) ... | E.cs:184:19:184:22 | null | | E.cs:184:13:184:22 | ... == ... | true | E.cs:184:19:184:22 | null | E.cs:184:13:184:14 | (...) ... | +| E.cs:208:18:208:23 | access to type String | match | E.cs:208:13:208:13 | access to parameter s | E.cs:208:18:208:23 | access to type String | +| E.cs:208:18:208:23 | access to type String | match | E.cs:208:18:208:23 | access to type String | E.cs:208:13:208:13 | access to parameter s | | E.cs:252:13:252:21 | ... != ... | false | E.cs:252:13:252:13 | access to parameter i | E.cs:252:18:252:21 | null | | E.cs:252:13:252:21 | ... != ... | false | E.cs:252:18:252:21 | null | E.cs:252:13:252:13 | access to parameter i | | E.cs:259:13:259:21 | ... == ... | true | E.cs:259:13:259:13 | access to parameter i | E.cs:259:18:259:21 | null | @@ -218,12 +228,14 @@ | E.cs:274:17:274:25 | ... != ... | false | E.cs:274:22:274:25 | null | E.cs:274:17:274:17 | access to local variable o | | E.cs:293:13:293:24 | ... == ... | true | E.cs:293:13:293:19 | call to method M2 | E.cs:293:24:293:24 | (...) ... | | E.cs:293:13:293:24 | ... == ... | true | E.cs:293:24:293:24 | (...) ... | E.cs:293:13:293:19 | call to method M2 | -| E.cs:321:13:321:30 | ... is ... | true | E.cs:321:14:321:21 | ... ?? ... | E.cs:321:27:321:30 | null | -| E.cs:321:13:321:30 | ... is ... | true | E.cs:321:27:321:30 | null | E.cs:321:14:321:21 | ... ?? ... | +| E.cs:321:27:321:30 | null | match | E.cs:321:14:321:21 | ... ?? ... | E.cs:321:27:321:30 | null | +| E.cs:321:27:321:30 | null | match | E.cs:321:27:321:30 | null | E.cs:321:14:321:21 | ... ?? ... | | E.cs:355:13:355:21 | dynamic call to operator != | false | E.cs:355:13:355:13 | access to local variable x | E.cs:355:18:355:21 | null | | E.cs:355:13:355:21 | dynamic call to operator != | false | E.cs:355:18:355:21 | null | E.cs:355:13:355:13 | access to local variable x | | E.cs:362:13:362:29 | ... != ... | false | E.cs:362:13:362:13 | access to local variable x | E.cs:362:18:362:29 | (...) ... | | E.cs:362:13:362:29 | ... != ... | false | E.cs:362:18:362:29 | (...) ... | E.cs:362:13:362:13 | access to local variable x | +| E.cs:372:18:372:23 | access to type String | match | E.cs:372:13:372:13 | access to parameter o | E.cs:372:18:372:23 | access to type String | +| E.cs:372:18:372:23 | access to type String | match | E.cs:372:18:372:23 | access to type String | E.cs:372:13:372:13 | access to parameter o | | E.cs:382:14:382:23 | ... == ... | true | E.cs:382:14:382:15 | access to parameter e1 | E.cs:382:20:382:23 | null | | E.cs:382:14:382:23 | ... == ... | true | E.cs:382:20:382:23 | null | E.cs:382:14:382:15 | access to parameter e1 | | E.cs:382:28:382:37 | ... != ... | false | E.cs:382:28:382:29 | access to parameter e2 | E.cs:382:34:382:37 | null | @@ -246,16 +258,42 @@ | E.cs:430:34:430:45 | ... == ... | true | E.cs:430:39:430:45 | access to property Value | E.cs:430:34:430:34 | access to parameter j | | E.cs:437:13:437:18 | ... == ... | true | E.cs:437:13:437:13 | access to parameter i | E.cs:437:18:437:18 | 0 | | E.cs:437:13:437:18 | ... == ... | true | E.cs:437:18:437:18 | 0 | E.cs:437:13:437:13 | access to parameter i | -| E.cs:437:23:437:31 | ... is ... | true | E.cs:437:23:437:23 | access to parameter s | E.cs:437:28:437:31 | null | -| E.cs:437:23:437:31 | ... is ... | true | E.cs:437:28:437:31 | null | E.cs:437:23:437:23 | access to parameter s | +| E.cs:437:28:437:31 | null | match | E.cs:437:23:437:23 | access to parameter s | E.cs:437:28:437:31 | null | +| E.cs:437:28:437:31 | null | match | E.cs:437:28:437:31 | null | E.cs:437:23:437:23 | access to parameter s | | E.cs:442:13:442:18 | ... == ... | true | E.cs:442:13:442:13 | access to parameter i | E.cs:442:18:442:18 | 1 | | E.cs:442:13:442:18 | ... == ... | true | E.cs:442:18:442:18 | 1 | E.cs:442:13:442:13 | access to parameter i | +| E.cs:442:28:442:39 | not ... | match | E.cs:442:23:442:23 | access to parameter s | E.cs:442:28:442:39 | not ... | +| E.cs:442:28:442:39 | not ... | match | E.cs:442:28:442:39 | not ... | E.cs:442:23:442:23 | access to parameter s | +| E.cs:442:32:442:39 | not ... | match | E.cs:442:23:442:23 | access to parameter s | E.cs:442:32:442:39 | not ... | +| E.cs:442:32:442:39 | not ... | match | E.cs:442:32:442:39 | not ... | E.cs:442:23:442:23 | access to parameter s | +| E.cs:442:36:442:39 | null | match | E.cs:442:23:442:23 | access to parameter s | E.cs:442:36:442:39 | null | +| E.cs:442:36:442:39 | null | match | E.cs:442:36:442:39 | null | E.cs:442:23:442:23 | access to parameter s | | E.cs:447:13:447:18 | ... == ... | true | E.cs:447:13:447:13 | access to parameter i | E.cs:447:18:447:18 | 2 | | E.cs:447:13:447:18 | ... == ... | true | E.cs:447:18:447:18 | 2 | E.cs:447:13:447:13 | access to parameter i | -| E.cs:447:23:447:35 | ... is ... | false | E.cs:447:23:447:23 | access to parameter s | E.cs:447:32:447:35 | null | -| E.cs:447:23:447:35 | ... is ... | false | E.cs:447:32:447:35 | null | E.cs:447:23:447:23 | access to parameter s | +| E.cs:447:28:447:35 | not ... | match | E.cs:447:23:447:23 | access to parameter s | E.cs:447:28:447:35 | not ... | +| E.cs:447:28:447:35 | not ... | match | E.cs:447:28:447:35 | not ... | E.cs:447:23:447:23 | access to parameter s | +| E.cs:447:32:447:35 | null | match | E.cs:447:23:447:23 | access to parameter s | E.cs:447:32:447:35 | null | +| E.cs:447:32:447:35 | null | match | E.cs:447:32:447:35 | null | E.cs:447:23:447:23 | access to parameter s | | E.cs:452:13:452:18 | ... == ... | true | E.cs:452:13:452:13 | access to parameter i | E.cs:452:18:452:18 | 3 | | E.cs:452:13:452:18 | ... == ... | true | E.cs:452:18:452:18 | 3 | E.cs:452:13:452:13 | access to parameter i | +| E.cs:452:28:452:33 | access to type Object | match | E.cs:452:23:452:23 | access to parameter s | E.cs:452:28:452:33 | access to type Object | +| E.cs:452:28:452:33 | access to type Object | match | E.cs:452:28:452:33 | access to type Object | E.cs:452:23:452:23 | access to parameter s | +| E.cs:457:18:457:27 | not ... | match | E.cs:457:13:457:13 | access to parameter s | E.cs:457:18:457:27 | not ... | +| E.cs:457:18:457:27 | not ... | match | E.cs:457:18:457:27 | not ... | E.cs:457:13:457:13 | access to parameter s | +| E.cs:457:22:457:27 | access to type Object | match | E.cs:457:13:457:13 | access to parameter s | E.cs:457:22:457:27 | access to type Object | +| E.cs:457:22:457:27 | access to type Object | match | E.cs:457:22:457:27 | access to type Object | E.cs:457:13:457:13 | access to parameter s | +| E.cs:471:18:471:25 | String s | match | E.cs:469:17:469:21 | access to parameter value | E.cs:471:18:471:25 | String s | +| E.cs:471:18:471:25 | String s | match | E.cs:471:18:471:25 | String s | E.cs:469:17:469:21 | access to parameter value | +| E.cs:474:18:474:21 | null | match | E.cs:469:17:469:21 | access to parameter value | E.cs:474:18:474:21 | null | +| E.cs:474:18:474:21 | null | match | E.cs:474:18:474:21 | null | E.cs:469:17:469:21 | access to parameter value | +| E.cs:483:22:483:33 | Object captured | match | E.cs:483:13:483:17 | access to local variable value | E.cs:483:22:483:33 | Object captured | +| E.cs:483:22:483:33 | Object captured | match | E.cs:483:22:483:33 | Object captured | E.cs:483:13:483:17 | access to local variable value | +| E.cs:494:22:494:22 | _ | match | E.cs:492:17:492:21 | access to local variable value | E.cs:494:22:494:22 | _ | +| E.cs:494:22:494:22 | _ | match | E.cs:494:22:494:22 | _ | E.cs:492:17:492:21 | access to local variable value | +| Forwarding.cs:45:21:45:26 | access to type String | match | Forwarding.cs:45:16:45:16 | access to parameter o | Forwarding.cs:45:21:45:26 | access to type String | +| Forwarding.cs:45:21:45:26 | access to type String | match | Forwarding.cs:45:21:45:26 | access to type String | Forwarding.cs:45:16:45:16 | access to parameter o | +| Forwarding.cs:50:18:50:23 | access to type String | match | Forwarding.cs:50:13:50:13 | access to parameter o | Forwarding.cs:50:18:50:23 | access to type String | +| Forwarding.cs:50:18:50:23 | access to type String | match | Forwarding.cs:50:18:50:23 | access to type String | Forwarding.cs:50:13:50:13 | access to parameter o | | Forwarding.cs:59:13:59:21 | ... == ... | true | Forwarding.cs:59:13:59:13 | access to parameter o | Forwarding.cs:59:18:59:21 | null | | Forwarding.cs:59:13:59:21 | ... == ... | true | Forwarding.cs:59:18:59:21 | null | Forwarding.cs:59:13:59:13 | access to parameter o | | Forwarding.cs:78:16:78:39 | call to method ReferenceEquals | true | Forwarding.cs:78:32:78:32 | access to parameter o | Forwarding.cs:78:35:78:38 | null | diff --git a/csharp/ql/test/query-tests/Nullness/NullAlways.expected b/csharp/ql/test/query-tests/Nullness/NullAlways.expected index f95639c9b329..90a0dc0cc81c 100644 --- a/csharp/ql/test/query-tests/Nullness/NullAlways.expected +++ b/csharp/ql/test/query-tests/Nullness/NullAlways.expected @@ -37,6 +37,10 @@ | E.cs:331:9:331:9 | access to local variable x | Variable $@ is always null at this dereference. | E.cs:330:13:330:13 | x | x | | E.cs:405:16:405:16 | access to local variable i | Variable $@ is always null at this dereference. | E.cs:403:14:403:14 | i | i | | E.cs:439:13:439:13 | access to parameter s | Variable $@ is always null at this dereference. | E.cs:435:29:435:29 | s | s | +| E.cs:444:13:444:13 | access to parameter s | Variable $@ is always null at this dereference. | E.cs:435:29:435:29 | s | s | +| E.cs:475:17:475:21 | access to parameter value | Variable $@ is always null at this dereference. | E.cs:467:29:467:33 | value | value | +| E.cs:485:13:485:17 | access to local variable value | Variable $@ is always null at this dereference. | E.cs:482:16:482:20 | value | value | +| E.cs:495:17:495:21 | access to local variable value | Variable $@ is always null at this dereference. | E.cs:491:16:491:20 | value | value | | F.cs:8:9:8:9 | access to local variable o | Variable $@ is always null at this dereference. | F.cs:7:16:7:16 | o | o | | Forwarding.cs:31:31:31:31 | access to local variable s | Variable $@ is always null at this dereference. | Forwarding.cs:7:16:7:16 | s | s | | Forwarding.cs:36:31:36:31 | access to local variable s | Variable $@ is always null at this dereference. | Forwarding.cs:7:16:7:16 | s | s | diff --git a/csharp/ql/test/query-tests/Nullness/NullCheck.expected b/csharp/ql/test/query-tests/Nullness/NullCheck.expected index d6fc07cc8632..b8592624c2a9 100644 --- a/csharp/ql/test/query-tests/Nullness/NullCheck.expected +++ b/csharp/ql/test/query-tests/Nullness/NullCheck.expected @@ -56,7 +56,6 @@ | D.cs:38:13:38:21 | ... == ... | D.cs:38:13:38:13 | access to parameter x | | D.cs:39:16:39:24 | ... == ... | D.cs:39:16:39:16 | access to parameter x | | D.cs:45:13:45:22 | ... != ... | D.cs:45:13:45:14 | access to local variable o1 | -| D.cs:48:13:48:24 | ... is ... | D.cs:48:13:48:14 | access to local variable o2 | | D.cs:48:19:48:24 | access to type String | D.cs:48:13:48:14 | access to local variable o2 | | D.cs:51:13:51:44 | ... != ... | D.cs:51:14:51:35 | ... = ... | | D.cs:55:23:55:32 | ... != ... | D.cs:55:23:55:24 | access to local variable o4 | @@ -104,7 +103,6 @@ | E.cs:175:19:175:29 | ... == ... | E.cs:175:19:175:21 | access to parameter obj | | E.cs:180:13:180:23 | ... == ... | E.cs:180:13:180:15 | access to parameter obj | | E.cs:193:17:193:17 | access to parameter o | E.cs:193:17:193:17 | access to parameter o | -| E.cs:208:13:208:23 | ... is ... | E.cs:208:13:208:13 | access to parameter s | | E.cs:208:18:208:23 | access to type String | E.cs:208:13:208:13 | access to parameter s | | E.cs:245:13:245:22 | access to property HasValue | E.cs:245:13:245:13 | access to parameter i | | E.cs:252:13:252:21 | ... != ... | E.cs:252:13:252:13 | access to parameter i | @@ -114,8 +112,8 @@ | E.cs:293:13:293:13 | access to local variable s | E.cs:293:13:293:13 | access to local variable s | | E.cs:306:31:306:31 | access to field l | E.cs:306:31:306:31 | access to field l | | E.cs:309:13:309:22 | access to property HasValue | E.cs:309:13:309:13 | access to field l | -| E.cs:321:13:321:30 | ... is ... | E.cs:321:14:321:21 | ... ?? ... | | E.cs:321:14:321:15 | access to parameter s1 | E.cs:321:14:321:15 | access to parameter s1 | +| E.cs:321:27:321:30 | null | E.cs:321:14:321:21 | ... ?? ... | | E.cs:330:17:330:28 | (...) ... | E.cs:330:17:330:28 | (...) ... | | E.cs:336:17:336:17 | access to parameter s | E.cs:336:17:336:17 | access to parameter s | | E.cs:342:17:342:17 | access to parameter s | E.cs:342:17:342:17 | access to parameter s | @@ -135,8 +133,10 @@ | E.cs:404:9:404:9 | access to local variable i | E.cs:404:9:404:9 | access to local variable i | | E.cs:422:13:422:22 | access to property HasValue | E.cs:422:13:422:13 | access to parameter i | | E.cs:429:13:429:22 | access to property HasValue | E.cs:429:13:429:13 | access to parameter i | -| E.cs:437:23:437:31 | ... is ... | E.cs:437:23:437:23 | access to parameter s | -| E.cs:447:23:447:35 | ... is ... | E.cs:447:23:447:23 | access to parameter s | +| E.cs:437:28:437:31 | null | E.cs:437:23:437:23 | access to parameter s | +| E.cs:442:36:442:39 | null | E.cs:442:23:442:23 | access to parameter s | +| E.cs:447:32:447:35 | null | E.cs:447:23:447:23 | access to parameter s | +| E.cs:474:18:474:21 | null | E.cs:469:17:469:21 | access to parameter value | | Forwarding.cs:45:66:45:75 | call to method IsNull | Forwarding.cs:45:66:45:66 | access to parameter o | | Forwarding.cs:59:13:59:21 | ... == ... | Forwarding.cs:59:13:59:13 | access to parameter o | | Forwarding.cs:78:16:78:39 | call to method ReferenceEquals | Forwarding.cs:78:32:78:32 | access to parameter o | diff --git a/csharp/ql/test/query-tests/Nullness/NullMaybe.expected b/csharp/ql/test/query-tests/Nullness/NullMaybe.expected index ba8c7eb90913..e2b68f7d2221 100644 --- a/csharp/ql/test/query-tests/Nullness/NullMaybe.expected +++ b/csharp/ql/test/query-tests/Nullness/NullMaybe.expected @@ -57,10 +57,9 @@ | E.cs:417:34:417:34 | access to parameter i | Variable $@ may be null at this access because it has a nullable type. | E.cs:415:27:415:27 | i | i | E.cs:415:27:415:27 | i | this | | E.cs:423:38:423:38 | access to parameter i | Variable $@ may be null at this access because it has a nullable type. | E.cs:420:27:420:27 | i | i | E.cs:420:27:420:27 | i | this | | E.cs:430:39:430:39 | access to parameter i | Variable $@ may be null at this access because it has a nullable type. | E.cs:427:27:427:27 | i | i | E.cs:427:27:427:27 | i | this | -| E.cs:444:13:444:13 | access to parameter s | Variable $@ may be null at this access as suggested by $@ null check. | E.cs:435:29:435:29 | s | s | E.cs:437:23:437:31 | ... is ... | this | -| E.cs:444:13:444:13 | access to parameter s | Variable $@ may be null at this access as suggested by $@ null check. | E.cs:435:29:435:29 | s | s | E.cs:447:23:447:35 | ... is ... | this | -| E.cs:459:13:459:13 | access to parameter s | Variable $@ may be null at this access as suggested by $@ null check. | E.cs:435:29:435:29 | s | s | E.cs:437:23:437:31 | ... is ... | this | -| E.cs:459:13:459:13 | access to parameter s | Variable $@ may be null at this access as suggested by $@ null check. | E.cs:435:29:435:29 | s | s | E.cs:447:23:447:35 | ... is ... | this | +| E.cs:459:13:459:13 | access to parameter s | Variable $@ may be null at this access as suggested by $@ null check. | E.cs:435:29:435:29 | s | s | E.cs:437:28:437:31 | null | this | +| E.cs:459:13:459:13 | access to parameter s | Variable $@ may be null at this access as suggested by $@ null check. | E.cs:435:29:435:29 | s | s | E.cs:442:36:442:39 | null | this | +| E.cs:459:13:459:13 | access to parameter s | Variable $@ may be null at this access as suggested by $@ null check. | E.cs:435:29:435:29 | s | s | E.cs:447:32:447:35 | null | this | | GuardedString.cs:35:31:35:31 | access to local variable s | Variable $@ may be null at this access because of $@ assignment. | GuardedString.cs:7:16:7:16 | s | s | GuardedString.cs:7:16:7:32 | String s = ... | this | | NullMaybeBad.cs:7:27:7:27 | access to parameter o | Variable $@ may be null at this access because of $@ null argument. | NullMaybeBad.cs:5:25:5:25 | o | o | NullMaybeBad.cs:13:17:13:20 | null | this | | Params.cs:14:17:14:20 | access to parameter args | Variable $@ may be null at this access because of $@ null argument. | Params.cs:12:36:12:39 | args | args | Params.cs:20:12:20:15 | null | this | From cbce3e35ee507d97f3884b5014d31ec3ee5438ce Mon Sep 17 00:00:00 2001 From: Tom Hvitved Date: Mon, 23 Nov 2026 15:28:57 +0100 Subject: [PATCH 11/11] Java: Adopt pattern-aware CFG/Guards support Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../lib/semmle/code/java/ControlFlowGraph.qll | 66 ++++++- java/ql/lib/semmle/code/java/Expr.qll | 25 ++- .../semmle/code/java/controlflow/Guards.qll | 77 ++++---- .../java/controlflow/internal/SwitchCases.qll | 40 ++++ .../code/java/dataflow/ModulusAnalysis.qll | 10 +- .../semmle/code/java/dataflow/NullGuards.qll | 10 +- .../semmle/code/java/dataflow/Nullness.qll | 1 - .../semmle/code/java/dataflow/TypeFlow.qll | 2 +- .../rangeanalysis/ModulusAnalysisSpecific.qll | 18 +- .../rangeanalysis/SignAnalysisCommon.qll | 15 +- .../rangeanalysis/SignAnalysisSpecific.qll | 18 +- java/ql/test/library-tests/guards/Guards.java | 16 +- .../guards/GuardsInline.expected | 8 + .../library-tests/guards/guardslogic.expected | 1 + .../library-tests/guards12/guard.expected | 106 ++++++++--- .../pattern-instanceof/cfg.expected | 30 +-- .../pattern-switch/cfg/test.expected | 180 +++++++++++------- .../UselessNullCheck.expected | 2 +- 18 files changed, 414 insertions(+), 211 deletions(-) diff --git a/java/ql/lib/semmle/code/java/ControlFlowGraph.qll b/java/ql/lib/semmle/code/java/ControlFlowGraph.qll index d8cdfe63ae84..74968b6d13e7 100644 --- a/java/ql/lib/semmle/code/java/ControlFlowGraph.qll +++ b/java/ql/lib/semmle/code/java/ControlFlowGraph.qll @@ -8,6 +8,7 @@ import java private import codeql.controlflow.ControlFlowGraph private import codeql.controlflow.SuccessorType private import controlflow.internal.Preconditions +private import controlflow.internal.SwitchCases private module Cfg0 = Make0; @@ -41,11 +42,17 @@ private module Ast implements AstSig { AstNode getChild(AstNode n, int index) { not skipControlFlow(result) and not skipControlFlow(n) and + not isBindingTypeTest(n, _, _, result) and result.(Expr).isNthChildOf(n, index) or result.(Stmt).isNthChildOf(n, index) or result = n.(SwitchCase).getRuleExpression() and index = -1 + or + isBindingTypeTest(_, n, _, result) and + index = 0 + or + isBindingTypeTest(n, result, index, _) } Callable getEnclosingCallable(AstNode node) { @@ -177,10 +184,7 @@ private module Ast implements AstSig { class Case extends AstNode instanceof J::SwitchCase { /** Gets the pattern being matched by this case at the specified (zero-based) `index`. */ - AstNode getPattern(int index) { - result = this.(PatternCase).getPattern(index) or - result = this.(ConstCase).getValue(index) - } + AstNode getPattern(int index) { result = getSwitchCasePattern(this, index) } /** Gets the guard expression of this case, if any. */ Expr getGuard() { result = this.(PatternCase).getGuard() } @@ -241,12 +245,45 @@ private module Ast implements AstSig { boolean getValue() { result = this.getBooleanValue() } } + final class Pattern = PatternImpl; + + abstract private class PatternImpl extends AstNode { } + + private class NonBindingPattern extends PatternImpl { + NonBindingPattern() { + isBindingTypeTest(_, this, _, _) + or + this instanceof RecordPatternExpr + } + } + + class AndPattern extends Pattern { + AndPattern() { none() } + } + + class OrPattern extends Pattern { + OrPattern() { none() } + } + + class NotPattern extends Pattern { + NotPattern() { none() } + + Pattern getNegatedPattern() { none() } + } + + class BindingPattern extends PatternImpl { + BindingPattern() { + isBindingTypeTest(_, _, _, this) + or + // needed for cases like `A(var x)` where there is no type test + this = any(RecordPatternExpr rpe).getSubPattern(_).(LocalVariableDeclExpr) + } + } + final private class FinalInstanceOfExpr = J::InstanceOfExpr; class PatternMatchExpr extends FinalInstanceOfExpr { - PatternMatchExpr() { this.isPattern() } - - AstNode getPattern() { result = super.getPattern() } + AstNode getPattern() { result = getInstanceOfExprPattern(this) } } } @@ -532,6 +569,17 @@ private module Input implements InputSig1, InputSig2 { c.(J::PatternCase).getAPattern().getType() instanceof TypeObject } + predicate patternIsExhaustive(Ast::Pattern pattern) { + pattern.(TypeAccess).getType() instanceof TypeObject + or + exists(PatternExpr sub | any(RecordPatternExpr rpe).subPatternIsUnrestricted(sub, _) | + isBindingTypeTest(_, pattern, _, sub) + or + not sub instanceof LocalVariableDeclExpr and + pattern = sub + ) + } + private newtype TLabel = TJavaLabel(string l) { exists(LabeledStmt lbl | l = lbl.getLabel()) } or TYield() @@ -619,10 +667,10 @@ private module Input implements InputSig1, InputSig2 { n1.isBefore(assertstmt) and n2.isBefore(assertstmt.getExpr()) or - n1.isAfterValue(assertstmt.getExpr(), any(BooleanSuccessor s | s.getValue() = true)) and + n1.isAfterTrue(assertstmt.getExpr()) and n2.isAfter(assertstmt) or - n1.isAfterValue(assertstmt.getExpr(), any(BooleanSuccessor s | s.getValue() = false)) and + n1.isAfterFalse(assertstmt.getExpr()) and ( n2.isBefore(assertstmt.getMessage()) or diff --git a/java/ql/lib/semmle/code/java/Expr.qll b/java/ql/lib/semmle/code/java/Expr.qll index dfb50c355eae..3cb6f88a62c7 100644 --- a/java/ql/lib/semmle/code/java/Expr.qll +++ b/java/ql/lib/semmle/code/java/Expr.qll @@ -2761,6 +2761,23 @@ class RecordPatternExpr extends Expr, @recordpatternexpr { */ PatternExpr getSubPattern(int i) { result.isNthChildOf(this, i) } + /** + * Holds if the `i`th sub pattern `subPattern` of this record pattern matches + * any value of its type. + * + * This is used to determine if this record pattern matches any record of its type. + */ + predicate subPatternIsUnrestricted(PatternExpr subPattern, int idx) { + subPattern = this.getSubPattern(idx) and + subPattern.getType() = + this.getType().(Record).getCanonicalConstructor().getParameter(idx).getType() and + ( + subPattern instanceof LocalVariableDeclExpr + or + subPattern.(RecordPatternExpr).isUnrestricted() + ) + } + /** * Holds if this record pattern matches any record of its type. * @@ -2769,13 +2786,7 @@ class RecordPatternExpr extends Expr, @recordpatternexpr { */ predicate isUnrestricted() { forall(PatternExpr subPattern, int idx | subPattern = this.getSubPattern(idx) | - subPattern.getType() = - this.getType().(Record).getCanonicalConstructor().getParameter(idx).getType() and - ( - subPattern instanceof LocalVariableDeclExpr - or - subPattern.(RecordPatternExpr).isUnrestricted() - ) + this.subPatternIsUnrestricted(subPattern, idx) ) } diff --git a/java/ql/lib/semmle/code/java/controlflow/Guards.qll b/java/ql/lib/semmle/code/java/controlflow/Guards.qll index ba38e7fe91e7..bc12d582caed 100644 --- a/java/ql/lib/semmle/code/java/controlflow/Guards.qll +++ b/java/ql/lib/semmle/code/java/controlflow/Guards.qll @@ -157,15 +157,46 @@ private module GuardsInput implements SharedGuards::InputSig { /** Holds if `ioe` checks `v` and its true-successor is `bb`. */ private predicate instanceofTrueSuccessor(InstanceOfExpr ioe, BasicBlock bb, Base::SsaDefinition v) { ioe.getExpr() = v.getARead() and - exists(ConditionBlock cb | cb.getCondition() = ioe and cb.getTestSuccessor(true) = bb) + bb.getANode().isAfterTrue(ioe) } /** diff --git a/java/ql/lib/semmle/code/java/dataflow/internal/rangeanalysis/ModulusAnalysisSpecific.qll b/java/ql/lib/semmle/code/java/dataflow/internal/rangeanalysis/ModulusAnalysisSpecific.qll index 8bba028d26cf..eea7d218ad7f 100644 --- a/java/ql/lib/semmle/code/java/dataflow/internal/rangeanalysis/ModulusAnalysisSpecific.qll +++ b/java/ql/lib/semmle/code/java/dataflow/internal/rangeanalysis/ModulusAnalysisSpecific.qll @@ -19,10 +19,10 @@ module Private { class Expr = J::Expr; + class GuardValue = G::GuardValue; + class Guard extends G::Guards_v2::Guard { - predicate isEquality(Expr e1, Expr e2, boolean eqval) { - super.isEquality(e1, e2, any(G::GuardValue gv | gv.asBooleanValue() = eqval)) - } + predicate isEquality(Expr e1, Expr e2, GuardValue eqval) { super.isEquality(e1, e2, eqval) } } class ConstantIntegerExpr = RU::ConstantIntegerExpr; @@ -110,16 +110,14 @@ module Private { } /** - * Holds if `guard` controls the position `controlled` with the value `testIsTrue`. + * Holds if `guard` controls the position `controlled` with the value `v`. */ - predicate guardControlsSsaRead(Guard guard, SsaReadPosition controlled, boolean testIsTrue) { - guard.controls(controlled.(SsaReadPositionBlock).getBlock(), testIsTrue) + predicate guardControlsSsaRead(Guard guard, SsaReadPosition controlled, GuardValue v) { + guard.valueControls(controlled.(SsaReadPositionBlock).getBlock(), v) or exists(SsaReadPositionPhiInputEdge controlledEdge | controlledEdge = controlled | - guard.controls(controlledEdge.getOrigBlock(), testIsTrue) or - guard - .controlsBranchEdge(controlledEdge.getOrigBlock(), controlledEdge.getPhiBlock(), - testIsTrue) + guard.valueControls(controlledEdge.getOrigBlock(), v) or + guard.valueControlsBranchEdge(controlledEdge.getOrigBlock(), controlledEdge.getPhiBlock(), v) ) } diff --git a/java/ql/lib/semmle/code/java/dataflow/internal/rangeanalysis/SignAnalysisCommon.qll b/java/ql/lib/semmle/code/java/dataflow/internal/rangeanalysis/SignAnalysisCommon.qll index 8f8d884c9566..f6595eeb21ae 100644 --- a/java/ql/lib/semmle/code/java/dataflow/internal/rangeanalysis/SignAnalysisCommon.qll +++ b/java/ql/lib/semmle/code/java/dataflow/internal/rangeanalysis/SignAnalysisCommon.qll @@ -64,7 +64,8 @@ private predicate unknownSign(Expr e) { private predicate lowerBound(Expr lowerbound, SsaVariable v, SsaReadPosition pos, boolean isStrict) { exists(boolean testIsTrue, ComparisonExpr comp | pos.hasReadOfVar(v) and - guardControlsSsaRead(getComparisonGuard(comp), pos, testIsTrue) and + guardControlsSsaRead(getComparisonGuard(comp), pos, + any(GuardValue gv | gv.asBooleanValue() = testIsTrue)) and not unknownSign(lowerbound) | testIsTrue = true and @@ -86,7 +87,8 @@ private predicate lowerBound(Expr lowerbound, SsaVariable v, SsaReadPosition pos private predicate upperBound(Expr upperbound, SsaVariable v, SsaReadPosition pos, boolean isStrict) { exists(boolean testIsTrue, ComparisonExpr comp | pos.hasReadOfVar(v) and - guardControlsSsaRead(getComparisonGuard(comp), pos, testIsTrue) and + guardControlsSsaRead(getComparisonGuard(comp), pos, + any(GuardValue gv | gv.asBooleanValue() = testIsTrue)) and not unknownSign(upperbound) | testIsTrue = true and @@ -109,12 +111,15 @@ private predicate upperBound(Expr upperbound, SsaVariable v, SsaReadPosition pos * - `isEq = false` : `v != eqbound` */ private predicate eqBound(Expr eqbound, SsaVariable v, SsaReadPosition pos, boolean isEq) { - exists(Guard guard, boolean testIsTrue, boolean polarity | + exists(Guard guard, GuardValue testIsTrue, GuardValue eqval | pos.hasReadOfVar(v) and guardControlsSsaRead(guard, pos, testIsTrue) and - guard.isEquality(eqbound, ssaRead(v, 0), polarity) and - isEq = polarity.booleanXor(testIsTrue).booleanNot() and + guard.isEquality(eqbound, ssaRead(v, 0), eqval) and not unknownSign(eqbound) + | + testIsTrue = eqval and isEq = true + or + testIsTrue = eqval.getDualValue() and isEq = false ) } diff --git a/java/ql/lib/semmle/code/java/dataflow/internal/rangeanalysis/SignAnalysisSpecific.qll b/java/ql/lib/semmle/code/java/dataflow/internal/rangeanalysis/SignAnalysisSpecific.qll index 2783924b29dc..e27e5e9a46b1 100644 --- a/java/ql/lib/semmle/code/java/dataflow/internal/rangeanalysis/SignAnalysisSpecific.qll +++ b/java/ql/lib/semmle/code/java/dataflow/internal/rangeanalysis/SignAnalysisSpecific.qll @@ -13,12 +13,12 @@ module Private { private import Sign import Impl + class GuardValue = G::GuardValue; + class ConstantIntegerExpr = RU::ConstantIntegerExpr; class Guard extends G::Guards_v2::Guard { - predicate isEquality(Expr e1, Expr e2, boolean eqval) { - super.isEquality(e1, e2, any(G::GuardValue gv | gv.asBooleanValue() = eqval)) - } + predicate isEquality(Expr e1, Expr e2, GuardValue eqval) { super.isEquality(e1, e2, eqval) } } class SsaVariable = Ssa::SsaDefinition; @@ -173,16 +173,14 @@ module Private { predicate ssaRead = RU::ssaRead/2; /** - * Holds if `guard` controls the position `controlled` with the value `testIsTrue`. + * Holds if `guard` controls the position `controlled` with the value `v`. */ - predicate guardControlsSsaRead(Guard guard, SsaReadPosition controlled, boolean testIsTrue) { - guard.controls(controlled.(SsaReadPositionBlock).getBlock(), testIsTrue) + predicate guardControlsSsaRead(Guard guard, SsaReadPosition controlled, GuardValue v) { + guard.valueControls(controlled.(SsaReadPositionBlock).getBlock(), v) or exists(SsaReadPositionPhiInputEdge controlledEdge | controlledEdge = controlled | - guard.controls(controlledEdge.getOrigBlock(), testIsTrue) or - guard - .controlsBranchEdge(controlledEdge.getOrigBlock(), controlledEdge.getPhiBlock(), - testIsTrue) + guard.valueControls(controlledEdge.getOrigBlock(), v) or + guard.valueControlsBranchEdge(controlledEdge.getOrigBlock(), controlledEdge.getPhiBlock(), v) ) } } diff --git a/java/ql/test/library-tests/guards/Guards.java b/java/ql/test/library-tests/guards/Guards.java index 1f1a4b7f7f15..829226f76a64 100644 --- a/java/ql/test/library-tests/guards/Guards.java +++ b/java/ql/test/library-tests/guards/Guards.java @@ -36,10 +36,10 @@ void t1(int[] a, String s) { s = "bar"; switch (s) { case "bar": - chk(); // $ guarded='"bar":match' guarded='s:bar' + chk(); // $ guarded='"bar":match' guarded='s:bar' guarded='s:not null' break; case "foo": - chk(); // $ guarded='"bar":no match' guarded='s:not bar' guarded='"foo":match' guarded='s:foo' guarded=g(3):false + chk(); // $ guarded='"bar":no match' guarded='s:not bar' guarded='"foo":match' guarded='s:foo' guarded='s:not null' guarded=g(3):false break; default: chk(); // $ guarded='"bar":no match' guarded='"foo":no match' guarded='s:not bar' guarded='s:not foo' guarded=g(3):false @@ -48,7 +48,7 @@ void t1(int[] a, String s) { Object o = g(4) ? null : s; if (o instanceof String) { - chk(); // $ guarded=...instanceof...:true guarded='o:not null' guarded='...?...:...:not null' guarded=g(4):false guarded='s:not null' + chk(); // $ guarded=...instanceof...:true guarded='o:not null' guarded='...?...:...:not null' guarded=g(4):false guarded='s:not null' guarded='String:match' } } @@ -89,13 +89,13 @@ void t4() { chk(); // $ guarded='x == null:true' guarded='x:null' guarded=g(1):false guarded=g(2):false guarded=g(Alt2):false guarded=g(3):false switch (x) { case E1: - chk(); // $ guarded='E1:match' guarded='x:E1' guarded=g(1):true guarded=g(2):false guarded=g(Alt2):false guarded=g(3):false + chk(); // $ guarded='E1:match' guarded='x:E1' guarded='x:not null' guarded=g(1):true guarded=g(2):false guarded=g(Alt2):false guarded=g(3):false break; case E2: - chk(); // $ guarded='E1:no match' guarded='x:not E1' guarded='E2:match' guarded='x:E2' guarded=g(3):false + chk(); // $ guarded='E1:no match' guarded='x:not E1' guarded='E2:match' guarded='x:E2' guarded='x:not null' guarded=g(3):false break; case E3: - chk(); // $ guarded='E1:no match' guarded='E2:no match' guarded='x:not E1' guarded='x:not E2' guarded='E3:match' guarded='x:E3' guarded=g(3):true + chk(); // $ guarded='E1:no match' guarded='E2:no match' guarded='x:not E1' guarded='x:not E2' guarded='E3:match' guarded='x:E3' guarded='x:not null' guarded=g(3):true break; } Object o = g(4) ? new Object() : null; @@ -195,10 +195,10 @@ void testWrappers(String s, Integer i) { switch (testEnumWrapper(g(1))) { case SUCCESS: - chk(); // $ guarded='testEnumWrapper(...):SUCCESS' guarded='SUCCESS:match' guarded=g(1):true + chk(); // $ guarded='testEnumWrapper(...):SUCCESS' guarded='testEnumWrapper(...):not null' guarded='SUCCESS:match' guarded=g(1):true break; case FAILURE: - chk(); // $ guarded='testEnumWrapper(...):not SUCCESS' guarded='SUCCESS:no match' guarded='testEnumWrapper(...):FAILURE' guarded='FAILURE:match' guarded=g(1):false + chk(); // $ guarded='testEnumWrapper(...):not SUCCESS' guarded='SUCCESS:no match' guarded='testEnumWrapper(...):FAILURE' guarded='testEnumWrapper(...):not null' guarded='FAILURE:match' guarded=g(1):false break; } } diff --git a/java/ql/test/library-tests/guards/GuardsInline.expected b/java/ql/test/library-tests/guards/GuardsInline.expected index b3985e01d76f..161cbc7c58c6 100644 --- a/java/ql/test/library-tests/guards/GuardsInline.expected +++ b/java/ql/test/library-tests/guards/GuardsInline.expected @@ -16,10 +16,12 @@ | Guards.java:29:7:29:11 | chk(...) | 'sz:Lower bound 1' | | Guards.java:39:9:39:13 | chk(...) | '"bar":match' | | Guards.java:39:9:39:13 | chk(...) | 's:bar' | +| Guards.java:39:9:39:13 | chk(...) | 's:not null' | | Guards.java:42:9:42:13 | chk(...) | '"bar":no match' | | Guards.java:42:9:42:13 | chk(...) | '"foo":match' | | Guards.java:42:9:42:13 | chk(...) | 's:foo' | | Guards.java:42:9:42:13 | chk(...) | 's:not bar' | +| Guards.java:42:9:42:13 | chk(...) | 's:not null' | | Guards.java:42:9:42:13 | chk(...) | g(3):false | | Guards.java:45:9:45:13 | chk(...) | '"bar":no match' | | Guards.java:45:9:45:13 | chk(...) | '"foo":no match' | @@ -27,6 +29,7 @@ | Guards.java:45:9:45:13 | chk(...) | 's:not foo' | | Guards.java:45:9:45:13 | chk(...) | g(3):false | | Guards.java:51:7:51:11 | chk(...) | '...?...:...:not null' | +| Guards.java:51:7:51:11 | chk(...) | 'String:match' | | Guards.java:51:7:51:11 | chk(...) | 'o:not null' | | Guards.java:51:7:51:11 | chk(...) | 's:not null' | | Guards.java:51:7:51:11 | chk(...) | ...instanceof...:true | @@ -56,6 +59,7 @@ | Guards.java:89:7:89:11 | chk(...) | g(Alt2):false | | Guards.java:92:9:92:13 | chk(...) | 'E1:match' | | Guards.java:92:9:92:13 | chk(...) | 'x:E1' | +| Guards.java:92:9:92:13 | chk(...) | 'x:not null' | | Guards.java:92:9:92:13 | chk(...) | g(1):true | | Guards.java:92:9:92:13 | chk(...) | g(2):false | | Guards.java:92:9:92:13 | chk(...) | g(3):false | @@ -64,6 +68,7 @@ | Guards.java:95:9:95:13 | chk(...) | 'E2:match' | | Guards.java:95:9:95:13 | chk(...) | 'x:E2' | | Guards.java:95:9:95:13 | chk(...) | 'x:not E1' | +| Guards.java:95:9:95:13 | chk(...) | 'x:not null' | | Guards.java:95:9:95:13 | chk(...) | g(3):false | | Guards.java:98:9:98:13 | chk(...) | 'E1:no match' | | Guards.java:98:9:98:13 | chk(...) | 'E2:no match' | @@ -71,6 +76,7 @@ | Guards.java:98:9:98:13 | chk(...) | 'x:E3' | | Guards.java:98:9:98:13 | chk(...) | 'x:not E1' | | Guards.java:98:9:98:13 | chk(...) | 'x:not E2' | +| Guards.java:98:9:98:13 | chk(...) | 'x:not null' | | Guards.java:98:9:98:13 | chk(...) | g(3):true | | Guards.java:103:7:103:11 | chk(...) | '...?...:...:null' | | Guards.java:103:7:103:11 | chk(...) | 'o == null:true' | @@ -117,11 +123,13 @@ | Guards.java:193:7:193:11 | chk(...) | 's:not null' | | Guards.java:198:9:198:13 | chk(...) | 'SUCCESS:match' | | Guards.java:198:9:198:13 | chk(...) | 'testEnumWrapper(...):SUCCESS' | +| Guards.java:198:9:198:13 | chk(...) | 'testEnumWrapper(...):not null' | | Guards.java:198:9:198:13 | chk(...) | g(1):true | | Guards.java:201:9:201:13 | chk(...) | 'FAILURE:match' | | Guards.java:201:9:201:13 | chk(...) | 'SUCCESS:no match' | | Guards.java:201:9:201:13 | chk(...) | 'testEnumWrapper(...):FAILURE' | | Guards.java:201:9:201:13 | chk(...) | 'testEnumWrapper(...):not SUCCESS' | +| Guards.java:201:9:201:13 | chk(...) | 'testEnumWrapper(...):not null' | | Guards.java:201:9:201:13 | chk(...) | g(1):false | | Guards.java:213:5:213:9 | chk(...) | 'ensureNotNull(...):no exception' | | Guards.java:213:5:213:9 | chk(...) | 's:not null' | diff --git a/java/ql/test/library-tests/guards/guardslogic.expected b/java/ql/test/library-tests/guards/guardslogic.expected index eef1ca3ae162..9707cc57bc99 100644 --- a/java/ql/test/library-tests/guards/guardslogic.expected +++ b/java/ql/test/library-tests/guards/guardslogic.expected @@ -32,6 +32,7 @@ | Logic.java:29:16:29:19 | g(...) | false | Logic.java:30:30:31:5 | { ... } | | Logic.java:29:16:29:19 | g(...) | true | Logic.java:29:23:29:26 | null | | Logic.java:30:9:30:27 | ...instanceof... | true | Logic.java:30:30:31:5 | { ... } | +| Logic.java:30:22:30:27 | String | match | Logic.java:30:30:31:5 | { ... } | | Logic.java:35:5:35:29 | checkTrue(...) | no exception | Logic.java:36:5:36:28 | ; | | Logic.java:35:5:35:29 | checkTrue(...) | no exception | Logic.java:37:5:37:15 | if (...) | | Logic.java:35:5:35:29 | checkTrue(...) | no exception | Logic.java:37:17:39:5 | { ... } | diff --git a/java/ql/test/library-tests/guards12/guard.expected b/java/ql/test/library-tests/guards12/guard.expected index 1ab993fd0173..644d7f689012 100644 --- a/java/ql/test/library-tests/guards12/guard.expected +++ b/java/ql/test/library-tests/guards12/guard.expected @@ -15,45 +15,45 @@ hasBranchEdge | Test.java:11:12:11:14 | "c" | Test.java:11:7:11:17 | case ... | Test.java:12:7:12:17 | case ... | no match | | Test.java:12:12:12:14 | "d" | Test.java:12:7:12:17 | case ... | Test.java:12:19:12:21 | { ... } | match | | Test.java:12:12:12:14 | "d" | Test.java:12:7:12:17 | case ... | Test.java:13:7:13:16 | default | no match | -| Test.java:17:19:17:19 | | Test.java:15:5:15:25 | var ...; | Test.java:17:19:17:19 | After [no-match] | no match | -| Test.java:17:19:17:19 | | Test.java:15:5:15:25 | var ...; | Test.java:17:26:17:28 | len | match | -| Test.java:17:26:17:33 | ... == ... | Test.java:17:26:17:28 | len | Test.java:17:26:17:33 | After ... == ... [false] | false | -| Test.java:17:26:17:33 | ... == ... | Test.java:17:26:17:28 | len | Test.java:17:38:17:40 | { ... } | true | +| Test.java:17:12:17:17 | String | Test.java:15:5:15:25 | var ...; | Test.java:17:12:17:17 | After String [no-match] | no match | +| Test.java:17:12:17:17 | String | Test.java:15:5:15:25 | var ...; | Test.java:17:19:17:19 | | match | +| Test.java:17:26:17:33 | ... == ... | Test.java:17:19:17:19 | | Test.java:17:26:17:33 | After ... == ... [false] | false | +| Test.java:17:26:17:33 | ... == ... | Test.java:17:19:17:19 | | Test.java:17:38:17:40 | { ... } | true | | Test.java:18:12:18:14 | "e" | Test.java:18:7:18:17 | case ... | Test.java:18:19:18:21 | { ... } | match | | Test.java:18:12:18:14 | "e" | Test.java:18:7:18:17 | case ... | Test.java:19:7:19:16 | default | no match | | Test.java:21:13:21:19 | unknown | Test.java:21:5:21:42 | switch (...) | Test.java:21:23:21:23 | s | true | | Test.java:21:13:21:19 | unknown | Test.java:21:5:21:42 | switch (...) | Test.java:21:27:21:27 | s | false | | Test.java:22:12:22:14 | "f" | Test.java:22:7:22:17 | case ... | Test.java:22:19:22:21 | { ... } | match | | Test.java:22:12:22:14 | "f" | Test.java:22:7:22:17 | case ... | Test.java:23:7:23:37 | case | no match | -| Test.java:23:19:23:20 | s2 | Test.java:23:7:23:37 | case | Test.java:23:19:23:20 | After s2 [no-match] | no match | -| Test.java:23:19:23:20 | s2 | Test.java:23:7:23:37 | case | Test.java:23:27:23:29 | len | match | -| Test.java:23:27:23:34 | ... == ... | Test.java:23:27:23:29 | len | Test.java:23:27:23:34 | After ... == ... [false] | false | -| Test.java:23:27:23:34 | ... == ... | Test.java:23:27:23:29 | len | Test.java:23:39:23:41 | { ... } | true | +| Test.java:23:12:23:17 | String | Test.java:23:7:23:37 | case | Test.java:23:12:23:17 | After String [no-match] | no match | +| Test.java:23:12:23:17 | String | Test.java:23:7:23:37 | case | Test.java:23:19:23:20 | s2 | match | +| Test.java:23:27:23:34 | ... == ... | Test.java:23:19:23:20 | s2 | Test.java:23:27:23:34 | After ... == ... [false] | false | +| Test.java:23:27:23:34 | ... == ... | Test.java:23:19:23:20 | s2 | Test.java:23:39:23:41 | { ... } | true | | Test.java:24:12:24:14 | "g" | Test.java:24:7:24:17 | case ... | Test.java:24:19:24:21 | { ... } | match | | Test.java:24:12:24:14 | "g" | Test.java:24:7:24:17 | case ... | Test.java:25:7:25:16 | default | no match | | Test.java:28:12:28:14 | "h" | Test.java:27:5:27:14 | switch (...) | Test.java:28:12:28:14 | After "h" [match] | match | | Test.java:28:12:28:14 | "h" | Test.java:27:5:27:14 | switch (...) | Test.java:29:7:29:34 | case | no match | -| Test.java:29:19:29:19 | | Test.java:29:7:29:34 | case | Test.java:29:19:29:19 | After [no-match] | no match | -| Test.java:29:19:29:19 | | Test.java:29:7:29:34 | case | Test.java:29:26:29:28 | len | match | -| Test.java:29:26:29:33 | ... == ... | Test.java:29:26:29:28 | len | Test.java:29:26:29:33 | After ... == ... [false] | false | -| Test.java:29:26:29:33 | ... == ... | Test.java:29:26:29:28 | len | Test.java:29:26:29:33 | After ... == ... [true] | true | +| Test.java:29:12:29:17 | String | Test.java:29:7:29:34 | case | Test.java:29:12:29:17 | After String [no-match] | no match | +| Test.java:29:12:29:17 | String | Test.java:29:7:29:34 | case | Test.java:29:19:29:19 | | match | +| Test.java:29:26:29:33 | ... == ... | Test.java:29:19:29:19 | | Test.java:29:26:29:33 | After ... == ... [false] | false | +| Test.java:29:26:29:33 | ... == ... | Test.java:29:19:29:19 | | Test.java:29:26:29:33 | After ... == ... [true] | true | | Test.java:30:12:30:14 | "i" | Test.java:30:7:30:15 | case ... | Test.java:30:12:30:14 | After "i" [match] | match | | Test.java:30:12:30:14 | "i" | Test.java:30:7:30:15 | case ... | Test.java:33:7:33:14 | default | no match | -| Test.java:47:9:47:33 | ...instanceof... | Test.java:46:36:63:3 | { ... } | Test.java:47:33:47:33 | s | true | -| Test.java:47:9:47:33 | ...instanceof... | Test.java:46:36:63:3 | { ... } | Test.java:49:12:51:5 | { ... } | false | +| Test.java:47:26:47:31 | String | Test.java:46:36:63:3 | { ... } | Test.java:47:33:47:33 | s | match | +| Test.java:47:26:47:31 | String | Test.java:46:36:63:3 | { ... } | Test.java:49:12:51:5 | { ... } | no match | | Test.java:53:12:53:15 | null | Test.java:52:5:52:18 | switch (...) | Test.java:53:29:53:33 | value | match | | Test.java:53:12:53:15 | null | Test.java:52:5:52:18 | switch (...) | Test.java:54:7:54:22 | case | no match | -| Test.java:54:19:54:19 | s | Test.java:54:7:54:22 | case | Test.java:54:35:54:39 | value | match | -| Test.java:54:19:54:19 | s | Test.java:54:7:54:22 | case | Test.java:55:7:55:25 | case | no match | -| Test.java:55:12:55:22 | R(...) | Test.java:55:7:55:25 | case | Test.java:55:38:55:42 | value | match | +| Test.java:54:12:54:17 | String | Test.java:54:7:54:22 | case | Test.java:54:19:54:19 | s | match | +| Test.java:54:12:54:17 | String | Test.java:54:7:54:22 | case | Test.java:55:7:55:25 | case | no match | +| Test.java:55:12:55:22 | R(...) | Test.java:55:7:55:25 | case | Test.java:55:14:55:19 | String | match | | Test.java:55:12:55:22 | R(...) | Test.java:55:7:55:25 | case | Test.java:56:7:56:16 | default | no match | -| Test.java:58:9:58:36 | ...instanceof... | Test.java:58:5:58:37 | if (...) | Test.java:58:35:58:35 | s | true | -| Test.java:58:9:58:36 | ...instanceof... | Test.java:58:5:58:37 | if (...) | Test.java:60:12:62:5 | { ... } | false | -| Test.java:68:9:68:36 | ...instanceof... | Test.java:67:51:78:3 | { ... } | Test.java:68:35:68:35 | s | true | -| Test.java:68:9:68:36 | ...instanceof... | Test.java:67:51:78:3 | { ... } | Test.java:70:12:72:5 | { ... } | false | -| Test.java:74:19:74:19 | s | Test.java:73:5:73:18 | switch (...) | Test.java:74:35:74:39 | value | match | -| Test.java:74:19:74:19 | s | Test.java:73:5:73:18 | switch (...) | Test.java:75:7:75:25 | case | no match | -| Test.java:75:12:75:22 | R(...) | Test.java:75:7:75:25 | case | Test.java:75:38:75:42 | value | match | +| Test.java:58:26:58:36 | R(...) | Test.java:58:5:58:37 | if (...) | Test.java:58:28:58:33 | String | match | +| Test.java:58:26:58:36 | R(...) | Test.java:58:5:58:37 | if (...) | Test.java:60:12:62:5 | { ... } | no match | +| Test.java:68:26:68:36 | R(...) | Test.java:67:51:78:3 | { ... } | Test.java:68:28:68:33 | String | match | +| Test.java:68:26:68:36 | R(...) | Test.java:67:51:78:3 | { ... } | Test.java:70:12:72:5 | { ... } | no match | +| Test.java:74:12:74:17 | String | Test.java:73:5:73:18 | switch (...) | Test.java:74:19:74:19 | s | match | +| Test.java:74:12:74:17 | String | Test.java:73:5:73:18 | switch (...) | Test.java:75:7:75:25 | case | no match | +| Test.java:75:12:75:22 | R(...) | Test.java:75:7:75:25 | case | Test.java:75:14:75:19 | String | match | | Test.java:75:12:75:22 | R(...) | Test.java:75:7:75:25 | case | Test.java:76:7:76:16 | default | no match | nullGuardMethodCall | Test.java:47:9:47:13 | value | not null | Test.java:48:7:48:20 | matched(...) | @@ -63,6 +63,8 @@ nullGuardMethodCall | Test.java:52:13:52:17 | value | null | Test.java:53:20:53:34 | caseNull(...) | | Test.java:58:9:58:13 | value | not null | Test.java:59:7:59:26 | matchedRecord(...) | | Test.java:68:9:68:13 | value | not null | Test.java:69:7:69:26 | matchedRecord(...) | +| Test.java:73:13:73:17 | value | not null | Test.java:74:24:74:40 | caseString(...) | +| Test.java:73:13:73:17 | value | not null | Test.java:75:27:75:43 | caseRecord(...) | #select | Test.java:4:12:4:14 | "a" | Test.java:3:20:3:20 | s | Test.java:4:12:4:14 | "a" | match | match | Test.java:4:12:4:14 | After "a" [match] | | Test.java:4:12:4:14 | "a" | Test.java:3:20:3:20 | s | Test.java:4:12:4:14 | "a" | match | no match | Test.java:4:17:4:19 | "b" | @@ -104,39 +106,83 @@ nullGuardMethodCall | Test.java:11:12:11:14 | "c" | Test.java:9:13:9:13 | s | Test.java:11:12:11:14 | "c" | match | no match | Test.java:13:7:13:16 | default | | Test.java:12:12:12:14 | "d" | Test.java:9:13:9:13 | s | Test.java:12:12:12:14 | "d" | match | match | Test.java:12:19:12:21 | { ... } | | Test.java:12:12:12:14 | "d" | Test.java:9:13:9:13 | s | Test.java:12:12:12:14 | "d" | match | no match | Test.java:13:7:13:16 | default | +| Test.java:17:12:17:17 | String | Test.java:16:13:16:13 | s | Test.java:17:12:17:17 | String | match | match | Test.java:17:19:17:19 | | +| Test.java:17:12:17:17 | String | Test.java:16:13:16:13 | s | Test.java:17:12:17:17 | String | match | match | Test.java:17:26:17:33 | After ... == ... [false] | +| Test.java:17:12:17:17 | String | Test.java:16:13:16:13 | s | Test.java:17:12:17:17 | String | match | match | Test.java:17:38:17:40 | { ... } | +| Test.java:17:12:17:17 | String | Test.java:16:13:16:13 | s | Test.java:17:12:17:17 | String | match | no match | Test.java:17:12:17:17 | After String [no-match] | +| Test.java:17:12:17:17 | String | Test.java:17:12:17:17 | String | Test.java:16:13:16:13 | s | match | match | Test.java:17:19:17:19 | | +| Test.java:17:12:17:17 | String | Test.java:17:12:17:17 | String | Test.java:16:13:16:13 | s | match | match | Test.java:17:26:17:33 | After ... == ... [false] | +| Test.java:17:12:17:17 | String | Test.java:17:12:17:17 | String | Test.java:16:13:16:13 | s | match | match | Test.java:17:38:17:40 | { ... } | +| Test.java:17:12:17:17 | String | Test.java:17:12:17:17 | String | Test.java:16:13:16:13 | s | match | no match | Test.java:17:12:17:17 | After String [no-match] | | Test.java:17:26:17:33 | ... == ... | Test.java:17:26:17:28 | len | Test.java:17:33:17:33 | 4 | true | false | Test.java:17:26:17:33 | After ... == ... [false] | | Test.java:17:26:17:33 | ... == ... | Test.java:17:26:17:28 | len | Test.java:17:33:17:33 | 4 | true | true | Test.java:17:38:17:40 | { ... } | | Test.java:18:12:18:14 | "e" | Test.java:16:13:16:13 | s | Test.java:18:12:18:14 | "e" | match | match | Test.java:18:19:18:21 | { ... } | | Test.java:18:12:18:14 | "e" | Test.java:16:13:16:13 | s | Test.java:18:12:18:14 | "e" | match | no match | Test.java:19:7:19:16 | default | | Test.java:22:12:22:14 | "f" | Test.java:21:13:21:41 | ...?...:... | Test.java:22:12:22:14 | "f" | match | match | Test.java:22:19:22:21 | { ... } | | Test.java:22:12:22:14 | "f" | Test.java:21:13:21:41 | ...?...:... | Test.java:22:12:22:14 | "f" | match | no match | Test.java:23:7:23:37 | case | -| Test.java:22:12:22:14 | "f" | Test.java:21:13:21:41 | ...?...:... | Test.java:22:12:22:14 | "f" | match | no match | Test.java:23:19:23:20 | After s2 [no-match] | -| Test.java:22:12:22:14 | "f" | Test.java:21:13:21:41 | ...?...:... | Test.java:22:12:22:14 | "f" | match | no match | Test.java:23:27:23:29 | len | +| Test.java:22:12:22:14 | "f" | Test.java:21:13:21:41 | ...?...:... | Test.java:22:12:22:14 | "f" | match | no match | Test.java:23:12:23:17 | After String [no-match] | +| Test.java:22:12:22:14 | "f" | Test.java:21:13:21:41 | ...?...:... | Test.java:22:12:22:14 | "f" | match | no match | Test.java:23:19:23:20 | s2 | | Test.java:22:12:22:14 | "f" | Test.java:21:13:21:41 | ...?...:... | Test.java:22:12:22:14 | "f" | match | no match | Test.java:23:27:23:34 | After ... == ... [false] | | Test.java:22:12:22:14 | "f" | Test.java:21:13:21:41 | ...?...:... | Test.java:22:12:22:14 | "f" | match | no match | Test.java:23:39:23:41 | { ... } | | Test.java:22:12:22:14 | "f" | Test.java:21:13:21:41 | ...?...:... | Test.java:22:12:22:14 | "f" | match | no match | Test.java:24:7:24:17 | case ... | | Test.java:22:12:22:14 | "f" | Test.java:21:13:21:41 | ...?...:... | Test.java:22:12:22:14 | "f" | match | no match | Test.java:24:19:24:21 | { ... } | | Test.java:22:12:22:14 | "f" | Test.java:21:13:21:41 | ...?...:... | Test.java:22:12:22:14 | "f" | match | no match | Test.java:25:7:25:16 | default | +| Test.java:23:12:23:17 | String | Test.java:21:13:21:41 | ...?...:... | Test.java:23:12:23:17 | String | match | match | Test.java:23:19:23:20 | s2 | +| Test.java:23:12:23:17 | String | Test.java:21:13:21:41 | ...?...:... | Test.java:23:12:23:17 | String | match | match | Test.java:23:27:23:34 | After ... == ... [false] | +| Test.java:23:12:23:17 | String | Test.java:21:13:21:41 | ...?...:... | Test.java:23:12:23:17 | String | match | match | Test.java:23:39:23:41 | { ... } | +| Test.java:23:12:23:17 | String | Test.java:21:13:21:41 | ...?...:... | Test.java:23:12:23:17 | String | match | no match | Test.java:23:12:23:17 | After String [no-match] | +| Test.java:23:12:23:17 | String | Test.java:23:12:23:17 | String | Test.java:21:13:21:41 | ...?...:... | match | match | Test.java:23:19:23:20 | s2 | +| Test.java:23:12:23:17 | String | Test.java:23:12:23:17 | String | Test.java:21:13:21:41 | ...?...:... | match | match | Test.java:23:27:23:34 | After ... == ... [false] | +| Test.java:23:12:23:17 | String | Test.java:23:12:23:17 | String | Test.java:21:13:21:41 | ...?...:... | match | match | Test.java:23:39:23:41 | { ... } | +| Test.java:23:12:23:17 | String | Test.java:23:12:23:17 | String | Test.java:21:13:21:41 | ...?...:... | match | no match | Test.java:23:12:23:17 | After String [no-match] | | Test.java:23:27:23:34 | ... == ... | Test.java:23:27:23:29 | len | Test.java:23:34:23:34 | 4 | true | false | Test.java:23:27:23:34 | After ... == ... [false] | | Test.java:23:27:23:34 | ... == ... | Test.java:23:27:23:29 | len | Test.java:23:34:23:34 | 4 | true | true | Test.java:23:39:23:41 | { ... } | | Test.java:24:12:24:14 | "g" | Test.java:21:13:21:41 | ...?...:... | Test.java:24:12:24:14 | "g" | match | match | Test.java:24:19:24:21 | { ... } | | Test.java:24:12:24:14 | "g" | Test.java:21:13:21:41 | ...?...:... | Test.java:24:12:24:14 | "g" | match | no match | Test.java:25:7:25:16 | default | | Test.java:28:12:28:14 | "h" | Test.java:27:13:27:13 | s | Test.java:28:12:28:14 | "h" | match | match | Test.java:28:12:28:14 | After "h" [match] | | Test.java:28:12:28:14 | "h" | Test.java:27:13:27:13 | s | Test.java:28:12:28:14 | "h" | match | no match | Test.java:29:7:29:34 | case | -| Test.java:28:12:28:14 | "h" | Test.java:27:13:27:13 | s | Test.java:28:12:28:14 | "h" | match | no match | Test.java:29:19:29:19 | After [no-match] | -| Test.java:28:12:28:14 | "h" | Test.java:27:13:27:13 | s | Test.java:28:12:28:14 | "h" | match | no match | Test.java:29:26:29:28 | len | +| Test.java:28:12:28:14 | "h" | Test.java:27:13:27:13 | s | Test.java:28:12:28:14 | "h" | match | no match | Test.java:29:12:29:17 | After String [no-match] | +| Test.java:28:12:28:14 | "h" | Test.java:27:13:27:13 | s | Test.java:28:12:28:14 | "h" | match | no match | Test.java:29:19:29:19 | | | Test.java:28:12:28:14 | "h" | Test.java:27:13:27:13 | s | Test.java:28:12:28:14 | "h" | match | no match | Test.java:29:26:29:33 | After ... == ... [false] | | Test.java:28:12:28:14 | "h" | Test.java:27:13:27:13 | s | Test.java:28:12:28:14 | "h" | match | no match | Test.java:29:26:29:33 | After ... == ... [true] | | Test.java:28:12:28:14 | "h" | Test.java:27:13:27:13 | s | Test.java:28:12:28:14 | "h" | match | no match | Test.java:30:7:30:15 | case ... | | Test.java:28:12:28:14 | "h" | Test.java:27:13:27:13 | s | Test.java:28:12:28:14 | "h" | match | no match | Test.java:30:12:30:14 | After "i" [match] | | Test.java:28:12:28:14 | "h" | Test.java:27:13:27:13 | s | Test.java:28:12:28:14 | "h" | match | no match | Test.java:33:7:33:14 | default | +| Test.java:29:12:29:17 | String | Test.java:27:13:27:13 | s | Test.java:29:12:29:17 | String | match | match | Test.java:29:19:29:19 | | +| Test.java:29:12:29:17 | String | Test.java:27:13:27:13 | s | Test.java:29:12:29:17 | String | match | match | Test.java:29:26:29:33 | After ... == ... [false] | +| Test.java:29:12:29:17 | String | Test.java:27:13:27:13 | s | Test.java:29:12:29:17 | String | match | match | Test.java:29:26:29:33 | After ... == ... [true] | +| Test.java:29:12:29:17 | String | Test.java:27:13:27:13 | s | Test.java:29:12:29:17 | String | match | no match | Test.java:29:12:29:17 | After String [no-match] | +| Test.java:29:12:29:17 | String | Test.java:29:12:29:17 | String | Test.java:27:13:27:13 | s | match | match | Test.java:29:19:29:19 | | +| Test.java:29:12:29:17 | String | Test.java:29:12:29:17 | String | Test.java:27:13:27:13 | s | match | match | Test.java:29:26:29:33 | After ... == ... [false] | +| Test.java:29:12:29:17 | String | Test.java:29:12:29:17 | String | Test.java:27:13:27:13 | s | match | match | Test.java:29:26:29:33 | After ... == ... [true] | +| Test.java:29:12:29:17 | String | Test.java:29:12:29:17 | String | Test.java:27:13:27:13 | s | match | no match | Test.java:29:12:29:17 | After String [no-match] | | Test.java:29:26:29:33 | ... == ... | Test.java:29:26:29:28 | len | Test.java:29:33:29:33 | 4 | true | false | Test.java:29:26:29:33 | After ... == ... [false] | | Test.java:29:26:29:33 | ... == ... | Test.java:29:26:29:28 | len | Test.java:29:33:29:33 | 4 | true | true | Test.java:29:26:29:33 | After ... == ... [true] | | Test.java:30:12:30:14 | "i" | Test.java:27:13:27:13 | s | Test.java:30:12:30:14 | "i" | match | match | Test.java:30:12:30:14 | After "i" [match] | | Test.java:30:12:30:14 | "i" | Test.java:27:13:27:13 | s | Test.java:30:12:30:14 | "i" | match | no match | Test.java:33:7:33:14 | default | +| Test.java:47:26:47:31 | String | Test.java:47:9:47:13 | value | Test.java:47:26:47:31 | String | match | match | Test.java:47:33:47:33 | s | +| Test.java:47:26:47:31 | String | Test.java:47:9:47:13 | value | Test.java:47:26:47:31 | String | match | no match | Test.java:49:12:51:5 | { ... } | +| Test.java:47:26:47:31 | String | Test.java:47:26:47:31 | String | Test.java:47:9:47:13 | value | match | match | Test.java:47:33:47:33 | s | +| Test.java:47:26:47:31 | String | Test.java:47:26:47:31 | String | Test.java:47:9:47:13 | value | match | no match | Test.java:49:12:51:5 | { ... } | | Test.java:53:12:53:15 | null | Test.java:52:13:52:17 | value | Test.java:53:12:53:15 | null | match | match | Test.java:53:29:53:33 | value | | Test.java:53:12:53:15 | null | Test.java:52:13:52:17 | value | Test.java:53:12:53:15 | null | match | no match | Test.java:54:7:54:22 | case | -| Test.java:53:12:53:15 | null | Test.java:52:13:52:17 | value | Test.java:53:12:53:15 | null | match | no match | Test.java:54:35:54:39 | value | +| Test.java:53:12:53:15 | null | Test.java:52:13:52:17 | value | Test.java:53:12:53:15 | null | match | no match | Test.java:54:19:54:19 | s | | Test.java:53:12:53:15 | null | Test.java:52:13:52:17 | value | Test.java:53:12:53:15 | null | match | no match | Test.java:55:7:55:25 | case | -| Test.java:53:12:53:15 | null | Test.java:52:13:52:17 | value | Test.java:53:12:53:15 | null | match | no match | Test.java:55:38:55:42 | value | +| Test.java:53:12:53:15 | null | Test.java:52:13:52:17 | value | Test.java:53:12:53:15 | null | match | no match | Test.java:55:14:55:19 | String | | Test.java:53:12:53:15 | null | Test.java:52:13:52:17 | value | Test.java:53:12:53:15 | null | match | no match | Test.java:56:7:56:16 | default | +| Test.java:54:12:54:17 | String | Test.java:52:13:52:17 | value | Test.java:54:12:54:17 | String | match | match | Test.java:54:19:54:19 | s | +| Test.java:54:12:54:17 | String | Test.java:52:13:52:17 | value | Test.java:54:12:54:17 | String | match | no match | Test.java:55:7:55:25 | case | +| Test.java:54:12:54:17 | String | Test.java:52:13:52:17 | value | Test.java:54:12:54:17 | String | match | no match | Test.java:55:14:55:19 | String | +| Test.java:54:12:54:17 | String | Test.java:52:13:52:17 | value | Test.java:54:12:54:17 | String | match | no match | Test.java:56:7:56:16 | default | +| Test.java:54:12:54:17 | String | Test.java:54:12:54:17 | String | Test.java:52:13:52:17 | value | match | match | Test.java:54:19:54:19 | s | +| Test.java:54:12:54:17 | String | Test.java:54:12:54:17 | String | Test.java:52:13:52:17 | value | match | no match | Test.java:55:7:55:25 | case | +| Test.java:54:12:54:17 | String | Test.java:54:12:54:17 | String | Test.java:52:13:52:17 | value | match | no match | Test.java:55:14:55:19 | String | +| Test.java:54:12:54:17 | String | Test.java:54:12:54:17 | String | Test.java:52:13:52:17 | value | match | no match | Test.java:56:7:56:16 | default | +| Test.java:74:12:74:17 | String | Test.java:73:13:73:17 | value | Test.java:74:12:74:17 | String | match | match | Test.java:74:19:74:19 | s | +| Test.java:74:12:74:17 | String | Test.java:73:13:73:17 | value | Test.java:74:12:74:17 | String | match | no match | Test.java:75:7:75:25 | case | +| Test.java:74:12:74:17 | String | Test.java:73:13:73:17 | value | Test.java:74:12:74:17 | String | match | no match | Test.java:75:14:75:19 | String | +| Test.java:74:12:74:17 | String | Test.java:73:13:73:17 | value | Test.java:74:12:74:17 | String | match | no match | Test.java:76:7:76:16 | default | +| Test.java:74:12:74:17 | String | Test.java:74:12:74:17 | String | Test.java:73:13:73:17 | value | match | match | Test.java:74:19:74:19 | s | +| Test.java:74:12:74:17 | String | Test.java:74:12:74:17 | String | Test.java:73:13:73:17 | value | match | no match | Test.java:75:7:75:25 | case | +| Test.java:74:12:74:17 | String | Test.java:74:12:74:17 | String | Test.java:73:13:73:17 | value | match | no match | Test.java:75:14:75:19 | String | +| Test.java:74:12:74:17 | String | Test.java:74:12:74:17 | String | Test.java:73:13:73:17 | value | match | no match | Test.java:76:7:76:16 | default | diff --git a/java/ql/test/library-tests/pattern-instanceof/cfg.expected b/java/ql/test/library-tests/pattern-instanceof/cfg.expected index 92f64965223d..ce8a3f59cf4b 100644 --- a/java/ql/test/library-tests/pattern-instanceof/cfg.expected +++ b/java/ql/test/library-tests/pattern-instanceof/cfg.expected @@ -22,24 +22,28 @@ | Test.java:8:56:8:68 | indirectTaint | Test.java:8:71:8:83 | "not tainted" | | Test.java:8:71:8:83 | "not tainted" | Test.java:8:46:8:84 | new Inner(...) | | Test.java:8:87:8:101 | "not tainted 2" | Test.java:8:36:8:102 | new Outer(...) | -| Test.java:10:5:10:30 | if (...) | Test.java:10:9:10:9 | o | -| Test.java:10:9:10:9 | o | Test.java:10:9:10:29 | ...instanceof... | -| Test.java:10:9:10:29 | ...instanceof... | Test.java:10:29:10:29 | s | -| Test.java:10:9:10:29 | ...instanceof... | Test.java:14:5:14:92 | if (...) | +| Test.java:10:5:10:30 | if (...) | Test.java:10:9:10:29 | ...instanceof... | +| Test.java:10:9:10:9 | o | Test.java:10:22:10:27 | String | +| Test.java:10:9:10:29 | ...instanceof... | Test.java:10:9:10:9 | o | +| Test.java:10:22:10:27 | String | Test.java:10:29:10:29 | s | +| Test.java:10:22:10:27 | String | Test.java:14:5:14:92 | if (...) | | Test.java:10:29:10:29 | s | Test.java:10:32:12:5 | { ... } | | Test.java:10:32:12:5 | { ... } | Test.java:11:7:11:14 | ; | | Test.java:11:7:11:13 | sink(...) | Test.java:14:5:14:92 | if (...) | | Test.java:11:7:11:14 | ; | Test.java:11:12:11:12 | s | | Test.java:11:12:11:12 | s | Test.java:11:7:11:13 | sink(...) | -| Test.java:14:5:14:92 | if (...) | Test.java:14:9:14:9 | o | -| Test.java:14:9:14:9 | o | Test.java:14:9:14:91 | ...instanceof... | -| Test.java:14:9:14:91 | ...instanceof... | Test.java:3:22:3:25 | Normal Exit | -| Test.java:14:9:14:91 | ...instanceof... | Test.java:14:41:14:47 | tainted | -| Test.java:14:22:14:91 | Outer(...) | Test.java:14:94:18:5 | { ... } | -| Test.java:14:28:14:67 | Inner(...) | Test.java:14:77:14:90 | alsoNotTainted | -| Test.java:14:41:14:47 | tainted | Test.java:14:57:14:66 | notTainted | -| Test.java:14:57:14:66 | notTainted | Test.java:14:28:14:67 | Inner(...) | -| Test.java:14:77:14:90 | alsoNotTainted | Test.java:14:22:14:91 | Outer(...) | +| Test.java:14:5:14:92 | if (...) | Test.java:14:9:14:91 | ...instanceof... | +| Test.java:14:9:14:9 | o | Test.java:14:22:14:91 | Outer(...) | +| Test.java:14:9:14:91 | ...instanceof... | Test.java:14:9:14:9 | o | +| Test.java:14:22:14:91 | Outer(...) | Test.java:3:22:3:25 | Normal Exit | +| Test.java:14:22:14:91 | Outer(...) | Test.java:14:28:14:67 | Inner(...) | +| Test.java:14:28:14:67 | Inner(...) | Test.java:14:34:14:39 | String | +| Test.java:14:34:14:39 | String | Test.java:14:41:14:47 | tainted | +| Test.java:14:41:14:47 | tainted | Test.java:14:50:14:55 | String | +| Test.java:14:50:14:55 | String | Test.java:14:57:14:66 | notTainted | +| Test.java:14:57:14:66 | notTainted | Test.java:14:70:14:75 | String | +| Test.java:14:70:14:75 | String | Test.java:14:77:14:90 | alsoNotTainted | +| Test.java:14:77:14:90 | alsoNotTainted | Test.java:14:94:18:5 | { ... } | | Test.java:14:94:18:5 | { ... } | Test.java:15:7:15:20 | ; | | Test.java:15:7:15:19 | sink(...) | Test.java:16:7:16:23 | ; | | Test.java:15:7:15:20 | ; | Test.java:15:12:15:18 | tainted | diff --git a/java/ql/test/library-tests/pattern-switch/cfg/test.expected b/java/ql/test/library-tests/pattern-switch/cfg/test.expected index 1abd0419db0c..61bdb0457825 100644 --- a/java/ql/test/library-tests/pattern-switch/cfg/test.expected +++ b/java/ql/test/library-tests/pattern-switch/cfg/test.expected @@ -34,11 +34,13 @@ | Exhaustive.java:8:47:35:3 | { ... } | Exhaustive.java:11:5:11:14 | switch (...) | | Exhaustive.java:11:5:11:14 | switch (...) | Exhaustive.java:11:13:11:13 | o | | Exhaustive.java:11:13:11:13 | o | Exhaustive.java:12:7:12:22 | case | -| Exhaustive.java:12:7:12:22 | case | Exhaustive.java:12:19:12:19 | s | +| Exhaustive.java:12:7:12:22 | case | Exhaustive.java:12:12:12:17 | String | +| Exhaustive.java:12:12:12:17 | String | Exhaustive.java:12:19:12:19 | s | +| Exhaustive.java:12:12:12:17 | String | Exhaustive.java:13:7:13:23 | case | | Exhaustive.java:12:19:12:19 | s | Exhaustive.java:12:24:12:26 | { ... } | -| Exhaustive.java:12:19:12:19 | s | Exhaustive.java:13:7:13:23 | case | | Exhaustive.java:12:24:12:26 | { ... } | Exhaustive.java:18:5:18:14 | switch (...) | -| Exhaustive.java:13:7:13:23 | case | Exhaustive.java:13:19:13:20 | o2 | +| Exhaustive.java:13:7:13:23 | case | Exhaustive.java:13:12:13:17 | Object | +| Exhaustive.java:13:12:13:17 | Object | Exhaustive.java:13:19:13:20 | o2 | | Exhaustive.java:13:19:13:20 | o2 | Exhaustive.java:13:25:13:27 | { ... } | | Exhaustive.java:13:25:13:27 | { ... } | Exhaustive.java:18:5:18:14 | switch (...) | | Exhaustive.java:18:5:18:14 | switch (...) | Exhaustive.java:18:13:18:13 | e | @@ -57,19 +59,23 @@ | Exhaustive.java:21:17:21:19 | { ... } | Exhaustive.java:24:5:24:14 | switch (...) | | Exhaustive.java:24:5:24:14 | switch (...) | Exhaustive.java:24:13:24:13 | i | | Exhaustive.java:24:13:24:13 | i | Exhaustive.java:25:7:25:17 | case | -| Exhaustive.java:25:7:25:17 | case | Exhaustive.java:25:14:25:14 | x | +| Exhaustive.java:25:7:25:17 | case | Exhaustive.java:25:12:25:12 | X | +| Exhaustive.java:25:12:25:12 | X | Exhaustive.java:25:14:25:14 | x | +| Exhaustive.java:25:12:25:12 | X | Exhaustive.java:26:7:26:17 | case | | Exhaustive.java:25:14:25:14 | x | Exhaustive.java:25:19:25:21 | { ... } | -| Exhaustive.java:25:14:25:14 | x | Exhaustive.java:26:7:26:17 | case | | Exhaustive.java:25:19:25:21 | { ... } | Exhaustive.java:30:5:30:14 | switch (...) | -| Exhaustive.java:26:7:26:17 | case | Exhaustive.java:26:14:26:14 | y | +| Exhaustive.java:26:7:26:17 | case | Exhaustive.java:26:12:26:12 | Y | +| Exhaustive.java:26:12:26:12 | Y | Exhaustive.java:26:14:26:14 | y | | Exhaustive.java:26:14:26:14 | y | Exhaustive.java:26:19:26:21 | { ... } | | Exhaustive.java:26:19:26:21 | { ... } | Exhaustive.java:30:5:30:14 | switch (...) | | Exhaustive.java:30:5:30:14 | switch (...) | Exhaustive.java:30:13:30:13 | i | | Exhaustive.java:30:13:30:13 | i | Exhaustive.java:31:7:31:15 | case | -| Exhaustive.java:31:7:31:15 | case | Exhaustive.java:31:14:31:14 | | +| Exhaustive.java:31:7:31:15 | case | Exhaustive.java:31:12:31:12 | X | +| Exhaustive.java:31:12:31:12 | X | Exhaustive.java:31:14:31:14 | | +| Exhaustive.java:31:12:31:12 | X | Exhaustive.java:32:7:32:15 | case | | Exhaustive.java:31:14:31:14 | | Exhaustive.java:8:22:8:25 | Normal Exit | -| Exhaustive.java:31:14:31:14 | | Exhaustive.java:32:7:32:15 | case | -| Exhaustive.java:32:7:32:15 | case | Exhaustive.java:32:14:32:14 | | +| Exhaustive.java:32:7:32:15 | case | Exhaustive.java:32:12:32:12 | Y | +| Exhaustive.java:32:12:32:12 | Y | Exhaustive.java:32:14:32:14 | | | Exhaustive.java:32:14:32:14 | | Exhaustive.java:8:22:8:25 | Normal Exit | | Test.java:1:14:1:17 | Entry | Test.java:1:14:1:17 | { ... } | | Test.java:1:14:1:17 | Normal Exit | Test.java:1:14:1:17 | Exit | @@ -80,15 +86,17 @@ | Test.java:3:41:134:3 | { ... } | Test.java:5:6:5:19 | switch (...) | | Test.java:5:6:5:19 | switch (...) | Test.java:5:14:5:18 | thing | | Test.java:5:14:5:18 | thing | Test.java:6:8:6:23 | case | -| Test.java:6:8:6:23 | case | Test.java:6:20:6:20 | s | +| Test.java:6:8:6:23 | case | Test.java:6:13:6:18 | String | +| Test.java:6:13:6:18 | String | Test.java:6:20:6:20 | s | +| Test.java:6:13:6:18 | String | Test.java:7:8:7:24 | case | | Test.java:6:20:6:20 | s | Test.java:6:25:6:34 | System.out | -| Test.java:6:20:6:20 | s | Test.java:7:8:7:24 | case | | Test.java:6:25:6:34 | System.out | Test.java:6:44:6:44 | s | | Test.java:6:25:6:45 | println(...) | Test.java:11:6:11:19 | switch (...) | | Test.java:6:44:6:44 | s | Test.java:6:25:6:45 | println(...) | -| Test.java:7:8:7:24 | case | Test.java:7:21:7:21 | i | +| Test.java:7:8:7:24 | case | Test.java:7:13:7:19 | Integer | +| Test.java:7:13:7:19 | Integer | Test.java:7:21:7:21 | i | +| Test.java:7:13:7:19 | Integer | Test.java:8:8:8:17 | default | | Test.java:7:21:7:21 | i | Test.java:7:26:7:35 | System.out | -| Test.java:7:21:7:21 | i | Test.java:8:8:8:17 | default | | Test.java:7:26:7:35 | System.out | Test.java:7:45:7:58 | "An integer: " | | Test.java:7:26:7:63 | println(...) | Test.java:11:6:11:19 | switch (...) | | Test.java:7:45:7:58 | "An integer: " | Test.java:7:62:7:62 | i | @@ -98,17 +106,19 @@ | Test.java:8:19:8:21 | { ... } | Test.java:11:6:11:19 | switch (...) | | Test.java:11:6:11:19 | switch (...) | Test.java:11:14:11:18 | thing | | Test.java:11:14:11:18 | thing | Test.java:12:8:12:21 | case | -| Test.java:12:8:12:21 | case | Test.java:12:20:12:20 | s | +| Test.java:12:8:12:21 | case | Test.java:12:13:12:18 | String | +| Test.java:12:13:12:18 | String | Test.java:12:20:12:20 | s | +| Test.java:12:13:12:18 | String | Test.java:15:8:15:22 | case | | Test.java:12:20:12:20 | s | Test.java:13:10:13:31 | ; | -| Test.java:12:20:12:20 | s | Test.java:15:8:15:22 | case | | Test.java:13:10:13:19 | System.out | Test.java:13:29:13:29 | s | | Test.java:13:10:13:30 | println(...) | Test.java:14:10:14:15 | break | | Test.java:13:10:13:31 | ; | Test.java:13:10:13:19 | System.out | | Test.java:13:29:13:29 | s | Test.java:13:10:13:30 | println(...) | | Test.java:14:10:14:15 | break | Test.java:22:6:26:7 | var ...; | -| Test.java:15:8:15:22 | case | Test.java:15:21:15:21 | i | +| Test.java:15:8:15:22 | case | Test.java:15:13:15:19 | Integer | +| Test.java:15:13:15:19 | Integer | Test.java:15:21:15:21 | i | +| Test.java:15:13:15:19 | Integer | Test.java:18:8:18:15 | default | | Test.java:15:21:15:21 | i | Test.java:16:10:16:47 | ; | -| Test.java:15:21:15:21 | i | Test.java:18:8:18:15 | default | | Test.java:16:10:16:19 | System.out | Test.java:16:29:16:41 | "An integer:" | | Test.java:16:10:16:46 | println(...) | Test.java:17:10:17:15 | break | | Test.java:16:10:16:47 | ; | Test.java:16:10:16:19 | System.out | @@ -122,13 +132,15 @@ | Test.java:22:10:22:38 | thingAsString | Test.java:28:6:35:7 | var ...; | | Test.java:22:26:22:38 | switch (...) | Test.java:22:33:22:37 | thing | | Test.java:22:33:22:37 | thing | Test.java:23:8:23:23 | case | -| Test.java:23:8:23:23 | case | Test.java:23:20:23:20 | s | +| Test.java:23:8:23:23 | case | Test.java:23:13:23:18 | String | +| Test.java:23:13:23:18 | String | Test.java:23:20:23:20 | s | +| Test.java:23:13:23:18 | String | Test.java:24:8:24:24 | case | | Test.java:23:20:23:20 | s | Test.java:23:25:23:25 | s | -| Test.java:23:20:23:20 | s | Test.java:24:8:24:24 | case | | Test.java:23:25:23:25 | s | Test.java:22:10:22:38 | thingAsString | -| Test.java:24:8:24:24 | case | Test.java:24:21:24:21 | i | +| Test.java:24:8:24:24 | case | Test.java:24:13:24:19 | Integer | +| Test.java:24:13:24:19 | Integer | Test.java:24:21:24:21 | i | +| Test.java:24:13:24:19 | Integer | Test.java:25:8:25:17 | default | | Test.java:24:21:24:21 | i | Test.java:24:26:24:39 | "An integer: " | -| Test.java:24:21:24:21 | i | Test.java:25:8:25:17 | default | | Test.java:24:26:24:39 | "An integer: " | Test.java:24:43:24:43 | i | | Test.java:24:26:24:43 | ... + ... | Test.java:22:10:22:38 | thingAsString | | Test.java:24:43:24:43 | i | Test.java:24:26:24:43 | ... + ... | @@ -138,14 +150,16 @@ | Test.java:28:10:28:39 | thingAsString2 | Test.java:37:6:37:18 | switch (...) | | Test.java:28:27:28:39 | switch (...) | Test.java:28:34:28:38 | thing | | Test.java:28:34:28:38 | thing | Test.java:29:8:29:21 | case | -| Test.java:29:8:29:21 | case | Test.java:29:20:29:20 | s | +| Test.java:29:8:29:21 | case | Test.java:29:13:29:18 | String | +| Test.java:29:13:29:18 | String | Test.java:29:20:29:20 | s | +| Test.java:29:13:29:18 | String | Test.java:31:8:31:22 | case | | Test.java:29:20:29:20 | s | Test.java:30:16:30:16 | s | -| Test.java:29:20:29:20 | s | Test.java:31:8:31:22 | case | | Test.java:30:10:30:17 | yield ... | Test.java:28:10:28:39 | thingAsString2 | | Test.java:30:16:30:16 | s | Test.java:30:10:30:17 | yield ... | -| Test.java:31:8:31:22 | case | Test.java:31:21:31:21 | i | +| Test.java:31:8:31:22 | case | Test.java:31:13:31:19 | Integer | +| Test.java:31:13:31:19 | Integer | Test.java:31:21:31:21 | i | +| Test.java:31:13:31:19 | Integer | Test.java:33:8:33:15 | default | | Test.java:31:21:31:21 | i | Test.java:32:16:32:29 | "An integer: " | -| Test.java:31:21:31:21 | i | Test.java:33:8:33:15 | default | | Test.java:32:10:32:34 | yield ... | Test.java:28:10:28:39 | thingAsString2 | | Test.java:32:16:32:29 | "An integer: " | Test.java:32:33:32:33 | i | | Test.java:32:16:32:33 | ... + ... | Test.java:32:10:32:34 | yield ... | @@ -155,9 +169,10 @@ | Test.java:34:16:34:31 | "Something else" | Test.java:34:10:34:32 | yield ... | | Test.java:37:6:37:18 | switch (...) | Test.java:37:13:37:17 | thing | | Test.java:37:13:37:17 | thing | Test.java:38:8:38:42 | case | -| Test.java:38:8:38:42 | case | Test.java:38:20:38:20 | s | +| Test.java:38:8:38:42 | case | Test.java:38:13:38:18 | String | +| Test.java:38:13:38:18 | String | Test.java:38:20:38:20 | s | +| Test.java:38:13:38:18 | String | Test.java:41:8:41:42 | case | | Test.java:38:20:38:20 | s | Test.java:38:27:38:27 | s | -| Test.java:38:20:38:20 | s | Test.java:41:8:41:42 | case | | Test.java:38:27:38:27 | s | Test.java:38:27:38:36 | length(...) | | Test.java:38:27:38:36 | length(...) | Test.java:38:41:38:41 | 3 | | Test.java:38:27:38:41 | ... == ... | Test.java:39:10:39:40 | ; | @@ -168,9 +183,10 @@ | Test.java:39:10:39:40 | ; | Test.java:39:10:39:19 | System.out | | Test.java:39:29:39:38 | "Length 3" | Test.java:39:10:39:39 | println(...) | | Test.java:40:10:40:15 | break | Test.java:49:6:49:18 | switch (...) | -| Test.java:41:8:41:42 | case | Test.java:41:20:41:20 | s | +| Test.java:41:8:41:42 | case | Test.java:41:13:41:18 | String | +| Test.java:41:13:41:18 | String | Test.java:41:20:41:20 | s | +| Test.java:41:13:41:18 | String | Test.java:44:8:44:15 | default | | Test.java:41:20:41:20 | s | Test.java:41:27:41:27 | s | -| Test.java:41:20:41:20 | s | Test.java:44:8:44:15 | default | | Test.java:41:27:41:27 | s | Test.java:41:27:41:36 | length(...) | | Test.java:41:27:41:36 | length(...) | Test.java:41:41:41:41 | 5 | | Test.java:41:27:41:41 | ... == ... | Test.java:42:10:42:40 | ; | @@ -189,9 +205,10 @@ | Test.java:46:10:46:15 | break | Test.java:49:6:49:18 | switch (...) | | Test.java:49:6:49:18 | switch (...) | Test.java:49:13:49:17 | thing | | Test.java:49:13:49:17 | thing | Test.java:50:8:50:44 | case | -| Test.java:50:8:50:44 | case | Test.java:50:20:50:20 | s | +| Test.java:50:8:50:44 | case | Test.java:50:13:50:18 | String | +| Test.java:50:13:50:18 | String | Test.java:50:20:50:20 | s | +| Test.java:50:13:50:18 | String | Test.java:51:8:51:44 | case | | Test.java:50:20:50:20 | s | Test.java:50:27:50:27 | s | -| Test.java:50:20:50:20 | s | Test.java:51:8:51:44 | case | | Test.java:50:27:50:27 | s | Test.java:50:27:50:36 | length(...) | | Test.java:50:27:50:36 | length(...) | Test.java:50:41:50:41 | 3 | | Test.java:50:27:50:41 | ... == ... | Test.java:50:46:50:55 | System.out | @@ -200,9 +217,10 @@ | Test.java:50:46:50:55 | System.out | Test.java:50:65:50:74 | "Length 3" | | Test.java:50:46:50:75 | println(...) | Test.java:55:6:55:26 | switch (...) | | Test.java:50:65:50:74 | "Length 3" | Test.java:50:46:50:75 | println(...) | -| Test.java:51:8:51:44 | case | Test.java:51:20:51:20 | s | +| Test.java:51:8:51:44 | case | Test.java:51:13:51:18 | String | +| Test.java:51:13:51:18 | String | Test.java:51:20:51:20 | s | +| Test.java:51:13:51:18 | String | Test.java:52:8:52:17 | default | | Test.java:51:20:51:20 | s | Test.java:51:27:51:27 | s | -| Test.java:51:20:51:20 | s | Test.java:52:8:52:17 | default | | Test.java:51:27:51:27 | s | Test.java:51:27:51:36 | length(...) | | Test.java:51:27:51:36 | length(...) | Test.java:51:41:51:41 | 5 | | Test.java:51:27:51:41 | ... == ... | Test.java:51:46:51:55 | System.out | @@ -231,9 +249,10 @@ | Test.java:59:10:59:54 | ; | Test.java:59:10:59:19 | System.out | | Test.java:59:29:59:52 | "It's Const1 or Const2!" | Test.java:59:10:59:53 | println(...) | | Test.java:60:10:60:15 | break | Test.java:73:6:73:18 | switch (...) | -| Test.java:61:8:61:42 | case | Test.java:61:20:61:20 | s | +| Test.java:61:8:61:42 | case | Test.java:61:13:61:18 | String | +| Test.java:61:13:61:18 | String | Test.java:61:20:61:20 | s | +| Test.java:61:13:61:18 | String | Test.java:63:8:63:21 | case ... | | Test.java:61:20:61:20 | s | Test.java:61:27:61:27 | s | -| Test.java:61:20:61:20 | s | Test.java:63:8:63:21 | case ... | | Test.java:61:27:61:27 | s | Test.java:61:27:61:36 | length(...) | | Test.java:61:27:61:36 | length(...) | Test.java:61:41:61:41 | 6 | | Test.java:61:27:61:41 | ... <= ... | Test.java:62:10:62:83 | ; | @@ -266,9 +285,10 @@ | Test.java:70:29:70:58 | "It's null, or something else" | Test.java:70:10:70:59 | println(...) | | Test.java:73:6:73:18 | switch (...) | Test.java:73:13:73:17 | thing | | Test.java:73:13:73:17 | thing | Test.java:74:8:74:21 | case | -| Test.java:74:8:74:21 | case | Test.java:74:20:74:20 | s | +| Test.java:74:8:74:21 | case | Test.java:74:13:74:18 | String | +| Test.java:74:13:74:18 | String | Test.java:74:20:74:20 | s | +| Test.java:74:13:74:18 | String | Test.java:77:8:77:17 | case ... | | Test.java:74:20:74:20 | s | Test.java:75:10:75:31 | ; | -| Test.java:74:20:74:20 | s | Test.java:77:8:77:17 | case ... | | Test.java:75:10:75:19 | System.out | Test.java:75:29:75:29 | s | | Test.java:75:10:75:30 | println(...) | Test.java:76:10:76:15 | break | | Test.java:75:10:75:31 | ; | Test.java:75:10:75:19 | System.out | @@ -282,9 +302,10 @@ | Test.java:78:10:78:41 | ; | Test.java:78:10:78:19 | System.out | | Test.java:78:29:78:39 | "It's null" | Test.java:78:10:78:40 | println(...) | | Test.java:79:10:79:15 | break | Test.java:87:6:87:18 | switch (...) | -| Test.java:80:8:80:22 | case | Test.java:80:21:80:21 | i | +| Test.java:80:8:80:22 | case | Test.java:80:13:80:19 | Integer | +| Test.java:80:13:80:19 | Integer | Test.java:80:21:80:21 | i | +| Test.java:80:13:80:19 | Integer | Test.java:83:8:83:15 | default | | Test.java:80:21:80:21 | i | Test.java:81:10:81:47 | ; | -| Test.java:80:21:80:21 | i | Test.java:83:8:83:15 | default | | Test.java:81:10:81:19 | System.out | Test.java:81:29:81:41 | "An integer:" | | Test.java:81:10:81:46 | println(...) | Test.java:82:10:82:15 | break | | Test.java:81:10:81:47 | ; | Test.java:81:10:81:19 | System.out | @@ -296,52 +317,58 @@ | Test.java:84:10:84:15 | break | Test.java:87:6:87:18 | switch (...) | | Test.java:87:6:87:18 | switch (...) | Test.java:87:13:87:17 | thing | | Test.java:87:13:87:17 | thing | Test.java:88:8:88:43 | case | -| Test.java:88:8:88:43 | case | Test.java:88:21:88:21 | x | -| Test.java:88:13:88:42 | A(...) | Test.java:89:10:89:15 | break | +| Test.java:88:8:88:43 | case | Test.java:88:13:88:42 | A(...) | +| Test.java:88:13:88:42 | A(...) | Test.java:88:15:88:32 | B(...) | | Test.java:88:13:88:42 | A(...) | Test.java:90:8:90:15 | default | -| Test.java:88:15:88:32 | B(...) | Test.java:88:41:88:41 | z | -| Test.java:88:21:88:21 | x | Test.java:88:31:88:31 | y | -| Test.java:88:31:88:31 | y | Test.java:88:15:88:32 | B(...) | -| Test.java:88:41:88:41 | z | Test.java:88:13:88:42 | A(...) | +| Test.java:88:15:88:32 | B(...) | Test.java:88:17:88:19 | int | +| Test.java:88:17:88:19 | int | Test.java:88:21:88:21 | x | +| Test.java:88:21:88:21 | x | Test.java:88:24:88:29 | String | +| Test.java:88:24:88:29 | String | Test.java:88:31:88:31 | y | +| Test.java:88:31:88:31 | y | Test.java:88:35:88:39 | float | +| Test.java:88:35:88:39 | float | Test.java:88:41:88:41 | z | +| Test.java:88:41:88:41 | z | Test.java:89:10:89:15 | break | | Test.java:89:10:89:15 | break | Test.java:94:6:94:18 | switch (...) | | Test.java:90:8:90:15 | default | Test.java:91:10:91:15 | break | | Test.java:91:10:91:15 | break | Test.java:94:6:94:18 | switch (...) | | Test.java:94:6:94:18 | switch (...) | Test.java:94:13:94:17 | thing | | Test.java:94:13:94:17 | thing | Test.java:95:8:95:38 | case | -| Test.java:95:8:95:38 | case | Test.java:95:21:95:21 | x | -| Test.java:95:13:95:37 | A(...) | Test.java:96:10:96:15 | break | +| Test.java:95:8:95:38 | case | Test.java:95:13:95:37 | A(...) | +| Test.java:95:13:95:37 | A(...) | Test.java:95:15:95:29 | B(...) | | Test.java:95:13:95:37 | A(...) | Test.java:97:8:97:15 | default | -| Test.java:95:15:95:29 | B(...) | Test.java:95:36:95:36 | z | +| Test.java:95:15:95:29 | B(...) | Test.java:95:21:95:21 | x | | Test.java:95:21:95:21 | x | Test.java:95:28:95:28 | y | -| Test.java:95:28:95:28 | y | Test.java:95:15:95:29 | B(...) | -| Test.java:95:36:95:36 | z | Test.java:95:13:95:37 | A(...) | +| Test.java:95:28:95:28 | y | Test.java:95:36:95:36 | z | +| Test.java:95:36:95:36 | z | Test.java:96:10:96:15 | break | | Test.java:96:10:96:15 | break | Test.java:101:6:101:18 | switch (...) | | Test.java:97:8:97:15 | default | Test.java:98:10:98:15 | break | | Test.java:98:10:98:15 | break | Test.java:101:6:101:18 | switch (...) | | Test.java:101:6:101:18 | switch (...) | Test.java:101:13:101:17 | thing | | Test.java:101:13:101:17 | thing | Test.java:102:8:102:20 | case | -| Test.java:102:8:102:20 | case | Test.java:102:15:102:15 | | +| Test.java:102:8:102:20 | case | Test.java:102:13:102:19 | B(...) | +| Test.java:102:13:102:19 | B(...) | Test.java:102:15:102:15 | | | Test.java:102:13:102:19 | B(...) | Test.java:103:8:103:77 | case | -| Test.java:102:13:102:19 | B(...) | Test.java:105:10:105:15 | break | | Test.java:102:15:102:15 | | Test.java:102:18:102:18 | | -| Test.java:102:18:102:18 | | Test.java:102:13:102:19 | B(...) | -| Test.java:103:8:103:77 | case | Test.java:103:21:103:21 | | -| Test.java:103:21:103:21 | | Test.java:103:31:103:31 | | +| Test.java:102:18:102:18 | | Test.java:105:10:105:15 | break | +| Test.java:103:8:103:77 | case | Test.java:103:13:103:19 | Integer | +| Test.java:103:13:103:19 | Integer | Test.java:103:21:103:21 | | +| Test.java:103:13:103:19 | Integer | Test.java:103:24:103:29 | String | | Test.java:103:21:103:21 | | Test.java:103:47:103:51 | thing | -| Test.java:103:31:103:31 | | Test.java:103:36:103:36 | | +| Test.java:103:24:103:29 | String | Test.java:103:31:103:31 | | +| Test.java:103:24:103:29 | String | Test.java:103:34:103:40 | A(...) | | Test.java:103:31:103:31 | | Test.java:103:47:103:51 | thing | -| Test.java:103:34:103:40 | A(...) | Test.java:103:47:103:51 | thing | +| Test.java:103:34:103:40 | A(...) | Test.java:103:36:103:36 | | | Test.java:103:34:103:40 | A(...) | Test.java:104:8:104:20 | case | | Test.java:103:36:103:36 | | Test.java:103:39:103:39 | | -| Test.java:103:39:103:39 | | Test.java:103:34:103:40 | A(...) | +| Test.java:103:39:103:39 | | Test.java:103:47:103:51 | thing | | Test.java:103:47:103:51 | thing | Test.java:103:47:103:62 | toString(...) | | Test.java:103:47:103:62 | toString(...) | Test.java:103:71:103:75 | "abc" | | Test.java:103:47:103:76 | equals(...) | Test.java:104:8:104:20 | case | | Test.java:103:47:103:76 | equals(...) | Test.java:105:10:105:15 | break | | Test.java:103:71:103:75 | "abc" | Test.java:103:47:103:76 | equals(...) | -| Test.java:104:8:104:20 | case | Test.java:104:19:104:19 | | +| Test.java:104:8:104:20 | case | Test.java:104:13:104:17 | Float | +| Test.java:104:13:104:17 | Float | Test.java:104:19:104:19 | | +| Test.java:104:13:104:17 | Float | Test.java:106:8:106:15 | default | | Test.java:104:19:104:19 | | Test.java:105:10:105:15 | break | -| Test.java:104:19:104:19 | | Test.java:106:8:106:15 | default | | Test.java:105:10:105:15 | break | Test.java:110:6:117:7 | var ...; | | Test.java:106:8:106:15 | default | Test.java:107:10:107:15 | break | | Test.java:107:10:107:15 | break | Test.java:110:6:117:7 | var ...; | @@ -349,28 +376,31 @@ | Test.java:110:10:110:31 | result | Test.java:119:6:119:27 | switch (...) | | Test.java:110:19:110:31 | switch (...) | Test.java:110:26:110:30 | thing | | Test.java:110:26:110:30 | thing | Test.java:111:8:111:20 | case | -| Test.java:111:8:111:20 | case | Test.java:111:15:111:15 | | +| Test.java:111:8:111:20 | case | Test.java:111:13:111:19 | B(...) | +| Test.java:111:13:111:19 | B(...) | Test.java:111:15:111:15 | | | Test.java:111:13:111:19 | B(...) | Test.java:112:8:112:77 | case | -| Test.java:111:13:111:19 | B(...) | Test.java:114:16:114:16 | 1 | | Test.java:111:15:111:15 | | Test.java:111:18:111:18 | | -| Test.java:111:18:111:18 | | Test.java:111:13:111:19 | B(...) | -| Test.java:112:8:112:77 | case | Test.java:112:21:112:21 | | -| Test.java:112:21:112:21 | | Test.java:112:31:112:31 | | +| Test.java:111:18:111:18 | | Test.java:114:16:114:16 | 1 | +| Test.java:112:8:112:77 | case | Test.java:112:13:112:19 | Integer | +| Test.java:112:13:112:19 | Integer | Test.java:112:21:112:21 | | +| Test.java:112:13:112:19 | Integer | Test.java:112:24:112:29 | String | | Test.java:112:21:112:21 | | Test.java:112:47:112:51 | thing | -| Test.java:112:31:112:31 | | Test.java:112:36:112:36 | | +| Test.java:112:24:112:29 | String | Test.java:112:31:112:31 | | +| Test.java:112:24:112:29 | String | Test.java:112:34:112:40 | A(...) | | Test.java:112:31:112:31 | | Test.java:112:47:112:51 | thing | -| Test.java:112:34:112:40 | A(...) | Test.java:112:47:112:51 | thing | +| Test.java:112:34:112:40 | A(...) | Test.java:112:36:112:36 | | | Test.java:112:34:112:40 | A(...) | Test.java:113:8:113:20 | case | | Test.java:112:36:112:36 | | Test.java:112:39:112:39 | | -| Test.java:112:39:112:39 | | Test.java:112:34:112:40 | A(...) | +| Test.java:112:39:112:39 | | Test.java:112:47:112:51 | thing | | Test.java:112:47:112:51 | thing | Test.java:112:47:112:62 | toString(...) | | Test.java:112:47:112:62 | toString(...) | Test.java:112:71:112:75 | "abc" | | Test.java:112:47:112:76 | equals(...) | Test.java:113:8:113:20 | case | | Test.java:112:47:112:76 | equals(...) | Test.java:114:16:114:16 | 1 | | Test.java:112:71:112:75 | "abc" | Test.java:112:47:112:76 | equals(...) | -| Test.java:113:8:113:20 | case | Test.java:113:19:113:19 | | +| Test.java:113:8:113:20 | case | Test.java:113:13:113:17 | Float | +| Test.java:113:13:113:17 | Float | Test.java:113:19:113:19 | | +| Test.java:113:13:113:17 | Float | Test.java:115:8:115:15 | default | | Test.java:113:19:113:19 | | Test.java:114:16:114:16 | 1 | -| Test.java:113:19:113:19 | | Test.java:115:8:115:15 | default | | Test.java:114:10:114:17 | yield ... | Test.java:110:10:110:31 | result | | Test.java:114:16:114:16 | 1 | Test.java:114:10:114:17 | yield ... | | Test.java:115:8:115:15 | default | Test.java:116:16:116:16 | 2 | @@ -382,9 +412,10 @@ | Test.java:120:8:120:16 | case ... | Test.java:120:13:120:15 | "a" | | Test.java:120:13:120:15 | "a" | Test.java:121:8:121:56 | case | | Test.java:120:13:120:15 | "a" | Test.java:123:10:123:15 | break | -| Test.java:121:8:121:56 | case | Test.java:121:20:121:20 | | +| Test.java:121:8:121:56 | case | Test.java:121:13:121:18 | String | +| Test.java:121:13:121:18 | String | Test.java:121:20:121:20 | | +| Test.java:121:13:121:18 | String | Test.java:122:8:122:16 | case ... | | Test.java:121:20:121:20 | | Test.java:121:36:121:40 | thing | -| Test.java:121:20:121:20 | | Test.java:122:8:122:16 | case ... | | Test.java:121:27:121:50 | length(...) | Test.java:121:55:121:55 | 5 | | Test.java:121:27:121:55 | ... == ... | Test.java:122:8:122:16 | case ... | | Test.java:121:27:121:55 | ... == ... | Test.java:123:10:123:15 | break | @@ -399,9 +430,10 @@ | Test.java:125:10:125:15 | break | Test.java:129:6:129:18 | switch (...) | | Test.java:129:6:129:18 | switch (...) | Test.java:129:13:129:17 | thing | | Test.java:129:13:129:17 | thing | Test.java:130:8:130:21 | case | -| Test.java:130:8:130:21 | case | Test.java:130:20:130:20 | | +| Test.java:130:8:130:21 | case | Test.java:130:13:130:18 | String | +| Test.java:130:13:130:18 | String | Test.java:130:20:130:20 | | +| Test.java:130:13:130:18 | String | Test.java:131:8:131:15 | default | | Test.java:130:20:130:20 | | Test.java:3:22:3:25 | Normal Exit | -| Test.java:130:20:130:20 | | Test.java:131:8:131:15 | default | | Test.java:131:8:131:15 | default | Test.java:3:22:3:25 | Normal Exit | | Test.java:138:8:138:8 | ...=... | Test.java:138:8:138:8 | ; | | Test.java:138:8:138:8 | ...=... | Test.java:138:8:138:8 | Normal Exit | diff --git a/java/ql/test/query-tests/UselessNullCheck/UselessNullCheck.expected b/java/ql/test/query-tests/UselessNullCheck/UselessNullCheck.expected index 0bd71a9d0741..8fa4bd6e8538 100644 --- a/java/ql/test/query-tests/UselessNullCheck/UselessNullCheck.expected +++ b/java/ql/test/query-tests/UselessNullCheck/UselessNullCheck.expected @@ -1,7 +1,7 @@ | A.java:4:9:4:17 | ... == ... | This check is useless. $@ cannot be null at this check, since $@ always is non-null. | A.java:4:9:4:9 | o | o | A.java:3:16:3:27 | new Object(...) | new Object(...) | | A.java:5:9:5:17 | ... != ... | This check is useless. $@ cannot be null at this check, since $@ always is non-null. | A.java:5:9:5:9 | o | o | A.java:3:16:3:27 | new Object(...) | new Object(...) | | A.java:9:11:9:19 | ... == ... | This check is useless. $@ cannot be null at this check, since $@ always is non-null. | A.java:9:11:9:11 | e | e | A.java:8:23:8:23 | e | e | -| A.java:18:11:18:19 | ... != ... | This check is useless. $@ cannot be null at this check, since it is guarded by $@. | A.java:18:11:18:11 | a | a | A.java:16:9:16:22 | ...instanceof... | ...instanceof... | +| A.java:18:11:18:19 | ... != ... | This check is useless. $@ cannot be null at this check, since it is guarded by $@. | A.java:18:11:18:11 | a | a | A.java:16:22:16:22 | A | A | | A.java:31:11:31:19 | ... != ... | This check is useless. $@ cannot be null at this check, since $@ always is non-null. | A.java:31:11:31:11 | x | x | A.java:29:17:29:20 | this | this | | A.java:40:14:40:25 | ... != ... | This check is useless, since $@ always is non-null. | A.java:40:14:40:17 | this | this | A.java:40:14:40:17 | this | this | | A.java:42:9:42:17 | ... != ... | This check is useless. $@ cannot be null at this check, since it is guarded by $@. | A.java:42:9:42:9 | x | x | A.java:39:9:39:17 | ... == ... | ... == ... |