8 references to AttributedName
Microsoft.DotNet.XliffTasks (8)
Model\XamlRuleDocument.cs (8)
82
else if (
AttributedName
(element) == "SearchTerms" && (XmlName(attribute) == "Value" || element.Elements(XName.Get($"{element.Name.LocalName}.Value", element.Name.NamespaceName)).FirstOrDefault() is { }))
139
return $"{XmlName(parent)}|{
AttributedName
(grandparent)}.{
AttributedName
(parent)}|{XmlName(xObject)}";
142
return $"{XmlName(parent)}|{
AttributedName
(parent)}|{XmlName(xObject)}";
155
idBuilder.Append(element.Parent.Attribute("Name") is null ? XmlName(element.Parent) : $"{XmlName(element.Parent)}|{
AttributedName
(element.Parent)}");
162
idBuilder.Append($"|{
AttributedName
(element)}");
180
idBuilder.Insert(0, $"{XmlName(ancestorWithNameAttributeCandidate!)}|{
AttributedName
(ancestorWithNameAttributeCandidate!)}|");
183
idBuilder.Append(element.Attribute("Name") is not null ?
AttributedName
(element) : XmlName(element));