private string ResolveXamlNameNS (XamlName name) { return (name.Namespace ?? this.FindNamespaceByPrefix(name.Prefix)); }