Skip to content

Commit 5836c8d

Browse files
committed
C#: Update expected test output for data flow tests.
1 parent dae5ca8 commit 5836c8d

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

csharp/ql/test/library-tests/dataflow/fields/FieldFlow.expected

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,26 @@ edges
502502
| D.cs:47:14:47:14 | access to local variable d : D [field trivialPropField] : Object | D.cs:14:9:14:11 | this : D [field trivialPropField] : Object | provenance | |
503503
| D.cs:47:14:47:14 | access to local variable d : D [field trivialPropField] : Object | D.cs:47:14:47:26 | access to property ComplexProp | provenance | |
504504
| D.cs:47:14:47:14 | access to local variable d : D [field trivialPropField] : Object | D.cs:47:14:47:26 | access to property ComplexProp | provenance | |
505+
| D.cs:78:13:78:13 | access to local variable o : Object | D.cs:81:26:81:26 | access to local variable o : Object | provenance | |
506+
| D.cs:78:13:78:13 | access to local variable o : Object | D.cs:81:26:81:26 | access to local variable o : Object | provenance | |
507+
| D.cs:78:13:78:13 | access to local variable o : Object | D.cs:82:26:82:26 | access to local variable o : Object | provenance | |
508+
| D.cs:78:13:78:13 | access to local variable o : Object | D.cs:82:26:82:26 | access to local variable o : Object | provenance | |
509+
| D.cs:78:17:78:33 | call to method Source<Object> : Object | D.cs:78:13:78:13 | access to local variable o : Object | provenance | |
510+
| D.cs:78:17:78:33 | call to method Source<Object> : Object | D.cs:78:13:78:13 | access to local variable o : Object | provenance | |
511+
| D.cs:81:9:81:9 | [post] access to local variable d : DPartial [property PartialProp1] : Object | D.cs:82:9:82:9 | access to local variable d : DPartial [property PartialProp1] : Object | provenance | |
512+
| D.cs:81:9:81:9 | [post] access to local variable d : DPartial [property PartialProp1] : Object | D.cs:82:9:82:9 | access to local variable d : DPartial [property PartialProp1] : Object | provenance | |
513+
| D.cs:81:26:81:26 | access to local variable o : Object | D.cs:81:9:81:9 | [post] access to local variable d : DPartial [property PartialProp1] : Object | provenance | |
514+
| D.cs:81:26:81:26 | access to local variable o : Object | D.cs:81:9:81:9 | [post] access to local variable d : DPartial [property PartialProp1] : Object | provenance | |
515+
| D.cs:82:9:82:9 | [post] access to local variable d : DPartial [property PartialProp2] : Object | D.cs:85:14:85:14 | access to local variable d : DPartial [property PartialProp2] : Object | provenance | |
516+
| D.cs:82:9:82:9 | [post] access to local variable d : DPartial [property PartialProp2] : Object | D.cs:85:14:85:14 | access to local variable d : DPartial [property PartialProp2] : Object | provenance | |
517+
| D.cs:82:9:82:9 | access to local variable d : DPartial [property PartialProp1] : Object | D.cs:84:14:84:14 | access to local variable d : DPartial [property PartialProp1] : Object | provenance | |
518+
| D.cs:82:9:82:9 | access to local variable d : DPartial [property PartialProp1] : Object | D.cs:84:14:84:14 | access to local variable d : DPartial [property PartialProp1] : Object | provenance | |
519+
| D.cs:82:26:82:26 | access to local variable o : Object | D.cs:82:9:82:9 | [post] access to local variable d : DPartial [property PartialProp2] : Object | provenance | |
520+
| D.cs:82:26:82:26 | access to local variable o : Object | D.cs:82:9:82:9 | [post] access to local variable d : DPartial [property PartialProp2] : Object | provenance | |
521+
| D.cs:84:14:84:14 | access to local variable d : DPartial [property PartialProp1] : Object | D.cs:84:14:84:27 | access to property PartialProp1 | provenance | |
522+
| D.cs:84:14:84:14 | access to local variable d : DPartial [property PartialProp1] : Object | D.cs:84:14:84:27 | access to property PartialProp1 | provenance | |
523+
| D.cs:85:14:85:14 | access to local variable d : DPartial [property PartialProp2] : Object | D.cs:85:14:85:27 | access to property PartialProp2 | provenance | |
524+
| D.cs:85:14:85:14 | access to local variable d : DPartial [property PartialProp2] : Object | D.cs:85:14:85:27 | access to property PartialProp2 | provenance | |
505525
| E.cs:8:29:8:29 | o : Object | E.cs:11:21:11:21 | access to parameter o : Object | provenance | |
506526
| E.cs:8:29:8:29 | o : Object | E.cs:11:21:11:21 | access to parameter o : Object | provenance | |
507527
| E.cs:11:9:11:11 | [post] access to local variable ret : S [field Field] : Object | E.cs:12:16:12:18 | access to local variable ret : S [field Field] : Object | provenance | |
@@ -1745,6 +1765,28 @@ nodes
17451765
| D.cs:47:14:47:14 | access to local variable d : D [field trivialPropField] : Object | semmle.label | access to local variable d : D [field trivialPropField] : Object |
17461766
| D.cs:47:14:47:26 | access to property ComplexProp | semmle.label | access to property ComplexProp |
17471767
| D.cs:47:14:47:26 | access to property ComplexProp | semmle.label | access to property ComplexProp |
1768+
| D.cs:78:13:78:13 | access to local variable o : Object | semmle.label | access to local variable o : Object |
1769+
| D.cs:78:13:78:13 | access to local variable o : Object | semmle.label | access to local variable o : Object |
1770+
| D.cs:78:17:78:33 | call to method Source<Object> : Object | semmle.label | call to method Source<Object> : Object |
1771+
| D.cs:78:17:78:33 | call to method Source<Object> : Object | semmle.label | call to method Source<Object> : Object |
1772+
| D.cs:81:9:81:9 | [post] access to local variable d : DPartial [property PartialProp1] : Object | semmle.label | [post] access to local variable d : DPartial [property PartialProp1] : Object |
1773+
| D.cs:81:9:81:9 | [post] access to local variable d : DPartial [property PartialProp1] : Object | semmle.label | [post] access to local variable d : DPartial [property PartialProp1] : Object |
1774+
| D.cs:81:26:81:26 | access to local variable o : Object | semmle.label | access to local variable o : Object |
1775+
| D.cs:81:26:81:26 | access to local variable o : Object | semmle.label | access to local variable o : Object |
1776+
| D.cs:82:9:82:9 | [post] access to local variable d : DPartial [property PartialProp2] : Object | semmle.label | [post] access to local variable d : DPartial [property PartialProp2] : Object |
1777+
| D.cs:82:9:82:9 | [post] access to local variable d : DPartial [property PartialProp2] : Object | semmle.label | [post] access to local variable d : DPartial [property PartialProp2] : Object |
1778+
| D.cs:82:9:82:9 | access to local variable d : DPartial [property PartialProp1] : Object | semmle.label | access to local variable d : DPartial [property PartialProp1] : Object |
1779+
| D.cs:82:9:82:9 | access to local variable d : DPartial [property PartialProp1] : Object | semmle.label | access to local variable d : DPartial [property PartialProp1] : Object |
1780+
| D.cs:82:26:82:26 | access to local variable o : Object | semmle.label | access to local variable o : Object |
1781+
| D.cs:82:26:82:26 | access to local variable o : Object | semmle.label | access to local variable o : Object |
1782+
| D.cs:84:14:84:14 | access to local variable d : DPartial [property PartialProp1] : Object | semmle.label | access to local variable d : DPartial [property PartialProp1] : Object |
1783+
| D.cs:84:14:84:14 | access to local variable d : DPartial [property PartialProp1] : Object | semmle.label | access to local variable d : DPartial [property PartialProp1] : Object |
1784+
| D.cs:84:14:84:27 | access to property PartialProp1 | semmle.label | access to property PartialProp1 |
1785+
| D.cs:84:14:84:27 | access to property PartialProp1 | semmle.label | access to property PartialProp1 |
1786+
| D.cs:85:14:85:14 | access to local variable d : DPartial [property PartialProp2] : Object | semmle.label | access to local variable d : DPartial [property PartialProp2] : Object |
1787+
| D.cs:85:14:85:14 | access to local variable d : DPartial [property PartialProp2] : Object | semmle.label | access to local variable d : DPartial [property PartialProp2] : Object |
1788+
| D.cs:85:14:85:27 | access to property PartialProp2 | semmle.label | access to property PartialProp2 |
1789+
| D.cs:85:14:85:27 | access to property PartialProp2 | semmle.label | access to property PartialProp2 |
17481790
| E.cs:8:29:8:29 | o : Object | semmle.label | o : Object |
17491791
| E.cs:8:29:8:29 | o : Object | semmle.label | o : Object |
17501792
| E.cs:11:9:11:11 | [post] access to local variable ret : S [field Field] : Object | semmle.label | [post] access to local variable ret : S [field Field] : Object |
@@ -2633,6 +2675,7 @@ subpaths
26332675
| J.cs:80:35:80:35 | access to local variable o : Object | J.cs:14:40:14:43 | prop : Object | J.cs:14:12:14:17 | this [Return] : Struct [property Prop] : Object | J.cs:80:18:80:36 | object creation of type Struct : Struct [property Prop] : Object |
26342676
| J.cs:80:35:80:35 | access to local variable o : Object | J.cs:14:40:14:43 | prop : Object | J.cs:14:12:14:17 | this [Return] : Struct [property Prop] : Object | J.cs:80:18:80:36 | object creation of type Struct : Struct [property Prop] : Object |
26352677
testFailures
2678+
| D.cs:85:14:85:27 | access to property PartialProp2 | Unexpected result: hasValueFlow=1 |
26362679
#select
26372680
| A.cs:7:14:7:16 | access to field c | A.cs:5:17:5:28 | call to method Source<C> : C | A.cs:7:14:7:16 | access to field c | $@ | A.cs:5:17:5:28 | call to method Source<C> : C | call to method Source<C> : C |
26382681
| A.cs:7:14:7:16 | access to field c | A.cs:5:17:5:28 | call to method Source<C> : C | A.cs:7:14:7:16 | access to field c | $@ | A.cs:5:17:5:28 | call to method Source<C> : C | call to method Source<C> : C |
@@ -2690,6 +2733,10 @@ testFailures
26902733
| D.cs:46:14:46:31 | access to field trivialPropField | D.cs:43:32:43:48 | call to method Source<Object> : Object | D.cs:46:14:46:31 | access to field trivialPropField | $@ | D.cs:43:32:43:48 | call to method Source<Object> : Object | call to method Source<Object> : Object |
26912734
| D.cs:47:14:47:26 | access to property ComplexProp | D.cs:43:32:43:48 | call to method Source<Object> : Object | D.cs:47:14:47:26 | access to property ComplexProp | $@ | D.cs:43:32:43:48 | call to method Source<Object> : Object | call to method Source<Object> : Object |
26922735
| D.cs:47:14:47:26 | access to property ComplexProp | D.cs:43:32:43:48 | call to method Source<Object> : Object | D.cs:47:14:47:26 | access to property ComplexProp | $@ | D.cs:43:32:43:48 | call to method Source<Object> : Object | call to method Source<Object> : Object |
2736+
| D.cs:84:14:84:27 | access to property PartialProp1 | D.cs:78:17:78:33 | call to method Source<Object> : Object | D.cs:84:14:84:27 | access to property PartialProp1 | $@ | D.cs:78:17:78:33 | call to method Source<Object> : Object | call to method Source<Object> : Object |
2737+
| D.cs:84:14:84:27 | access to property PartialProp1 | D.cs:78:17:78:33 | call to method Source<Object> : Object | D.cs:84:14:84:27 | access to property PartialProp1 | $@ | D.cs:78:17:78:33 | call to method Source<Object> : Object | call to method Source<Object> : Object |
2738+
| D.cs:85:14:85:27 | access to property PartialProp2 | D.cs:78:17:78:33 | call to method Source<Object> : Object | D.cs:85:14:85:27 | access to property PartialProp2 | $@ | D.cs:78:17:78:33 | call to method Source<Object> : Object | call to method Source<Object> : Object |
2739+
| D.cs:85:14:85:27 | access to property PartialProp2 | D.cs:78:17:78:33 | call to method Source<Object> : Object | D.cs:85:14:85:27 | access to property PartialProp2 | $@ | D.cs:78:17:78:33 | call to method Source<Object> : Object | call to method Source<Object> : Object |
26932740
| E.cs:24:14:24:20 | access to field Field | E.cs:22:17:22:33 | call to method Source<Object> : Object | E.cs:24:14:24:20 | access to field Field | $@ | E.cs:22:17:22:33 | call to method Source<Object> : Object | call to method Source<Object> : Object |
26942741
| E.cs:24:14:24:20 | access to field Field | E.cs:22:17:22:33 | call to method Source<Object> : Object | E.cs:24:14:24:20 | access to field Field | $@ | E.cs:22:17:22:33 | call to method Source<Object> : Object | call to method Source<Object> : Object |
26952742
| E.cs:57:14:57:26 | access to field RefField | E.cs:54:21:54:37 | call to method Source<Object> : Object | E.cs:57:14:57:26 | access to field RefField | $@ | E.cs:54:21:54:37 | call to method Source<Object> : Object | call to method Source<Object> : Object |

0 commit comments

Comments
 (0)