25 references to GetName
Microsoft.AspNetCore.DataProtection (2)
XmlConstants.cs (2)
31internal static readonly XName EncryptedSecretElementName = RootNamespace.GetName("encryptedSecret"); 36internal static readonly XName RequiresEncryptionAttributeName = RootNamespace.GetName("requiresEncryption");
Microsoft.DotNet.Build.Tasks.Installers (1)
src\StabilizeWixFileId.cs (1)
55XName GetQualifiedName(string name) => rootNamespace.GetName(name);
Microsoft.DotNet.SourceBuild.Tasks (1)
src\UsageReport\WriteUsageReports.cs (1)
191.GetName(WriteBuildOutputProps.CreationTimePropertyName))
System.Private.Xml.Linq (21)
System\Xml\Linq\XContainer.cs (8)
906XElement e = new XElement(_eCache.Get(r.NamespaceURI).GetName(r.LocalName)); 911e.AppendAttributeSkipNotify(new XAttribute(_aCache.Get(r.Prefix.Length == 0 ? string.Empty : r.NamespaceURI).GetName(r.LocalName), r.Value)); 960XElement e = new XElement(_eCache.Get(r.NamespaceURI).GetName(r.LocalName)); 966_aCache.Get(r.Prefix.Length == 0 ? string.Empty : r.NamespaceURI).GetName(r.LocalName), 1020XElement e = new XElement(_eCache.Get(r.NamespaceURI).GetName(r.LocalName)); 1033XAttribute a = new XAttribute(_aCache.Get(r.Prefix.Length == 0 ? string.Empty : r.NamespaceURI).GetName(r.LocalName), r.Value); 1134XElement e = new XElement(_eCache.Get(r.NamespaceURI).GetName(r.LocalName)); 1148_aCache.Get(r.Prefix.Length == 0 ? string.Empty : r.NamespaceURI).GetName(r.LocalName),
System\Xml\Linq\XElement.cs (2)
2049name = XNamespace.Get(r.NamespaceURI).GetName(r.LocalName); 2071XAttribute a = new XAttribute(XNamespace.Get(r.Prefix.Length == 0 ? string.Empty : r.NamespaceURI).GetName(r.LocalName), r.Value);
System\Xml\Linq\XName.cs (2)
83return XNamespace.None.GetName(expandedName); 95return XNamespace.Get(namespaceName).GetName(localName);
System\Xml\Linq\XNamespace.cs (1)
145return ns.GetName(localName);
System\Xml\Linq\XNodeBuilder.cs (2)
169_attrName = XNamespace.Get(prefix.Length == 0 ? string.Empty : namespaceName!).GetName(localName); 183AddNode(new XElement(XNamespace.Get(namespaceName!).GetName(localName)));
System\Xml\Linq\XNodeReader.cs (2)
399XName name = XNamespace.Xml.GetName("lang"); 425XName name = XNamespace.Xml.GetName("space");
System\Xml\Schema\XNodeValidator.cs (3)
36xsiTypeName = xsi.GetName("type"); 37xsiNilName = xsi.GetName("nil"); 288a = new XAttribute(XNamespace.Get(sa.QualifiedName.Namespace).GetName(sa.QualifiedName.Name), GetDefaultValue(sa)!);
System\Xml\XPath\XNodeNavigator.cs (1)
843System.Threading.Interlocked.CompareExchange(ref s_XmlNamespaceDeclaration, new XAttribute(XNamespace.Xmlns.GetName("xml"), xmlPrefixNamespace), null);