summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core
diff options
context:
space:
mode:
authorStephane Delcroix <stephane@delcroix.org>2016-12-04 22:13:54 +0100
committerGitHub <noreply@github.com>2016-12-04 22:13:54 +0100
commit4f4fae659cc195aac3279a11ecfc69c80a02e7e4 (patch)
tree6914bb24376212463ab93cfab1b9cf1648017447 /Xamarin.Forms.Core
parent39f2deb5e04886374e720013782c751a4bb7675d (diff)
downloadxamarin-forms-4f4fae659cc195aac3279a11ecfc69c80a02e7e4.tar.gz
xamarin-forms-4f4fae659cc195aac3279a11ecfc69c80a02e7e4.tar.bz2
xamarin-forms-4f4fae659cc195aac3279a11ecfc69c80a02e7e4.zip
[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 6bbdb600..86eb9571 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 2d6b0758..e82efbf2 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; }