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