@@ -42,7 +42,7 @@ static IList<XmlnsDefinitionAttribute> GatherXmlnsDefinitionAttributes(ModuleDef
4242 {
4343 attribute . AssemblyName ??= assembly . FullName ;
4444 //maui, and x: xmlns are protected
45- if ( attribute . XmlNamespace != XamlParser . MauiGlobal
45+ if ( attribute . XmlNamespace != XamlParser . MauiGlobal
4646 && attribute . XmlNamespace . StartsWith ( "http://schemas.microsoft.com/" , StringComparison . OrdinalIgnoreCase )
4747 && ! attribute . AssemblyName . StartsWith ( "Microsoft" , StringComparison . OrdinalIgnoreCase )
4848 && ! attribute . AssemblyName . StartsWith ( "System" , StringComparison . OrdinalIgnoreCase )
@@ -67,10 +67,10 @@ static void GatherXmlnsDefinitionAttributes(List<XmlnsDefinitionAttribute> xmlns
6767 {
6868 var attr = GetXmlnsDefinition ( ca , asmDef ) ;
6969 //only add globalxmlns definition from the current assembly
70- if ( attr . XmlNamespace == XamlParser . MauiGlobal
70+ if ( attr . XmlNamespace == XamlParser . MauiGlobal
7171 && asmDef != currentAssembly )
7272 continue ;
73- if ( attr . XmlNamespace != XamlParser . MauiGlobal
73+ if ( attr . XmlNamespace != XamlParser . MauiGlobal
7474 && attr . XmlNamespace . StartsWith ( "http://schemas.microsoft.com/" , StringComparison . OrdinalIgnoreCase )
7575 && ! attr . AssemblyName . StartsWith ( "Microsoft" , StringComparison . OrdinalIgnoreCase )
7676 && ! attr . AssemblyName . StartsWith ( "System" , StringComparison . OrdinalIgnoreCase )
0 commit comments