@@ -62,43 +62,52 @@ csharp73.cs:
6262# 20| -1: [TypeMention] Void
6363# 21| 4: [BlockStmt] {...}
6464# 22| 0: [LocalVariableDeclStmt] ... ...;
65- # 22| 0: [LocalVariableDeclAndInitExpr] Span<Int32> t = ...
66- # 22| -1: [TypeMention] Span<Int32>
67- # 22| 1: [TypeMention] Int32
68- # 22| 0: [LocalVariableAccess] access to local variable t
69- # 22| 1: [OperatorCall] call to operator implicit conversion
70- # 22| 0: [ArrayCreation] array creation of type Int32[]
71- # 22| -1: [TypeMention] Int32[]
72- # 22| 1: [TypeMention] Int32
73- # 22| 0: [IntLiteral] 10
74- # 25| 1: [BlockStmt] {...}
75- # 30| [Class] UnmanagedConstraint<>
65+ # 22| 0: [LocalVariableDeclAndInitExpr] Span<Byte> buffer = ...
66+ # 22| -1: [TypeMention] Span<Byte>
67+ # 22| 1: [TypeMention] Byte
68+ # 22| 0: [LocalVariableAccess] access to local variable buffer
69+ # 22| 1: [Stackalloc] array creation of type Span<Byte>
70+ # 22| -1: [TypeMention] Span<Byte>
71+ # 22| 1: [TypeMention] Byte
72+ # 22| 0: [IntLiteral] 10
73+ # 24| 1: [LocalVariableDeclStmt] ... ...;
74+ # 24| 0: [LocalVariableDeclAndInitExpr] Span<Int32> t = ...
75+ # 24| -1: [TypeMention] Span<Int32>
76+ # 24| 1: [TypeMention] Int32
77+ # 24| 0: [LocalVariableAccess] access to local variable t
78+ # 24| 1: [OperatorCall] call to operator implicit conversion
79+ # 24| 0: [ArrayCreation] array creation of type Int32[]
80+ # 24| -1: [TypeMention] Int32[]
81+ # 24| 1: [TypeMention] Int32
82+ # 24| 0: [IntLiteral] 10
83+ # 27| 2: [BlockStmt] {...}
84+ # 32| [Class] UnmanagedConstraint<>
7685#-----| 1: (Type parameters)
77- # 30 | 0: [TypeParameter] T
78- # 34 | [Class] EnumConstraint<>
86+ # 32 | 0: [TypeParameter] T
87+ # 36 | [Class] EnumConstraint<>
7988#-----| 1: (Type parameters)
80- # 34 | 0: [TypeParameter] T
81- # 38 | [Class] DelegateConstraint<>
89+ # 36 | 0: [TypeParameter] T
90+ # 40 | [Class] DelegateConstraint<>
8291#-----| 1: (Type parameters)
83- # 38 | 0: [TypeParameter] T
84- # 42 | [Class] ExpressionVariables
85- # 44 | 4: [InstanceConstructor] ExpressionVariables
92+ # 40 | 0: [TypeParameter] T
93+ # 44 | [Class] ExpressionVariables
94+ # 46 | 4: [InstanceConstructor] ExpressionVariables
8695#-----| 2: (Parameters)
87- # 44 | 0: [Parameter] x
88- # 44 | -1: [TypeMention] Int32
89- # 45 | 4: [BlockStmt] {...}
90- # 46 | 0: [ExprStmt] ...;
91- # 46 | 0: [AssignExpr] ... = ...
92- # 46 | 0: [ParameterAccess] access to parameter x
93- # 46 | 1: [IntLiteral] 5
94- # 49 | 5: [InstanceConstructor] ExpressionVariables
95- # 49 | 3: [ConstructorInitializer] call to constructor ExpressionVariables
96- # 49 | 0: [LocalVariableDeclExpr] Int32 x
97- # 50 | 4: [BlockStmt] {...}
98- # 51 | 0: [ExprStmt] ...;
99- # 51 | 0: [MethodCall] call to method WriteLine
100- # 51 | -1: [TypeAccess] access to type Console
101- # 51 | 0: [TypeMention] Console
102- # 51 | 0: [InterpolatedStringExpr] $"..."
103- # 51 | 0: [StringLiteral] "x is "
104- # 51 | 1: [LocalVariableAccess] access to local variable x
96+ # 46 | 0: [Parameter] x
97+ # 46 | -1: [TypeMention] Int32
98+ # 47 | 4: [BlockStmt] {...}
99+ # 48 | 0: [ExprStmt] ...;
100+ # 48 | 0: [AssignExpr] ... = ...
101+ # 48 | 0: [ParameterAccess] access to parameter x
102+ # 48 | 1: [IntLiteral] 5
103+ # 51 | 5: [InstanceConstructor] ExpressionVariables
104+ # 51 | 3: [ConstructorInitializer] call to constructor ExpressionVariables
105+ # 51 | 0: [LocalVariableDeclExpr] Int32 x
106+ # 52 | 4: [BlockStmt] {...}
107+ # 53 | 0: [ExprStmt] ...;
108+ # 53 | 0: [MethodCall] call to method WriteLine
109+ # 53 | -1: [TypeAccess] access to type Console
110+ # 53 | 0: [TypeMention] Console
111+ # 53 | 0: [InterpolatedStringExpr] $"..."
112+ # 53 | 0: [StringLiteral] "x is "
113+ # 53 | 1: [LocalVariableAccess] access to local variable x
0 commit comments