@@ -343,6 +343,87 @@ PatternMatchSpan.cs:
343343# 16| 2: [DefaultCase] default:
344344# 16| 3: [BlockStmt] {...}
345345# 16| 0: [BreakStmt] break;
346+ Scoped.cs:
347+ # 1| [Struct] S1
348+ # 2| [Struct] S2
349+ # 7| [Class] ScopedModifierTest
350+ # 9| 5: [Method] M1
351+ # 9| -1: [TypeMention] int
352+ #-----| 2: (Parameters)
353+ # 9| 0: [Parameter] x1
354+ # 9| -1: [TypeMention] int
355+ # 9| 1: [Parameter] y1
356+ # 9| -1: [TypeMention] int
357+ # 10| 4: [BlockStmt] {...}
358+ # 13| 0: [ReturnStmt] return ...;
359+ # 13| 0: [RefExpr] ref ...
360+ # 13| 0: [ParameterAccess] access to parameter y1
361+ # 16| 6: [Method] M2
362+ # 16| -1: [TypeMention] int
363+ #-----| 2: (Parameters)
364+ # 16| 0: [Parameter] x2
365+ # 16| -1: [TypeMention] int
366+ # 16| 1: [Parameter] y2
367+ # 16| -1: [TypeMention] int
368+ # 17| 4: [BlockStmt] {...}
369+ # 18| 0: [ExprStmt] ...;
370+ # 18| 0: [AssignExpr] ... = ...
371+ # 18| 0: [ParameterAccess] access to parameter x2
372+ # 18| 1: [IntLiteral] 0
373+ # 21| 1: [ReturnStmt] return ...;
374+ # 21| 0: [RefExpr] ref ...
375+ # 21| 0: [ParameterAccess] access to parameter y2
376+ # 24| 7: [Method] M3
377+ # 24| -1: [TypeMention] int
378+ #-----| 2: (Parameters)
379+ # 24| 0: [Parameter] x3
380+ # 24| -1: [TypeMention] int
381+ # 25| 4: [BlockStmt] {...}
382+ # 27| 0: [ReturnStmt] return ...;
383+ # 27| 0: [ParameterAccess] access to parameter x3
384+ # 30| 8: [Method] M4
385+ # 30| -1: [TypeMention] S1
386+ #-----| 2: (Parameters)
387+ # 30| 0: [Parameter] x4
388+ # 30| -1: [TypeMention] S1
389+ # 31| 4: [BlockStmt] {...}
390+ # 33| 0: [ReturnStmt] return ...;
391+ # 33| 0: [ParameterAccess] access to parameter x4
392+ # 36| 9: [Method] M5
393+ # 36| -1: [TypeMention] S2
394+ #-----| 2: (Parameters)
395+ # 36| 0: [Parameter] x5
396+ # 36| -1: [TypeMention] S2
397+ # 37| 4: [BlockStmt] {...}
398+ # 40| 0: [ReturnStmt] return ...;
399+ # 40| 0: [ObjectCreation] object creation of type S2
400+ # 40| 0: [TypeMention] S2
401+ # 43| 10: [Method] M6
402+ # 43| -1: [TypeMention] S2
403+ #-----| 2: (Parameters)
404+ # 43| 0: [Parameter] x6
405+ # 43| -1: [TypeMention] S2
406+ # 44| 4: [BlockStmt] {...}
407+ # 47| 0: [ReturnStmt] return ...;
408+ # 47| 0: [ObjectCreation] object creation of type S2
409+ # 47| 0: [TypeMention] S2
410+ # 50| 11: [Method] Locals
411+ # 50| -1: [TypeMention] S2
412+ # 51| 4: [BlockStmt] {...}
413+ # 52| 0: [LocalVariableDeclStmt] ... ...;
414+ # 52| 0: [LocalVariableDeclAndInitExpr] S2 x7 = ...
415+ # 52| -1: [TypeMention] null
416+ # 52| 0: [LocalVariableAccess] access to local variable x7
417+ # 52| 1: [ObjectCreation] object creation of type S2
418+ # 52| 0: [TypeMention] S2
419+ # 55| 1: [LocalVariableDeclStmt] ... ...;
420+ # 55| 0: [LocalVariableDeclAndInitExpr] S2 y7 = ...
421+ # 55| -1: [TypeMention] S2
422+ # 55| 0: [LocalVariableAccess] access to local variable y7
423+ # 55| 1: [ObjectCreation] object creation of type S2
424+ # 55| 0: [TypeMention] S2
425+ # 56| 2: [ReturnStmt] return ...;
426+ # 56| 0: [LocalVariableAccess] access to local variable y7
346427SignAnalysis.cs:
347428# 1| [Class] MySignAnalysis
348429# 4| 5: [Method] UnsignedRightShiftSign
0 commit comments