File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
src/libraries/Common/tests/System/Reflection Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ public static void VerifyInvokeIsUsingInterpreter_Method()
16
16
Exception exInner = ex . InnerException ;
17
17
18
18
Assert . Contains ( "Here" , exInner . ToString ( ) ) ;
19
- Assert . Contains ( InterpretedMethodName , exInner . ToString ( ) ) ;
20
19
Assert . DoesNotContain ( "InvokeStub_TestClassThatThrows" , exInner . ToString ( ) ) ;
21
20
}
22
21
@@ -29,18 +28,9 @@ public static void VerifyInvokeIsUsingInterpreter_Constructor()
29
28
Exception exInner = ex . InnerException ;
30
29
31
30
Assert . Contains ( "Here" , exInner . ToString ( ) ) ;
32
- Assert . Contains ( InterpretedConstructorName , exInner . ToString ( ) ) ;
33
31
Assert . DoesNotContain ( "InvokeStub_TestClassThatThrows" , exInner . ToString ( ) ) ;
34
32
}
35
33
36
- private static string InterpretedConstructorName => PlatformDetection . IsMonoRuntime ?
37
- "InterpretedInvoke_Constructor" :
38
- "System.RuntimeMethodHandle.InvokeMethod" ;
39
-
40
- private static string InterpretedMethodName => PlatformDetection . IsMonoRuntime ?
41
- "InterpretedInvoke_Method" :
42
- "System.RuntimeMethodHandle.InvokeMethod" ;
43
-
44
34
private class TestClassThatThrows
45
35
{
46
36
public TestClassThatThrows ( )
You can’t perform that action at this time.
0 commit comments