Merge pull request #704 from jgagnon/master
[mono.git] / mcs / class / System.Xaml / Test / System.Xaml / XamlDirectiveTest.cs
index 7f7cda0c35f2782b2eec3945c8688d050543555c..e57f9c7c20db7f13e0e51171267c37504e3e6ed7 100755 (executable)
@@ -29,7 +29,7 @@ using System.Xaml;
 using System.Xaml.Schema;
 using NUnit.Framework;
 
-using Category = NUnit.Framework.CategoryAttribute;
+using CategoryAttribute = NUnit.Framework.CategoryAttribute;
 
 namespace MonoTests.System.Xaml
 {
@@ -53,6 +53,12 @@ namespace MonoTests.System.Xaml
                        new XamlDirective (null, "Foo");
                }
 
+               [Test]
+               public void ConstructorNamespaceXamlNS ()
+               {
+                       new XamlDirective (XamlLanguage.Xaml2006Namespace, "Foo");
+               }
+
                [Test]
                [ExpectedException (typeof (ArgumentNullException))]
                public void ConstructorComplexParamsTypeNull ()