[previewer] make sure we do not crash even if the previewer doesn't s… (#946)
authorStephane Delcroix <stephane@delcroix.org>
Thu, 1 Jun 2017 07:12:00 +0000 (09:12 +0200)
committerStephane Delcroix <stephane@delcroix.org>
Thu, 1 Jun 2017 07:21:55 +0000 (09:21 +0200)
commitd964b8336d863501f9810773f181419b5458447b
treefaa65834a8979d730c5dfdbd5f9958aaf54b4550
parentd29be8e9ae44e35cd3f1caec41d1c737a70dabdb
[previewer] make sure we do not crash even if the previewer doesn't s… (#946)

* [previewer] make sure we do not crash even if the previewer doesn't sets the flag

* make the tests pass
Xamarin.Forms.Xaml.UnitTests/XamlLoaderGetXamlForTypeTests.xaml.cs
Xamarin.Forms.Xaml/XamlLoader.cs