[interpreter] Relax check for forcing compilation for built-in structs
commit9ab01f838faa31c66414048cf3e31f02b14b3d5f
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 21 Oct 2015 15:31:22 +0000 (21 17:31 +0200)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Thu, 22 Oct 2015 17:30:50 +0000 (22 19:30 +0200)
treed273f50f9375e1a3ec72473d00c2c0ea14578b53
parent7e72f20d1ec5cd80ae0a2636898329226ef09f5c
[interpreter] Relax check for forcing compilation for built-in structs

Method calls on structs like DateTime wouldn't work before,
even though we know we don't have self mutating structs in mscorlib.

Fixes part 2 of https://bugzilla.xamarin.com/show_bug.cgi?id=34334
mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_Call.cs
mcs/class/dlr/Runtime/Microsoft.Dynamic/Interpreter/LightCompiler.cs