8 references to AttributedName
Microsoft.DotNet.XliffTasks (8)
Model\XamlRuleDocument.cs (8)
80else if (AttributedName(element) == "SearchTerms" && (XmlName(attribute) == "Value" || element.Elements(XName.Get($"{element.Name.LocalName}.Value", element.Name.NamespaceName)).FirstOrDefault() is { })) 137return $"{XmlName(parent)}|{AttributedName(grandparent)}.{AttributedName(parent)}|{XmlName(xObject)}"; 140return $"{XmlName(parent)}|{AttributedName(parent)}|{XmlName(xObject)}"; 153idBuilder.Append(element.Parent.Attribute("Name") is null ? XmlName(element.Parent) : $"{XmlName(element.Parent)}|{AttributedName(element.Parent)}"); 160idBuilder.Append($"|{AttributedName(element)}"); 178idBuilder.Insert(0, $"{XmlName(ancestorWithNameAttributeCandidate!)}|{AttributedName(ancestorWithNameAttributeCandidate!)}|"); 181idBuilder.Append(element.Attribute("Name") is not null ? AttributedName(element) : XmlName(element));