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