diff options
author | Stephane Delcroix <stephane@delcroix.org> | 2016-12-12 21:03:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-12 21:03:30 +0100 |
commit | e45bce1a64bd30c462abf51ab3b4eec69d5346aa (patch) | |
tree | 1f0169edfc221b241f92d1588221fd9fcaa009ad /Xamarin.Forms.Xaml.UnitTests/Issues/Bz49307.xaml | |
parent | 8257753d1b48de0e81d5bd431604f60d2065b6cc (diff) | |
download | xamarin-forms-e45bce1a64bd30c462abf51ab3b4eec69d5346aa.tar.gz xamarin-forms-e45bce1a64bd30c462abf51ab3b4eec69d5346aa.tar.bz2 xamarin-forms-e45bce1a64bd30c462abf51ab3b4eec69d5346aa.zip |
[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.
Diffstat (limited to 'Xamarin.Forms.Xaml.UnitTests/Issues/Bz49307.xaml')
-rw-r--r-- | Xamarin.Forms.Xaml.UnitTests/Issues/Bz49307.xaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Xamarin.Forms.Xaml.UnitTests/Issues/Bz49307.xaml b/Xamarin.Forms.Xaml.UnitTests/Issues/Bz49307.xaml new file mode 100644 index 00000000..3bb6e203 --- /dev/null +++ b/Xamarin.Forms.Xaml.UnitTests/Issues/Bz49307.xaml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Application xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Xamarin.Forms.Xaml.UnitTests.Bz49307"> + <Application.Resources> + <!-- Application resource dictionary --> + <Color x:Key="MyColor">#c2d1d3</Color> + </Application.Resources> +</Application> |