Bug 37886

Summary: mcs 4.2.2 generates bad IL when string-interpolating a dynamic object
Product: [Mono] Compilers Reporter: Aaron Bockover [MSFT] <abock>
Component: C#Assignee: Marek Safar <masafa>
Status: RESOLVED FIXED    
Severity: normal CC: mono-bugs+mono
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS   
Tags: Is this bug a regression?: ---
Last known good build:
Attachments: Test Case
IL dumped via monodis

Description Aaron Bockover [MSFT] 2016-01-21 21:37:40 UTC
Mono JIT compiler version 4.2.2 (explicit/efae6a0 Fri Jan 15 20:15:21 EST 2016)

Generates bad IL when string-interpolating a dynamic object member:

System.InvalidProgramException: Invalid IL code in InvalidILWhenInterpolatingDynamicObjectTest:Main (): IL_0006: call      0x0a000003
Comment 1 Aaron Bockover [MSFT] 2016-01-21 21:38:15 UTC
Created attachment 14662 [details]
Test Case
Comment 2 Aaron Bockover [MSFT] 2016-01-21 21:38:57 UTC
Created attachment 14663 [details]
IL dumped via monodis
Comment 3 Marek Safar 2016-01-22 17:25:19 UTC
Fixed in master and Mono 4.3.2