@@ -184,6 +184,67 @@ NativeInt.cs:
184
184
# 25| 0: [CastExpr] (...) ...
185
185
# 25| 1: [LocalVariableAccess] access to local variable x
186
186
# 25| 1: [LocalVariableAccess] access to local variable v
187
+ ParenthesizedPattern.cs:
188
+ # 3| [Class] T
189
+ # 5| [Class] ParenthesizedPattern
190
+ # 7| 5: [Method] M1
191
+ # 7| -1: [TypeMention] Void
192
+ #-----| 2: (Parameters)
193
+ # 7| 0: [Parameter] o
194
+ # 7| -1: [TypeMention] object
195
+ # 8| 4: [BlockStmt] {...}
196
+ # 9| 0: [IfStmt] if (...) ...
197
+ # 9| 0: [IsExpr] ... is ...
198
+ # 9| 0: [ParameterAccess] access to parameter o
199
+ # 9| 1: [RecursivePatternExpr] { ... }
200
+ # 9| 0: [LocalVariableDeclExpr] Object p1
201
+ # 9| 3: [PropertyPatternExpr] { ... }
202
+ # 10| 1: [BlockStmt] {...}
203
+ # 13| 1: [IfStmt] if (...) ...
204
+ # 13| 0: [IsExpr] ... is ...
205
+ # 13| 0: [ParameterAccess] access to parameter o
206
+ # 13| 1: [RecursivePatternExpr] { ... }
207
+ # 13| 0: [LocalVariableDeclExpr] Object p2
208
+ # 13| 3: [PropertyPatternExpr] { ... }
209
+ # 14| 1: [BlockStmt] {...}
210
+ # 19| 6: [Method] M2
211
+ # 19| -1: [TypeMention] Void
212
+ #-----| 2: (Parameters)
213
+ # 19| 0: [Parameter] o
214
+ # 19| -1: [TypeMention] object
215
+ # 20| 4: [BlockStmt] {...}
216
+ # 21| 0: [LocalVariableDeclStmt] ... ...;
217
+ # 21| 0: [LocalVariableDeclAndInitExpr] Int32 r = ...
218
+ # 21| -1: [TypeMention] int
219
+ # 21| 0: [LocalVariableAccess] access to local variable r
220
+ # 21| 1: [SwitchExpr] ... switch { ... }
221
+ # 21| -1: [ParameterAccess] access to parameter o
222
+ # 23| 0: [SwitchCaseExpr] ... => ...
223
+ # 23| 0: [ConstantPatternExpr,IntLiteral] 1
224
+ # 23| 2: [IntLiteral] 1
225
+ # 24| 1: [SwitchCaseExpr] ... => ...
226
+ # 24| 0: [ConstantPatternExpr,IntLiteral] 2
227
+ # 24| 2: [IntLiteral] 2
228
+ # 25| 2: [SwitchCaseExpr] ... => ...
229
+ # 25| 0: [VariablePatternExpr] T t
230
+ # 25| 0: [TypeMention] T
231
+ # 25| 1: [IsExpr] ... is ...
232
+ # 25| 0: [LocalVariableAccess] access to local variable t
233
+ # 25| 1: [RecursivePatternExpr] { ... }
234
+ # 25| 3: [PropertyPatternExpr] { ... }
235
+ # 25| 2: [IntLiteral] 3
236
+ # 26| 3: [SwitchCaseExpr] ... => ...
237
+ # 26| 0: [VariablePatternExpr] Object o1
238
+ # 26| 0: [TypeMention] object
239
+ # 26| 1: [IsExpr] ... is ...
240
+ # 26| 0: [LocalVariableAccess] access to local variable o1
241
+ # 26| 1: [RecursivePatternExpr] { ... }
242
+ # 26| 3: [PropertyPatternExpr] { ... }
243
+ # 26| 2: [IntLiteral] 4
244
+ # 27| 4: [SwitchCaseExpr] ... => ...
245
+ # 27| 0: [TypeAccessPatternExpr] access to type String
246
+ # 27| 0: [TypeMention] string
247
+ # 27| 2: [IntLiteral] 5
187
248
TypeParameterNullability.cs:
188
249
# 1| [Interface] I1
189
250
# 3| [Class] A2
0 commit comments