summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core
diff options
context:
space:
mode:
authorStephane Delcroix <stephane@delcroix.org>2016-12-04 21:13:54 (GMT)
committerGitHub <noreply@github.com>2016-12-04 21:13:54 (GMT)
commit4f4fae659cc195aac3279a11ecfc69c80a02e7e4 (patch)
tree6914bb24376212463ab93cfab1b9cf1648017447 /Xamarin.Forms.Core
parent39f2deb5e04886374e720013782c751a4bb7675d (diff)
downloadxamarin-forms-4f4fae659cc195aac3279a11ecfc69c80a02e7e4.zip
xamarin-forms-4f4fae659cc195aac3279a11ecfc69c80a02e7e4.tar.gz
xamarin-forms-4f4fae659cc195aac3279a11ecfc69c80a02e7e4.tar.bz2
[Xaml] change namespace for [XmlnsDef] and make it internal (#557)
* [Xaml] change namespace for [XmlnsDef] and make internal * fix docs
Diffstat (limited to 'Xamarin.Forms.Core')
-rw-r--r--Xamarin.Forms.Core/Properties/AssemblyInfo.cs1
-rw-r--r--Xamarin.Forms.Core/XmlnsDefinitionAttribute.cs9
2 files changed, 5 insertions, 5 deletions
diff --git a/Xamarin.Forms.Core/Properties/AssemblyInfo.cs b/Xamarin.Forms.Core/Properties/AssemblyInfo.cs
index 6bbdb60..86eb957 100644
--- a/Xamarin.Forms.Core/Properties/AssemblyInfo.cs
+++ b/Xamarin.Forms.Core/Properties/AssemblyInfo.cs
@@ -1,5 +1,6 @@
using System.Reflection;
using System.Runtime.CompilerServices;
+using System.Windows.Markup;
using Xamarin.Forms;
using Xamarin.Forms.Internals;
diff --git a/Xamarin.Forms.Core/XmlnsDefinitionAttribute.cs b/Xamarin.Forms.Core/XmlnsDefinitionAttribute.cs
index 2d6b075..e82efbf 100644
--- a/Xamarin.Forms.Core/XmlnsDefinitionAttribute.cs
+++ b/Xamarin.Forms.Core/XmlnsDefinitionAttribute.cs
@@ -1,11 +1,10 @@
-´╗┐using System;
-using System.Reflection;
-using System.Diagnostics;
-namespace Xamarin.Forms
+´╗┐using System.Diagnostics;
+
+namespace System.Windows.Markup
{
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
[DebuggerDisplay("{XmlNamespace}, {ClrNamespace}, {AssemblyName}")]
- public sealed class XmlnsDefinitionAttribute : Attribute
+ sealed class XmlnsDefinitionAttribute : Attribute
{
public string XmlNamespace { get; }
public string ClrNamespace { get; }