12 references to XmlName
Microsoft.DotNet.XliffTasks (12)
Model\XamlRuleDocument.cs (12)
36note: GetComment(descendentDisplayName, XmlName(descendentDisplayName)), 46note: GetComment(descendentDescription, XmlName(descendentDescription)), 129if (XmlName(parent) == "EnumValue") 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)}"); 157idBuilder.Append(XmlName(element)); 174idBuilder.Insert(0, $"{XmlName(ancestorWithNameAttributeCandidate)}|"); 178idBuilder.Insert(0, $"{XmlName(ancestorWithNameAttributeCandidate!)}|{AttributedName(ancestorWithNameAttributeCandidate!)}|"); 181idBuilder.Append(element.Attribute("Name") is not null ? AttributedName(element) : XmlName(element)); 208private static string XmlName(XObject container) => container is XElement element ? XmlName(element) : XmlName((XAttribute)container);