diff options
author | Stephane Delcroix <stephane@delcroix.org> | 2016-09-15 15:10:57 +0200 |
---|---|---|
committer | Jason Smith <jason.smith@xamarin.com> | 2016-09-26 13:31:41 -0700 |
commit | a32b417811710844a9a82b3ed12aa6263e3dd599 (patch) | |
tree | bd3c6ebeb772f8b0178d8ad675966568ac0b463d /Xamarin.Forms.Xaml | |
parent | 81ad9e83418ccfbf53ec59504f32d490144b9800 (diff) | |
download | xamarin-forms-a32b417811710844a9a82b3ed12aa6263e3dd599.tar.gz xamarin-forms-a32b417811710844a9a82b3ed12aa6263e3dd599.tar.bz2 xamarin-forms-a32b417811710844a9a82b3ed12aa6263e3dd599.zip |
[XamlC] Compiled converters
Diffstat (limited to 'Xamarin.Forms.Xaml')
-rw-r--r-- | Xamarin.Forms.Xaml/CreateValuesVisitor.cs | 3 | ||||
-rw-r--r-- | Xamarin.Forms.Xaml/XamlNode.cs | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/Xamarin.Forms.Xaml/CreateValuesVisitor.cs b/Xamarin.Forms.Xaml/CreateValuesVisitor.cs index d6848033..04cd62cb 100644 --- a/Xamarin.Forms.Xaml/CreateValuesVisitor.cs +++ b/Xamarin.Forms.Xaml/CreateValuesVisitor.cs @@ -74,8 +74,7 @@ namespace Xamarin.Forms.Xaml else if (!type.GetTypeInfo().DeclaredConstructors.Any(ci => ci.IsPublic && ci.GetParameters().Length == 0) && !ValidateCtorArguments(type, node, out ctorargname)) { - throw new XamlParseException( - String.Format("The Property {0} is required to create a {1} object.", ctorargname, type.FullName), node); + throw new XamlParseException($"The Property {ctorargname} is required to create a {type.FullName} object.", node); } else { diff --git a/Xamarin.Forms.Xaml/XamlNode.cs b/Xamarin.Forms.Xaml/XamlNode.cs index f794428b..a19e7d5c 100644 --- a/Xamarin.Forms.Xaml/XamlNode.cs +++ b/Xamarin.Forms.Xaml/XamlNode.cs @@ -52,10 +52,9 @@ namespace Xamarin.Forms.Xaml } public string NamespaceUri { get; } - public string Name { get; } - public IList<XmlType> TypeArguments { get; private set; } + } internal abstract class BaseNode : IXmlLineInfo, INode |