Skip to content

Commit dc2cd99

Browse files
committed
C#: Update expected test output
1 parent a749212 commit dc2cd99

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

csharp/ql/test/library-tests/csharp9/PrintAst.expected

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ AnonymousObjectCreation.cs:
55
# 7| 1: [TypeMention] AnonObj
66
# 7| 1: [AssignExpr] ... = ...
77
# 7| 0: [FieldAccess] access to field l
8-
# 7| 1: [ObjectCreation] object creation of type List<AnonObj>
8+
# 7| 1: [CastExpr] (...) ...
9+
# 7| 1: [ObjectCreation] object creation of type List<AnonObj>
910
# 9| 6: [Property] Prop1
1011
# 9| -1: [TypeMention] int
1112
# 9| 3: [Getter] get_Prop1
@@ -21,13 +22,15 @@ AnonymousObjectCreation.cs:
2122
# 13| 0: [ExprStmt] ...;
2223
# 13| 0: [MethodCall] call to method M1
2324
# 13| -1: [ThisAccess] this access
24-
# 13| 0: [ObjectCreation] object creation of type AnonObj
25-
# 13| -1: [ObjectInitializer] { ..., ... }
26-
# 13| 0: [MemberInitializer] ... = ...
27-
# 13| 0: [PropertyCall] access to property Prop1
28-
# 13| 1: [IntLiteral] 1
25+
# 13| 0: [CastExpr] (...) ...
26+
# 13| 1: [ObjectCreation] object creation of type AnonObj
27+
# 13| -1: [ObjectInitializer] { ..., ... }
28+
# 13| 0: [MemberInitializer] ... = ...
29+
# 13| 0: [PropertyCall] access to property Prop1
30+
# 13| 1: [IntLiteral] 1
2931
# 14| 1: [ReturnStmt] return ...;
30-
# 14| 0: [ObjectCreation] object creation of type AnonObj
32+
# 14| 0: [CastExpr] (...) ...
33+
# 14| 1: [ObjectCreation] object creation of type AnonObj
3134
# 17| 8: [DelegateType] D
3235
#-----| 2: (Parameters)
3336
# 17| 0: [Parameter] x
@@ -42,9 +45,10 @@ AnonymousObjectCreation.cs:
4245
# 21| -1: [TypeMention] D
4346
# 21| 4: [BlockStmt] {...}
4447
# 21| 0: [ReturnStmt] return ...;
45-
# 21| 0: [ExplicitDelegateCreation] delegate creation of type D
46-
# 21| 0: [ImplicitDelegateCreation] delegate creation of type D
47-
# 21| 0: [MethodAccess] access to method M2
48+
# 21| 0: [CastExpr] (...) ...
49+
# 21| 1: [ExplicitDelegateCreation] delegate creation of type D
50+
# 21| 0: [ImplicitDelegateCreation] delegate creation of type D
51+
# 21| 0: [MethodAccess] access to method M2
4852
# 23| 11: [Method] MethodAdd
4953
# 23| -1: [TypeMention] Void
5054
# 24| 4: [BlockStmt] {...}
@@ -53,7 +57,8 @@ AnonymousObjectCreation.cs:
5357
# 25| -1: [TypeMention] List<int>
5458
# 25| 1: [TypeMention] int
5559
# 25| 0: [LocalVariableAccess] access to local variable list
56-
# 25| 1: [ObjectCreation] object creation of type List<Int32>
60+
# 25| 1: [CastExpr] (...) ...
61+
# 25| 1: [ObjectCreation] object creation of type List<Int32>
5762
BinaryPattern.cs:
5863
# 3| [Class] BinaryPattern
5964
# 5| 5: [Property] P1

0 commit comments

Comments
 (0)