@@ -42,7 +42,7 @@ static IList<XmlnsDefinitionAttribute> GatherXmlnsDefinitionAttributes(ModuleDef
42
42
{
43
43
attribute . AssemblyName ??= assembly . FullName ;
44
44
//maui, and x: xmlns are protected
45
- if ( attribute . XmlNamespace != XamlParser . MauiGlobal
45
+ if ( attribute . XmlNamespace != XamlParser . MauiGlobal
46
46
&& attribute . XmlNamespace . StartsWith ( "http://schemas.microsoft.com/" , StringComparison . OrdinalIgnoreCase )
47
47
&& ! attribute . AssemblyName . StartsWith ( "Microsoft" , StringComparison . OrdinalIgnoreCase )
48
48
&& ! attribute . AssemblyName . StartsWith ( "System" , StringComparison . OrdinalIgnoreCase )
@@ -67,10 +67,10 @@ static void GatherXmlnsDefinitionAttributes(List<XmlnsDefinitionAttribute> xmlns
67
67
{
68
68
var attr = GetXmlnsDefinition ( ca , asmDef ) ;
69
69
//only add globalxmlns definition from the current assembly
70
- if ( attr . XmlNamespace == XamlParser . MauiGlobal
70
+ if ( attr . XmlNamespace == XamlParser . MauiGlobal
71
71
&& asmDef != currentAssembly )
72
72
continue ;
73
- if ( attr . XmlNamespace != XamlParser . MauiGlobal
73
+ if ( attr . XmlNamespace != XamlParser . MauiGlobal
74
74
&& attr . XmlNamespace . StartsWith ( "http://schemas.microsoft.com/" , StringComparison . OrdinalIgnoreCase )
75
75
&& ! attr . AssemblyName . StartsWith ( "Microsoft" , StringComparison . OrdinalIgnoreCase )
76
76
&& ! attr . AssemblyName . StartsWith ( "System" , StringComparison . OrdinalIgnoreCase )
0 commit comments