Prevent method from being inlined to get correctly handled in try-catch blocks (...
authorFadi Hanna <fadim@microsoft.com>
Thu, 19 Dec 2019 19:11:50 +0000 (11:11 -0800)
committerGitHub <noreply@github.com>
Thu, 19 Dec 2019 19:11:50 +0000 (11:11 -0800)
src/coreclr/tests/src/Loader/classloader/MethodImpl/override_override1.il

index 9593460..c891e32 100644 (file)
@@ -87,7 +87,7 @@
        extends [mscorlib]System.Object
 {
 
-  .method public static int32 Go(){
+  .method public static int32 Go() noinlining {
     .maxstack 8
     .locals init (class MyFoo V_1)
     newobj     instance void MyBar::.ctor()