51 references to LocalName
System.Runtime.Serialization (51)
System\Runtime\Serialization\Json\XmlJsonReader.cs (6)
1139elementNode.LocalName.SetValue(elementNode.NameOffset, actualOffset - elementNode.NameOffset); 1204attribute.LocalName.SetConstantValue(StringHandleConstStringType.Type); 1371elementNode.LocalName.SetConstantValue(elementName); 1515attribute.LocalName.SetValue(offset + 1, 6); 1587attribute.LocalName.SetConstantValue(StringHandleConstStringType.Item); 1594elementNode.LocalName.SetConstantValue(StringHandleConstStringType.Item);
System\Xml\XmlBaseReader.cs (28)
190if (node.LocalName != "standalone") 205if (node.LocalName != localName) 404if (attributeNode.LocalName == "lang") 408else if (attributeNode.LocalName == "space") 769if (attributeNode2.QNameType == QNameType.Normal && attributeNode1.LocalName == attributeNode2.LocalName && attributeNode1.Namespace.Uri == attributeNode2.Namespace.Uri) 771XmlExceptionHelper.ThrowDuplicateAttribute(this, attributeNode1.Prefix.GetString(), attributeNode2.Prefix.GetString(), attributeNode1.LocalName.GetString(), attributeNode1.Namespace.Uri.GetString()); 807XmlExceptionHelper.ThrowDuplicateAttribute(this, attributeNodes[attribute1].Prefix.GetString(), attributeNodes[attribute2].Prefix.GetString(), attributeNodes[attribute1].LocalName.GetString(), attributeNodes[attribute1].Namespace.Uri.GetString()); 997return node.LocalName.GetString(NameTable); 1001return node.LocalName.GetString(); 1123return (node.NodeType == XmlNodeType.Element || IsStartElement()) && node.Prefix == prefix && node.LocalName == localName; 1132return (node.NodeType == XmlNodeType.Element || IsStartElement()) && node.LocalName == localName && node.IsNamespaceUri(namespaceUri); 1141return (node.NodeType == XmlNodeType.Element || IsStartElement()) && node.LocalName == localName && node.IsNamespaceUri(namespaceUri); 1155StringHandle localName = node.LocalName; 1197StringHandle localName = node.LocalName; 1363XmlExceptionHelper.ThrowEndElementExpected(this, elementNode.LocalName.GetString(), elementNode.Namespace.Uri.GetString()); 2012string localName = elementNodes[i].LocalName.GetString(); 2036byte[] localNameBuffer = node.LocalName.GetString(out localNameOffset, out localNameLength); 2048byte[] localNameBuffer = attributeNode.LocalName.GetString(out localNameOffset, out localNameLength); 2069byte[] localNameBuffer = node.LocalName.GetString(out localNameOffset, out localNameLength); 2328return this.LocalName == localName; 2341return this.LocalName == localName; 2380return this.LocalName == localName && this.Namespace.IsUri(ns); 2393return this.LocalName == localName && this.Namespace.IsUri(ns); 2406return this.Prefix == prefix && this.LocalName == localName; 2419return this.LocalName.TryGetDictionaryString(out localName); 2800i = attribute1.LocalName.CompareTo(attribute2.LocalName);
System\Xml\XmlBinaryReader.cs (12)
442ReadName(elementNode.LocalName); 450ReadName(elementNode.LocalName); 458ReadDictionaryName(elementNode.LocalName); 466ReadDictionaryName(elementNode.LocalName); 500ReadName(elementNode.LocalName); 534ReadDictionaryName(elementNode.LocalName); 748ReadName(attributeNode.LocalName); 755ReadName(attributeNode.LocalName); 763ReadDictionaryName(attributeNode.LocalName); 770ReadDictionaryName(attributeNode.LocalName); 831ReadDictionaryName(attributeNode.LocalName); 864ReadName(attributeNode.LocalName);
System\Xml\XmlUTF8TextReader.cs (5)
411declarationNode.LocalName.SetValue(localNameOffset, localNameLength); 599attributeNode.LocalName.SetValue(localName); 607attributeNode.LocalName.SetValue(localName); 708ReadQualifiedName(elementNode.Prefix, elementNode.LocalName); 749XmlExceptionHelper.ThrowTagMismatch(this, elementNode.Prefix.GetString(), elementNode.LocalName.GetString(), prefix.GetString(), localName.GetString());