diff options
author | Stephane Delcroix <stephane@delcroix.org> | 2016-04-12 18:46:39 +0200 |
---|---|---|
committer | Jason Smith <jason.smith@xamarin.com> | 2016-04-12 09:46:39 -0700 |
commit | c92297047c01112fd4a6e7695a40acb274fdf7a7 (patch) | |
tree | 413ce7f7a6d0507ff55ac237365924f55c49b345 /Xamarin.Forms.Xaml/CreateValuesVisitor.cs | |
parent | f975a6f2e3552c3309c8e10f15998be664d06882 (diff) | |
download | xamarin-forms-c92297047c01112fd4a6e7695a40acb274fdf7a7.tar.gz xamarin-forms-c92297047c01112fd4a6e7695a40acb274fdf7a7.tar.bz2 xamarin-forms-c92297047c01112fd4a6e7695a40acb274fdf7a7.zip |
[X] internal CreateFromXaml () (#77)
Diffstat (limited to 'Xamarin.Forms.Xaml/CreateValuesVisitor.cs')
-rw-r--r-- | Xamarin.Forms.Xaml/CreateValuesVisitor.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Xaml/CreateValuesVisitor.cs b/Xamarin.Forms.Xaml/CreateValuesVisitor.cs index 96af9189..d54a36d5 100644 --- a/Xamarin.Forms.Xaml/CreateValuesVisitor.cs +++ b/Xamarin.Forms.Xaml/CreateValuesVisitor.cs @@ -66,7 +66,7 @@ namespace Xamarin.Forms.Xaml return; XamlParseException xpe; - var type = XamlParser.GetElementType(node.XmlType, node, Context.RootElement.GetType().GetTypeInfo().Assembly, + var type = XamlParser.GetElementType(node.XmlType, node, Context.RootElement?.GetType().GetTypeInfo().Assembly, out xpe); if (xpe != null) throw xpe; |