12 references to XmlName
Microsoft.DotNet.XliffTasks (12)
Model\XamlRuleDocument.cs (12)
38note: GetComment(descendentDisplayName, XmlName(descendentDisplayName)), 48note: GetComment(descendentDescription, XmlName(descendentDescription)), 131if (XmlName(parent) == "EnumValue") 139return $"{XmlName(parent)}|{AttributedName(grandparent)}.{AttributedName(parent)}|{XmlName(xObject)}"; 142return $"{XmlName(parent)}|{AttributedName(parent)}|{XmlName(xObject)}"; 155idBuilder.Append(element.Parent.Attribute("Name") is null ? XmlName(element.Parent) : $"{XmlName(element.Parent)}|{AttributedName(element.Parent)}"); 159idBuilder.Append(XmlName(element)); 176idBuilder.Insert(0, $"{XmlName(ancestorWithNameAttributeCandidate)}|"); 180idBuilder.Insert(0, $"{XmlName(ancestorWithNameAttributeCandidate!)}|{AttributedName(ancestorWithNameAttributeCandidate!)}|"); 183idBuilder.Append(element.Attribute("Name") is not null ? AttributedName(element) : XmlName(element)); 210private static string XmlName(XObject container) => container is XElement element ? XmlName(element) : XmlName((XAttribute)container);