public void Is_Xaml_Schema() { var x1 = XName.Get("test1"); var x2 = XName.Get("test2", Uri); var x3 = XName.Get("test3", XamlPostProcessor.Xaml2006Uri); var x4 = XName.Get("test4", XamlPostProcessor.Xaml2009Uri); Assert.IsFalse(XamlPostProcessor.IsXamlSchema(x1)); Assert.IsFalse(XamlPostProcessor.IsXamlSchema(x2)); Assert.IsTrue(XamlPostProcessor.IsXamlSchema(x3)); Assert.IsTrue(XamlPostProcessor.IsXamlSchema(x4)); }