14 writes to Namespace
System.Runtime.Serialization (14)
System\Runtime\Serialization\Json\XmlJsonReader.cs (1)
1595elementNode.Namespace = ns;
System\Xml\XmlBaseReader.cs (6)
282endElementNode.Namespace = elementNode.Namespace; 395attributeNode.Namespace = ns; 396attributeNode.AttributeText.Namespace = ns; 745attributeNode.Namespace = LookupNamespace(prefix); 749attributeNode.Namespace = NamespaceManager.EmptyNamespace; 751attributeNode.AttributeText.Namespace = attributeNode.Namespace;
System\Xml\XmlBinaryReader.cs (6)
444elementNode.Namespace = LookupNamespace(PrefixHandleType.Empty); 452elementNode.Namespace = LookupNamespace(elementNode.Prefix); 460elementNode.Namespace = LookupNamespace(PrefixHandleType.Empty); 468elementNode.Namespace = LookupNamespace(elementNode.Prefix); 502elementNode.Namespace = LookupNamespace(prefix); 536elementNode.Namespace = LookupNamespace(prefix);
System\Xml\XmlUTF8TextReader.cs (1)
721elementNode.Namespace = LookupNamespace(elementNode.Prefix);
42 references to Namespace
System.Runtime.Serialization (42)
System\Runtime\Serialization\Json\XmlJsonReader.cs (6)
799this.Node.Namespace.Uri.SetValue(0, 0); 1141elementNode.Namespace.Uri.SetValue(elementNode.NameOffset, 0); 1205attribute.Namespace.Uri.SetValue(0, 0); 1372elementNode.Namespace.Uri.SetValue(elementNode.NameOffset, 0); 1516attribute.Namespace.Uri.SetValue(0, 0); 1588attribute.Namespace.Uri.SetValue(0, 0);
System\Xml\XmlBaseReader.cs (36)
282endElementNode.Namespace = elementNode.Namespace; 751attributeNode.AttributeText.Namespace = attributeNode.Namespace; 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()); 781if (attributeNode2.QNameType == QNameType.Xmlns && attributeNode1.Namespace.Prefix == attributeNode2.Namespace.Prefix) 782XmlExceptionHelper.ThrowDuplicateAttribute(this, xmlns, xmlns, attributeNode1.Namespace.Prefix.GetString(), xmlnsNamespace); 805XmlExceptionHelper.ThrowDuplicateXmlnsAttribute(this, attributeNodes[attribute1].Namespace.Prefix.GetString(), xmlnsNamespace); 807XmlExceptionHelper.ThrowDuplicateAttribute(this, attributeNodes[attribute1].Prefix.GetString(), attributeNodes[attribute2].Prefix.GetString(), attributeNodes[attribute1].LocalName.GetString(), attributeNodes[attribute1].Namespace.Uri.GetString()); 962if (node.Namespace.Prefix.IsEmpty) 1007if (node.Namespace.Prefix.IsEmpty) 1015return node.Namespace.Prefix.GetString(NameTable); 1019return node.Namespace.Prefix.GetString(); 1037return node.Namespace.Uri.GetString(NameTable); 1041return node.Namespace.Uri.GetString(); 1170PrefixHandle prefix = node.Namespace.Prefix; 1212PrefixHandle prefix = node.Namespace.Prefix; 1363XmlExceptionHelper.ThrowEndElementExpected(this, elementNode.LocalName.GetString(), elementNode.Namespace.Uri.GetString()); 2057byte[] prefixBuffer = attributeNode.Namespace.Prefix.GetString(out prefixOffset, out prefixLength); 2059byte[] nsBuffer = attributeNode.Namespace.Uri.GetString(out nsOffset, out nsLength); 2333return this.Namespace.Prefix == localName; 2346return this.Namespace.Prefix == localName; 2354return this.Namespace.IsUri(ns); 2367return this.Namespace.IsUri(ns); 2380return this.LocalName == localName && this.Namespace.IsUri(ns); 2385return this.Namespace.Prefix == localName && ns == xmlnsNamespace; 2393return this.LocalName == localName && this.Namespace.IsUri(ns); 2398return this.Namespace.Prefix == localName && ns.Value == xmlnsNamespace; 2411return prefix == xmlns && this.Namespace.Prefix == localName; 2433return this.Namespace.Uri.TryGetDictionaryString(out ns); 2468return Namespace.Uri.GetString(); 2803i = attribute1.Namespace.Uri.CompareTo(attribute2.Namespace.Uri); 2809i = attribute1.Namespace.Prefix.CompareTo(attribute2.Namespace.Prefix);