[XamlC] Box valueTypes on Add() (#624)
authorStephane Delcroix <stephane@delcroix.org>
Mon, 12 Dec 2016 20:03:30 +0000 (21:03 +0100)
committerGitHub <noreply@github.com>
Mon, 12 Dec 2016 20:03:30 +0000 (21:03 +0100)
commite45bce1a64bd30c462abf51ab3b4eec69d5346aa
tree1f0169edfc221b241f92d1588221fd9fcaa009ad
parent8257753d1b48de0e81d5bd431604f60d2065b6cc
[XamlC] Box valueTypes on Add() (#624)

This doesn't happen often, and I haven't found any valid XAML file out
there requiring this, but in the case of 49307, it at least generates
valid IL, which then fails with a NRE as this is the nature of callvirt.
Xamarin.Forms.Build.Tasks/SetPropertiesVisitor.cs
Xamarin.Forms.Xaml.UnitTests/Issues/Bz49307.xaml [new file with mode: 0644]
Xamarin.Forms.Xaml.UnitTests/Issues/Bz49307.xaml.cs [new file with mode: 0644]
Xamarin.Forms.Xaml.UnitTests/Xamarin.Forms.Xaml.UnitTests.csproj
Xamarin.Forms.Xaml.Xamlc/Xamarin.Forms.Xaml.Xamlc.csproj