20 references to GetAliasedProperty
PresentationFramework (2)
System\Windows\FrameworkTemplate.cs (1)
1069if (member == owner.GetAliasedProperty(XamlLanguage.Name)
System\Windows\TemplateContent.cs (1)
814if (xamlReader.Member == parentType.GetAliasedProperty(XamlLanguage.Name))
System.Xaml (11)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (4)
1073XamlMember keyProperty = instanceType.GetAliasedProperty(XamlLanguage.Key); 1128if (xamlType.GetAliasedProperty(XamlLanguage.Uid) is null) 1626XamlMember propertyForDirective = xamlType.GetAliasedProperty(prop as XamlDirective); 2075if (parentProperty == parentType.GetAliasedProperty(XamlLanguage.Name))
System\Xaml\Parser\XamlAttribute.cs (1)
86else if (Property == tagType.GetAliasedProperty(XamlLanguage.Name))
System\Xaml\XamlObjectReader.cs (5)
478XamlMember dkp = typeOfValue.GetAliasedProperty(XamlLanguage.Key); 645if((xamlProperty == declaringType.GetAliasedProperty(XamlLanguage.Lang)) && (propertyValue is string)) 1453valueXamlType.GetAliasedProperty(XamlLanguage.Name) is not null || 1495if (property == xamlType.GetAliasedProperty(XamlLanguage.Name)) 2748XamlMember runtimeNameProperty = type.GetAliasedProperty(XamlLanguage.Name);
System\Xaml\XamlType.cs (1)
720return BaseType.GetAliasedProperty(directive);
System.Xaml.Tests (7)
System\Xaml\XamlTypeTests.cs (7)
613XamlMember actual = type.GetAliasedProperty(directive); 615Assert.Same(actual, type.GetAliasedProperty(directive)); 623Assert.Throws<ArgumentNullException>("key", () => type.GetAliasedProperty(null)); 646Assert.Throws<NullReferenceException>(() => type.GetAliasedProperty(directive)); 661Assert.Throws<NullReferenceException>(() => type.GetAliasedProperty(directive)); 676Assert.Throws<InvalidCastException>(() => type.GetAliasedProperty(directive)); 701Assert.Throws<XamlSchemaException>(() => type.GetAliasedProperty(XamlLanguage.Lang));