diff --git a/src/Common/src/TypeSystem/IL/Stubs/DelegateThunks.cs b/src/Common/src/TypeSystem/IL/Stubs/DelegateThunks.cs index b5065fdd385..a281a0cacd7 100644 --- a/src/Common/src/TypeSystem/IL/Stubs/DelegateThunks.cs +++ b/src/Common/src/TypeSystem/IL/Stubs/DelegateThunks.cs @@ -191,6 +191,9 @@ protected void EmitTransformedCalli(ILEmitter emitter, ILCodeStream codestream, codestream.Emit(ILOpcode.calli, emitter.NewToken(targetSignature)); codestream.EmitLabel(done); + + // Workaround for https://github.com/dotnet/corert/issues/2073 + codestream.Emit(ILOpcode.nop); } }