You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"][not(ancestor:: __f__:DataTemplate) and not(ancestor:: __f__:ControlTemplate) and not(ancestor:: __f__:Style) and not(ancestor:: __f__:VisualStateManager.VisualStateGroups)]",nsmgr);
568
+
"][not(ancestor:: __f__:DataTemplate) and not(ancestor:: __f__:ControlTemplate) and not(ancestor:: __f__:Style) and not(ancestor:: __f__:VisualStateManager.VisualStateGroups)"+
569
+
"and not(ancestor:: __g__:DataTemplate) and not(ancestor:: __g__:ControlTemplate) and not(ancestor:: __g__:Style) and not(ancestor:: __g__:VisualStateManager.VisualStateGroups)]",nsmgr);
@@ -94,11 +103,14 @@ static class XmlTypeXamlExtensions
94
103
}
95
104
96
105
T?type=null;
106
+
string?returnTypeName=null;
97
107
foreach(vartypeInfoinpotentialTypes)
98
-
if((type=refFromTypeInfo(typeInfo))!=null)
99
-
break;
100
-
101
-
returntype;
108
+
if((returnTypeName==null||returnTypeName==typeInfo.typeName)//only return multiple types if they share the same name. avoid returning both BindingExtension and Binding
0 commit comments