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