50 references to LocalName
System.Private.DataContractSerialization (50)
System\Runtime\Serialization\Json\XmlJsonReader.cs (6)
1059elementNode.LocalName.SetValue(elementNode.NameOffset, actualOffset - elementNode.NameOffset); 1124attribute.LocalName.SetConstantValue(StringHandleConstStringType.Type); 1291elementNode.LocalName.SetConstantValue(elementName); 1435attribute.LocalName.SetValue(offset + 1, 6); 1507attribute.LocalName.SetConstantValue(StringHandleConstStringType.Item); 1514elementNode.LocalName.SetConstantValue(StringHandleConstStringType.Item);
System\Xml\XmlBaseReader.cs (27)
165if (node.LocalName != "standalone") 180if (node.LocalName != localName) 367if (attributeNode.LocalName == "lang") 371else if (attributeNode.LocalName == "space") 657_localName = _node.LocalName.GetString(NameTable); 741if (attributeNode2.QNameType == QNameType.Normal && attributeNode1.LocalName == attributeNode2.LocalName && attributeNode1.Namespace.Uri == attributeNode2.Namespace.Uri) 743XmlExceptionHelper.ThrowDuplicateAttribute(this, attributeNode1.Prefix.GetString(), attributeNode2.Prefix.GetString(), attributeNode1.LocalName.GetString(), attributeNode1.Namespace.Uri.GetString()); 778XmlExceptionHelper.ThrowDuplicateAttribute(this, attributeNodes[attribute1].Prefix.GetString(), attributeNodes[attribute2].Prefix.GetString(), attributeNodes[attribute1].LocalName.GetString(), attributeNodes[attribute1].Namespace.Uri.GetString()); 1024return (_node.NodeType == XmlNodeType.Element || IsStartElement()) && _node.Prefix == prefix && _node.LocalName == localName; 1033return (_node.NodeType == XmlNodeType.Element || IsStartElement()) && _node.LocalName == localName && _node.IsNamespaceUri(namespaceUri); 1041return (_node.NodeType == XmlNodeType.Element || IsStartElement()) && _node.LocalName == localName && _node.IsNamespaceUri(namespaceUri); 1054StringHandle localName = _node.LocalName; 1095StringHandle localName = _node.LocalName; 1257XmlExceptionHelper.ThrowEndElementExpected(this, elementNode.LocalName.GetString(), elementNode.Namespace.Uri.GetString()); 1887string localName = _elementNodes![i].LocalName.GetString(); 1911byte[] localNameBuffer = _node.LocalName.GetString(out localNameOffset, out localNameLength); 1923byte[] localNameBuffer = attributeNode.LocalName.GetString(out localNameOffset, out localNameLength); 1944byte[] localNameBuffer = _node.LocalName.GetString(out localNameOffset, out localNameLength); 2202return this.LocalName == localName; 2215return this.LocalName == localName; 2254return this.LocalName == localName && this.Namespace.IsUri(ns); 2267return this.LocalName == localName && this.Namespace.IsUri(ns); 2280return this.Prefix == prefix && this.LocalName == localName; 2293return this.LocalName.TryGetDictionaryString(out localName); 2673i = attribute1.LocalName.CompareTo(attribute2.LocalName);
System\Xml\XmlBinaryReader.cs (12)
428ReadName(elementNode.LocalName); 436ReadName(elementNode.LocalName); 444ReadDictionaryName(elementNode.LocalName); 452ReadDictionaryName(elementNode.LocalName); 486ReadName(elementNode.LocalName); 520ReadDictionaryName(elementNode.LocalName); 735ReadName(attributeNode.LocalName); 742ReadName(attributeNode.LocalName); 750ReadDictionaryName(attributeNode.LocalName); 757ReadDictionaryName(attributeNode.LocalName); 818ReadDictionaryName(attributeNode.LocalName); 851ReadName(attributeNode.LocalName);
System\Xml\XmlUTF8TextReader.cs (5)
650declarationNode.LocalName.SetValue(localNameOffset, localNameLength); 837attributeNode.LocalName.SetValue(_localName); 845attributeNode.LocalName.SetValue(_localName); 946ReadQualifiedName(elementNode.Prefix, elementNode.LocalName); 987XmlExceptionHelper.ThrowTagMismatch(this, elementNode.Prefix.GetString(), elementNode.LocalName.GetString(), _prefix.GetString(), _localName.GetString());