[XamlC] throw on invalid DataType (#5335)
authorStephane Delcroix <stephane@delcroix.org>
Wed, 6 Mar 2019 08:39:12 +0000 (09:39 +0100)
committerGitHub <noreply@github.com>
Wed, 6 Mar 2019 08:39:12 +0000 (09:39 +0100)
commit8dccf2f43933ed1e5fd8cb2cebbc491f5c57a8ac
treeac5ded838d6a82b814859f1d16a1a1085fdc4585
parentddf4692ec2ef3ffb22c3d5e71db29b3b4cb70c7b
[XamlC] throw on invalid DataType (#5335)

Invalid x:DataType was ignored up to now. Change the behavior so it
throws a XPE.

- fixes #5330
Xamarin.Forms.Build.Tasks/SetPropertiesVisitor.cs
Xamarin.Forms.Xaml.UnitTests/Issues/Gh5330.xaml [new file with mode: 0644]
Xamarin.Forms.Xaml.UnitTests/Issues/Gh5330.xaml.cs [new file with mode: 0644]