File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
JIT/Regression/JitBlue/Runtime_54956 Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public static int TestEntryPoint()
4646 }
4747
4848 [ MethodImpl ( MethodImplOptions . NoInlining ) ]
49- static bool Test ( Action action , [ CallerArgumentExpression ( " action" ) ] string expr = null )
49+ static bool Test ( Action action , [ CallerArgumentExpression ( nameof ( action ) ) ] string expr = null )
5050 {
5151 try
5252 {
Original file line number Diff line number Diff line change 1212
1313return success ? 100 : 1 ;
1414
15- static bool RunTest ( Func < int > t , [ CallerArgumentExpression ( "t" ) ] string name = null )
15+ static bool RunTest ( Func < int > t , [ CallerArgumentExpression ( nameof ( t ) ) ] string name = null )
1616{
1717 Console . WriteLine ( $ "===== Running test { name } =====") ;
1818 bool success = true ;
Original file line number Diff line number Diff line change 1414
1515return success ? 100 : 1 ;
1616
17- static bool RunTest ( Func < int > t , [ CallerArgumentExpression ( "t" ) ] string name = null )
17+ static bool RunTest ( Func < int > t , [ CallerArgumentExpression ( nameof ( t ) ) ] string name = null )
1818{
1919 Console . WriteLine ( $ "===== Running test { name } =====") ;
2020 bool success = true ;
You can’t perform that action at this time.
0 commit comments