22 overrides of NamespaceURI
Microsoft.Build.Engine.UnitTests (1)
Construction\XmlReaderWithoutLocation_Tests.cs (1)
114public override string NamespaceURI
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
46public override string NamespaceURI { get { return _reader.NamespaceURI; } }
System.Data.Common (1)
System\Data\xmlsaver.cs (1)
3365public override string NamespaceURI
System.IO.Packaging (1)
System\IO\Packaging\XmlWrappingReader.cs (1)
29public override string NamespaceURI { get { return _reader.NamespaceURI; } }
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
115public override string NamespaceURI { get { return IsXmlDataNode ? _xmlNodeReader.NamespaceURI : _ns!; } }
System\Runtime\Serialization\XmlSerializableReader.cs (1)
74public override string NamespaceURI { get { return InnerReader.NamespaceURI; } }
System\Xml\XmlBaseReader.cs (1)
879public override string NamespaceURI
System\Xml\XmlDictionaryReader.cs (1)
1471public override string NamespaceURI
System.Private.Xml (12)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
435public override string NamespaceURI
System\Xml\Core\XmlAsyncCheckReader.cs (1)
109public override string NamespaceURI
System\Xml\Core\XmlTextReader.cs (1)
127public override string NamespaceURI
System\Xml\Core\XmlTextReaderImpl.cs (1)
884public override string NamespaceURI
System\Xml\Core\XmlValidatingReader.cs (1)
65public override string NamespaceURI
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
314public override string NamespaceURI
System\Xml\Core\XmlWrappingReader.cs (1)
37public override string NamespaceURI { get { return reader.NamespaceURI; } }
System\Xml\Core\XsdCachingReader.cs (1)
135public override string NamespaceURI
System\Xml\Core\XsdValidatingReader.cs (1)
273public override string NamespaceURI
System\Xml\Dom\XmlNodeReader.cs (1)
1198public override string NamespaceURI
System\Xml\XPath\XPathNavigatorReader.cs (1)
198public override string NamespaceURI
System\Xml\Xsl\XsltOld\ReaderOutput.cs (1)
97public override string NamespaceURI
System.Private.Xml.Linq (1)
System\Xml\Linq\XNodeReader.cs (1)
240public override string NamespaceURI
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
46public override string NamespaceURI { get { return _reader.NamespaceURI; } }
362 references to NamespaceURI
Contract.Message.IntegrationTests (3)
MessageContractTests.4.1.0.cs (3)
28Assert.True(reader.NamespaceURI.Equals(MessageContractConstants.wrapperNamespace), 29string.Format("reader.NamespaceURI - Expected: {0}, Actual: {1}", MessageContractConstants.wrapperNamespace, reader.NamespaceURI)); 102if (reader.LocalName.Equals(MessageContractConstants.customerElementName) && reader.NamespaceURI.Equals(MessageContractConstants.customerElementNamespace))
Microsoft.Build.Engine.UnitTests (1)
Construction\XmlReaderWithoutLocation_Tests.cs (1)
116get { return _wrappedReader.NamespaceURI; }
Microsoft.Extensions.Configuration.Xml (2)
XmlStreamConfigurationProvider.cs (2)
216if (!string.IsNullOrEmpty(reader.NamespaceURI)) 240if (!string.IsNullOrEmpty(reader.NamespaceURI))
Microsoft.Maui.Controls.Build.Tasks (1)
XamlTask.cs (1)
58 var xmlType = new XmlType(reader.NamespaceURI, reader.Name, XamlParser.GetTypeArguments(reader));
Microsoft.Maui.Controls.Xaml (9)
XamlLoader.cs (3)
78 var rootnode = new RuntimeRootNode(new XmlType(reader.NamespaceURI, reader.Name, null), view, (IXmlNamespaceResolver)reader) { LineNumber = ((IXmlLineInfo)reader).LineNumber, LinePosition = ((IXmlLineInfo)reader).LinePosition }; 121 var rootnode = new RuntimeRootNode(new XmlType(reader.NamespaceURI, reader.Name, typeArguments), null, (IXmlNamespaceResolver)reader) { LineNumber = ((IXmlLineInfo)reader).LineNumber, LinePosition = ((IXmlLineInfo)reader).LinePosition }; 162 RootNode rootNode = new RuntimeRootNode(new XmlType(reader.NamespaceURI, reader.Name, null), null, (IXmlNamespaceResolver)reader) { LineNumber = ((IXmlLineInfo)reader).LineNumber, LinePosition = ((IXmlLineInfo)reader).LinePosition };
XamlParser.cs (6)
75 name = new XmlName(reader.NamespaceURI, reader.Name.Substring(elementName.Length + 1)); 77 name = new XmlName(reader.NamespaceURI, reader.LocalName); 92 else if (reader.NamespaceURI == X2009Uri && reader.LocalName == "Arguments") 161 var elementNsUri = reader.NamespaceURI; 214 if (reader.NamespaceURI == "http://www.w3.org/2000/xmlns/") 220 var namespaceUri = reader.NamespaceURI;
PresentationBuildTasks (5)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (2)
3578string namespaceURI = XmlReader.NamespaceURI; 4276XmlReader.NamespaceURI == DefinitionNamespaceURI)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (2)
672return GetMappedNamespace(Reader.NamespaceURI); 1399if (ShouldIgnoreNamespace(Reader.NamespaceURI))
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
46public override string NamespaceURI { get { return _reader.NamespaceURI; } }
PresentationCore (10)
MS\Internal\FontFace\CompositeFontParser.cs (10)
404if (_reader.NodeType == XmlNodeType.Element && _reader.NamespaceURI == CompositeFontNamespace) 419if (_reader.LocalName == StringElement && IsSystemNamespace(_reader.NamespaceURI)) 521if (_reader.NamespaceURI == XamlNamespace && _reader.LocalName == KeyAttribute) 570if (_reader.NodeType == XmlNodeType.Element && _reader.NamespaceURI == CompositeFontNamespace) 716if (_reader.NamespaceURI == XamlNamespace && _reader.LocalName == KeyAttribute) 818if (_reader.NodeType == XmlNodeType.Element && _reader.NamespaceURI == CompositeFontNamespace) 838string ns = _reader.NamespaceURI; 850string ns = _reader.NamespaceURI; 906_reader.NamespaceURI)); 917_reader.NamespaceURI));
PresentationFramework (3)
MS\Internal\IO\Packaging\XamlFilter.cs (1)
516ElementTableKey elementFullName = new ElementTableKey(_xamlReader.NamespaceURI, _xamlReader.LocalName);
System\Windows\Annotations\LocatorPartList.cs (2)
211ContentLocatorPart part = new ContentLocatorPart(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI)); 224if (AnnotationXmlConstants.Elements.Item == reader.LocalName && reader.NamespaceURI == AnnotationXmlConstants.Namespaces.CoreSchemaNamespace)
System.Data.Common (96)
System\Data\DataSet.cs (40)
1699if (reader.LocalName == Keywords.XDR_SCHEMA && reader.NamespaceURI == Keywords.XDRNS) 1706if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI == Keywords.XSDNS) 1713if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal)) 1719XmlElement topNode = xdoc.CreateElement(reader.Prefix, reader.LocalName, reader.NamespaceURI); 1726if (reader.NamespaceURI.Equals(Keywords.XSD_XMLNS_NS)) 1732XmlAttribute attr = topNode.SetAttributeNode(reader.LocalName, reader.NamespaceURI); 1743if (reader.LocalName == Keywords.XDR_SCHEMA && reader.NamespaceURI == Keywords.XDRNS) 1750if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI == Keywords.XSDNS) 1757if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal)) 1822if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI == Keywords.XSDNS) 1834while (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI == Keywords.XSDNS) 2120if ((reader.LocalName == Keywords.DIFFGRAM) && (reader.NamespaceURI == Keywords.DFFNS)) 2129if (reader.LocalName == Keywords.XDR_SCHEMA && reader.NamespaceURI == Keywords.XDRNS) 2136if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI == Keywords.XSDNS) 2143if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal)) 2151XmlElement topNode = xdoc.CreateElement(reader.Prefix, reader.LocalName, reader.NamespaceURI); 2158if (reader.NamespaceURI.Equals(Keywords.XSD_XMLNS_NS)) 2162XmlAttribute attr = topNode.SetAttributeNode(reader.LocalName, reader.NamespaceURI); 2173if ((reader.LocalName == Keywords.DIFFGRAM) && (reader.NamespaceURI == Keywords.DFFNS)) 2185if (!fSchemaFound && !fDataFound && reader.LocalName == Keywords.XDR_SCHEMA && reader.NamespaceURI == Keywords.XDRNS) 2194if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI == Keywords.XSDNS) 2202if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal)) 2207if ((reader.LocalName == Keywords.DIFFGRAM) && (reader.NamespaceURI == Keywords.DFFNS)) 2477if ((reader.LocalName != Keywords.DIFFGRAM) && (reader.NamespaceURI != Keywords.DFFNS)) 2492if ((reader.NamespaceURI != Keywords.DFFNS) && (reader.NamespaceURI != Keywords.MSDNS)) 2496XmlElement node = xdoc.CreateElement(reader.Prefix, reader.LocalName, reader.NamespaceURI); 2516if (((reader.LocalName == Keywords.SQL_BEFORE) && (reader.NamespaceURI == Keywords.DFFNS)) || 2517((reader.LocalName == Keywords.MSD_ERRORS) && (reader.NamespaceURI == Keywords.DFFNS))) 2644if ((reader.LocalName == Keywords.DIFFGRAM) && (reader.NamespaceURI == Keywords.DFFNS)) 2659if (reader.LocalName == Keywords.XDR_SCHEMA && reader.NamespaceURI == Keywords.XDRNS) 2674if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI == Keywords.XSDNS) 2690if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal)) 2697topNode = xdoc.CreateElement(reader.Prefix, reader.LocalName, reader.NamespaceURI); 2704if (reader.NamespaceURI.Equals(Keywords.XSD_XMLNS_NS)) 2708XmlAttribute attr = topNode.SetAttributeNode(reader.LocalName, reader.NamespaceURI); 2719if (reader.LocalName == Keywords.XDR_SCHEMA && reader.NamespaceURI == Keywords.XDRNS) 2736if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI == Keywords.XSDNS) 2752if ((reader.LocalName == Keywords.DIFFGRAM) && (reader.NamespaceURI == Keywords.DFFNS)) 2766if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal))
System\Data\DataTable.cs (32)
5713if (reader.AttributeCount == 0 || (reader.LocalName == Keywords.DIFFGRAM && reader.NamespaceURI == Keywords.DFFNS)) 5723(reader.NamespaceURI == Keywords.XSD_XMLNS_NS)) 5793if ((reader.LocalName == Keywords.DIFFGRAM) && (reader.NamespaceURI == Keywords.DFFNS)) 5813if (reader.LocalName == Keywords.XDR_SCHEMA && reader.NamespaceURI == Keywords.XDRNS) 5822if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI == Keywords.XSDNS) 5830if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal)) 5847XmlElement topNode = xdoc.CreateElement(reader.Prefix, reader.LocalName, reader.NamespaceURI); 5854if (reader.NamespaceURI.Equals(Keywords.XSD_XMLNS_NS)) 5860XmlAttribute attr = topNode.SetAttributeNode(reader.LocalName, reader.NamespaceURI); 5870if ((reader.LocalName == Keywords.DIFFGRAM) && (reader.NamespaceURI == Keywords.DFFNS)) 5882if (!fSchemaFound && !fDataFound && reader.LocalName == Keywords.XDR_SCHEMA && reader.NamespaceURI == Keywords.XDRNS) 5891if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI == Keywords.XSDNS) 5899if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal)) 5913if ((reader.LocalName == Keywords.DIFFGRAM) && (reader.NamespaceURI == Keywords.DFFNS)) 6044if ((reader.LocalName == Keywords.DIFFGRAM) && (reader.NamespaceURI == Keywords.DFFNS)) 6069if (reader.LocalName == Keywords.XDR_SCHEMA && reader.NamespaceURI == Keywords.XDRNS) 6084if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI == Keywords.XSDNS) 6100if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal)) 6116topNode = xdoc.CreateElement(reader.Prefix, reader.LocalName, reader.NamespaceURI); 6123if (reader.NamespaceURI.Equals(Keywords.XSD_XMLNS_NS)) 6129XmlAttribute attr = topNode.SetAttributeNode(reader.LocalName, reader.NamespaceURI); 6140if (reader.LocalName == Keywords.XDR_SCHEMA && reader.NamespaceURI == Keywords.XDRNS) 6156if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI == Keywords.XSDNS) 6171if ((reader.LocalName == Keywords.DIFFGRAM) && (reader.NamespaceURI == Keywords.DFFNS)) 6194if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal)) 6328if ((reader.LocalName != Keywords.DIFFGRAM) && (reader.NamespaceURI != Keywords.DFFNS)) 6343if ((reader.NamespaceURI != Keywords.DFFNS) && (reader.NamespaceURI != Keywords.MSDNS)) 6347XmlElement node = xdoc.CreateElement(reader.Prefix, reader.LocalName, reader.NamespaceURI); 6358if (((reader.LocalName == Keywords.SQL_BEFORE) && (reader.NamespaceURI == Keywords.DFFNS)) || 6359((reader.LocalName == Keywords.MSD_ERRORS) && (reader.NamespaceURI == Keywords.DFFNS))) 6417while (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI == Keywords.XSDNS)
System\Data\XmlDataLoader.cs (7)
255if (_fIsXdr && node.NamespaceURI.StartsWith("x-schema:#", StringComparison.Ordinal)) 917if (_dataReader.NamespaceURI == Keywords.DFFNS) 933else if (_dataReader.NamespaceURI == Keywords.MSDNS) 1217xmlAttrib.Namespace = _dataReader.NamespaceURI; 1365if (((object)_dataReader!.LocalName == _XSD_SCHEMA && (object)_dataReader.NamespaceURI == _XSDNS)) 1386else if (((object)_dataReader.LocalName == _XDR_SCHEMA && (object)_dataReader.NamespaceURI == _XDRNS) || 1387((object)_dataReader.LocalName == _SQL_SYNC && (object)_dataReader.NamespaceURI == _UPDGNS))
System\Data\XMLDiffLoader.cs (15)
24while (reader.LocalName == Keywords.SQL_BEFORE && reader.NamespaceURI == Keywords.DFFNS) 30while (reader.LocalName == Keywords.MSD_ERRORS && reader.NamespaceURI == Keywords.DFFNS) 33Debug.Assert(reader.LocalName == Keywords.MSD_ERRORS && reader.NamespaceURI == Keywords.DFFNS, "something fishy"); 61while (reader.LocalName == Keywords.SQL_BEFORE && reader.NamespaceURI == Keywords.DFFNS) 67while (reader.LocalName == Keywords.MSD_ERRORS && reader.NamespaceURI == Keywords.DFFNS) 70Debug.Assert(reader.LocalName == Keywords.MSD_ERRORS && reader.NamespaceURI == Keywords.DFFNS, "something fishy"); 191table = ds.Tables.GetTable(XmlConvert.DecodeName(ssync.LocalName), ssync.NamespaceURI); 205DataColumn col = table.Columns[XmlConvert.DecodeName(ssync.LocalName), ssync.NamespaceURI]!; 231table = GetTable(XmlConvert.DecodeName(ssync.LocalName), ssync.NamespaceURI); 260DataColumn col = table.Columns[XmlConvert.DecodeName(ssync.LocalName), ssync.NamespaceURI]!; 299table = ds.Tables.GetTable(XmlConvert.DecodeName(row.LocalName), row.NamespaceURI); 303table = GetTable(XmlConvert.DecodeName(row.LocalName), row.NamespaceURI); 377string ns = row.NamespaceURI; 382while ((row.NodeType != XmlNodeType.EndElement) && (row.LocalName != ln) && (row.NamespaceURI != ns)) 410xmlAttrib.Namespace = row.NamespaceURI;
System\Data\xmlsaver.cs (1)
3369return _xmlreader.NamespaceURI;
System\Data\XmlToDatasetMap.cs (1)
62_id.NamespaceURI = dataReader.NamespaceURI;
System.IO.Packaging (9)
System\IO\Packaging\PartBasedPackageProperties.cs (3)
495|| (object)reader.NamespaceURI != PackageXmlStringTable.GetXmlStringAsObject(PackageXmlEnum.PackageCorePropertiesNamespace) 551if ((object)reader.NamespaceURI != PackageXmlStringTable.GetXmlStringAsObject(PackageXmlStringTable.GetXmlNamespace(xmlStringIndex))) 570int allowedAttributeCount = (object)reader.NamespaceURI ==
System\IO\Packaging\XmlCompatibilityReader.cs (2)
645return GetMappedNamespace(Reader.NamespaceURI); 1326if (ShouldIgnoreNamespace(Reader.NamespaceURI))
System\IO\Packaging\XmlWrappingReader.cs (1)
29public override string NamespaceURI { get { return _reader.NamespaceURI; } }
System\IO\Packaging\ZipPackage.cs (3)
982&& (reader.NamespaceURI == TypesNamespaceUri) 1008&& (reader.NamespaceURI == TypesNamespaceUri) 1015&& (reader.NamespaceURI == TypesNamespaceUri)
System.Private.DataContractSerialization (17)
System\Runtime\Serialization\XmlReaderDelegator.cs (4)
68return ns == reader.NamespaceURI; 84return ns.Value == reader.NamespaceURI; 102if (reader.NamespaceURI == ns.Value) 1094internal string NamespaceURI { get { return reader.NamespaceURI; } }
System\Runtime\Serialization\XmlSerializableReader.cs (1)
74public override string NamespaceURI { get { return InnerReader.NamespaceURI; } }
System\Runtime\Serialization\XmlSerializableServices.cs (2)
49return xmlReader.NamespaceURI != Globals.SerializationNamespace && 50xmlReader.NamespaceURI != Globals.SchemaInstanceNamespace &&
System\Xml\XmlDictionaryReader.cs (5)
236return this.NamespaceURI == namespaceUri; 294if (this.NamespaceURI == namespaceUri) 317if (this.NamespaceURI == namespaceUri.Value) 984namespaceUri = NamespaceURI; 1475return _reader.NamespaceURI;
System\Xml\XmlDictionaryWriter.cs (3)
251WriteStartElement(reader.Prefix, reader.LocalName, reader.NamespaceURI); 265WriteStartAttribute(reader.Prefix, reader.LocalName, reader.NamespaceURI); 355WriteArrayNode(reader, reader.Prefix, reader.LocalName, reader.NamespaceURI, type);
System\Xml\XmlExceptionHelper.cs (2)
68return SR.Format(SR.XmlFoundElement, GetName(reader.Prefix, reader.LocalName), reader.NamespaceURI); 70return SR.Format(SR.XmlFoundEndElement, GetName(reader.Prefix, reader.LocalName), reader.NamespaceURI);
System.Private.Xml (115)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
3239_qnameOther.namespaceUri = r.NamespaceURI;
System\Xml\Core\XmlAsyncCheckReader.cs (1)
114return _coreReader.NamespaceURI;
System\Xml\Core\XmlReader.cs (9)
780if (LocalName == localname && NamespaceURI == ns) 859if (LocalName != localname || NamespaceURI != ns) 909return MoveToContent() == XmlNodeType.Element && LocalName == localname && NamespaceURI == ns; 944if (NodeType == XmlNodeType.Element && Ref.Equal(localName, LocalName) && Ref.Equal(namespaceURI, NamespaceURI)) 1025if (NodeType == XmlNodeType.Element && Ref.Equal(localName, LocalName) && Ref.Equal(namespaceURI, NamespaceURI)) 1078if (nt == XmlNodeType.Element && Ref.Equal(localName, LocalName) && Ref.Equal(namespaceURI, NamespaceURI)) 1145xtw.WriteStartElement(Prefix, LocalName, NamespaceURI); 1226xtw.WriteStartAttribute(Prefix, LocalName, NamespaceURI); 1420if (LocalName != localName || NamespaceURI != namespaceURI)
System\Xml\Core\XmlReaderAsync.cs (2)
219xtw.WriteStartElement(Prefix, LocalName, NamespaceURI); 280xtw.WriteStartAttribute(Prefix, LocalName, NamespaceURI);
System\Xml\Core\XmlSubtreeReader.cs (3)
143return _useCurNode ? _curNode.namespaceUri : reader.NamespaceURI; 1252string ns = reader.NamespaceURI; 1263ns = reader.NamespaceURI;
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
318return _coreReader.NamespaceURI;
System\Xml\Core\XmlWrappingReader.cs (1)
37public override string NamespaceURI { get { return reader.NamespaceURI; } }
System\Xml\Core\XmlWriter.cs (2)
337WriteStartAttribute(reader.Prefix, reader.LocalName, reader.NamespaceURI); 369WriteStartElement(reader.Prefix, reader.LocalName, reader.NamespaceURI);
System\Xml\Core\XmlWriterAsync.cs (3)
258await WriteStartAttributeAsync(reader.Prefix, reader.LocalName, reader.NamespaceURI).ConfigureAwait(false); 305await WriteStartElementAsync(reader.Prefix, reader.LocalName, reader.NamespaceURI).ConfigureAwait(false); 367await WriteStartElementAsync(reader.Prefix, reader.LocalName, reader.NamespaceURI).ConfigureAwait(false);
System\Xml\Core\XsdCachingReader.cs (4)
84element.SetItemData(_coreReader.LocalName, _coreReader.Prefix, _coreReader.NamespaceURI, _coreReader.Depth); //Only created for element node type 420recordedNode.SetItemData(_coreReader.LocalName, _coreReader.Prefix, _coreReader.NamespaceURI, _coreReader.Depth); //Only created for element node type 497recordedNode.SetItemData(_coreReader.LocalName, _coreReader.Prefix, _coreReader.NamespaceURI, _coreReader.Depth); 701attInfo.SetItemData(_coreReader.LocalName, _coreReader.Prefix, _coreReader.NamespaceURI, _coreReader.Depth);
System\Xml\Core\XsdCachingReaderAsync.cs (1)
52recordedNode.SetItemData(_coreReader.LocalName, _coreReader.Prefix, _coreReader.NamespaceURI, _coreReader.Depth); //Only created for element node type
System\Xml\Core\XsdValidatingReader.cs (6)
283return _coreReader.NamespaceURI; 2045if (_processInlineSchema && IsXSDRoot(_coreReader.LocalName, _coreReader.NamespaceURI) && _coreReader.Depth > 0) 2086string objectNs = _coreReader.NamespaceURI; 2109if (_manageNamespaces && Ref.Equal(_coreReader.NamespaceURI, _nsXmlNs)) 2118_validator.ValidateElement(_coreReader.LocalName, _coreReader.NamespaceURI, _xmlSchemaInfo, xsiType, xsiNil, xsiSchemaLocation, xsiNoNamespaceSL); 2164string ns = _coreReader.NamespaceURI;
System\Xml\Core\XsdValidatingReaderAsync.cs (4)
544if (_processInlineSchema && IsXSDRoot(_coreReader.LocalName, _coreReader.NamespaceURI) && _coreReader.Depth > 0) 585string objectNs = _coreReader.NamespaceURI; 607if (_manageNamespaces && Ref.Equal(_coreReader.NamespaceURI, _nsXmlNs)) 616_validator.ValidateElement(_coreReader.LocalName, _coreReader.NamespaceURI, _xmlSchemaInfo, xsiType, xsiNil, xsiSchemaLocation, xsiNoNamespaceSL);
System\Xml\Dom\XmlLoader.cs (6)
110element = _doc!.CreateElement(r.Prefix, r.LocalName, r.NamespaceURI); 259XmlAttribute attr = _doc!.CreateAttribute(r.Prefix, r.LocalName, r.NamespaceURI); 304XmlAttribute attr = _doc!.CreateDefaultAttribute(r.Prefix, r.LocalName, r.NamespaceURI); 467XmlElement element = new XmlElement(_reader.Prefix, _reader.LocalName, _reader.NamespaceURI, _doc!); 570XmlUnspecifiedAttribute defattr = new XmlUnspecifiedAttribute(r.Prefix, r.LocalName, r.NamespaceURI, _doc!); 577attr = new XmlAttribute(r.Prefix, r.LocalName, r.NamespaceURI, _doc!);
System\Xml\Schema\Inference\Infer.cs (21)
192_targetNamespace = _xtr.NamespaceURI; 193if (_xtr.NamespaceURI == XmlSchema.Namespace) 200if (elem!.Name == _xtr.LocalName && elem.QualifiedName.Namespace == _xtr.NamespaceURI) 211AddElement(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, null, null, -1); 891XmlQualifiedName qname = new XmlQualifiedName(_xtr.LocalName, _xtr.NamespaceURI); 921AddElement(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, parentSchema, ((XmlSchemaSequence)ct.Particle).Items, -1); 930AddElement(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, parentSchema, ((XmlSchemaSequence)ct.Particle).Items, -1); 1031if (xtr.NamespaceURI == XmlSchema.Namespace) 1040string? childURI = xtr.NamespaceURI; 1050XmlSchemaElement e = AddElement(xtr.LocalName, xtr.Prefix, xtr.NamespaceURI, parentSchema, xss.Items, -1); 1070else if ((el.RefName.Name == xtr.LocalName) && (el.RefName.Namespace == xtr.NamespaceURI)) 1078XmlSchemaElement subElement = AddElement(xtr.LocalName, xtr.Prefix, xtr.NamespaceURI, parentSchema, xsch.Items, -1); 1101else if (el.RefName.Name == xtr.LocalName && el.RefName.Namespace == xtr.NamespaceURI) 1133else if (el.RefName.Name == xtr.LocalName && el.RefName.Namespace == xtr.NamespaceURI) 1163subElement = FindElementRef(xss.Items, xtr.LocalName, xtr.NamespaceURI); 1185subElement = AddElement(xtr.LocalName, xtr.Prefix, xtr.NamespaceURI, parentSchema, xss.Items, ++lastUsedSeqItem); 1205if (_xtr.NamespaceURI == XmlSchema.Namespace) 1210if (_xtr.NamespaceURI == XmlReservedNs.NsXmlNs) 1215else if (_xtr.NamespaceURI == XmlReservedNs.NsXsi) 1258xsa = AddAttribute(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, _xtr.Value, bCreatingNewType, parentSchema, sce.Attributes, ct.AttributeUses); 1262xsa = AddAttribute(_xtr.LocalName, _xtr.Prefix, _xtr.NamespaceURI, _xtr.Value, bCreatingNewType, parentSchema, ct.Attributes, ct.AttributeUses);
System\Xml\Schema\Parser.cs (7)
74SchemaType rootType = _schemaNames.SchemaTypeFromRoot(reader.LocalName, reader.NamespaceURI); 178if (_builder!.ProcessElement(_reader.Prefix, _reader.LocalName, _reader.NamespaceURI)) 185_builder.ProcessAttribute(_reader.Prefix, _reader.LocalName, _reader.NamespaceURI, _reader.Value); 186if (Ref.Equal(_reader.NamespaceURI, _schemaNames.NsXmlNs) && _isProcessNamespaces) 338XmlElement element = _dummyDocument.CreateElement(r.Prefix, r.LocalName, r.NamespaceURI); 352if (Ref.Equal(r.NamespaceURI, _schemaNames.NsXmlNs)) 422XmlAttribute attr = _dummyDocument.CreateAttribute(r.Prefix, r.LocalName, r.NamespaceURI);
System\Xml\Schema\ParserAsync.cs (1)
34SchemaType rootType = _schemaNames.SchemaTypeFromRoot(reader.LocalName, reader.NamespaceURI);
System\Xml\Serialization\PrimitiveXmlSerializers.cs (20)
254if (((object)Reader.LocalName == (object)_id1_string && (object)Reader.NamespaceURI == (object)_id2_Item)) 283if (((object)Reader.LocalName == (object)_id3_int && (object)Reader.NamespaceURI == (object)_id2_Item)) 307if (((object)Reader.LocalName == (object)_id4_boolean && (object)Reader.NamespaceURI == (object)_id2_Item)) 331if (((object)Reader.LocalName == (object)_id5_short && (object)Reader.NamespaceURI == (object)_id2_Item)) 355if (((object)Reader.LocalName == (object)_id6_long && (object)Reader.NamespaceURI == (object)_id2_Item)) 379if (((object)Reader.LocalName == (object)_id7_float && (object)Reader.NamespaceURI == (object)_id2_Item)) 403if (((object)Reader.LocalName == (object)_id8_double && (object)Reader.NamespaceURI == (object)_id2_Item)) 427if (((object)Reader.LocalName == (object)_id9_decimal && (object)Reader.NamespaceURI == (object)_id2_Item)) 451if (((object)Reader.LocalName == (object)_id10_dateTime && (object)Reader.NamespaceURI == (object)_id2_Item)) 475if (((object)Reader.LocalName == (object)_id20_dateTimeOffset && (object)Reader.NamespaceURI == (object)_id2_Item)) 505if (((object)Reader.LocalName == (object)_id11_unsignedByte && (object)Reader.NamespaceURI == (object)_id2_Item)) 529if (((object)Reader.LocalName == (object)_id12_byte && (object)Reader.NamespaceURI == (object)_id2_Item)) 553if (((object)Reader.LocalName == (object)_id13_unsignedShort && (object)Reader.NamespaceURI == (object)_id2_Item)) 577if (((object)Reader.LocalName == (object)_id14_unsignedInt && (object)Reader.NamespaceURI == (object)_id2_Item)) 601if (((object)Reader.LocalName == (object)_id15_unsignedLong && (object)Reader.NamespaceURI == (object)_id2_Item)) 625if (((object)Reader.LocalName == (object)_id16_base64Binary && (object)Reader.NamespaceURI == (object)_id2_Item)) 654if (((object)Reader.LocalName == (object)_id17_guid && (object)Reader.NamespaceURI == (object)_id2_Item)) 678if (((object)Reader.LocalName == (object)_id19_TimeSpan && (object)Reader.NamespaceURI == (object)_id2_Item)) 708if (((object)Reader.LocalName == (object)_id18_char && (object)Reader.NamespaceURI == (object)_id2_Item)) 732if (((object)Reader.LocalName == (object)_id1_QName && (object)Reader.NamespaceURI == (object)_id2_Item))
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (2)
782else if (ele.Name == Reader.LocalName && ns == Reader.NamespaceURI) 2005return source.LocalName == name && string.Equals(source.NamespaceURI, ns);
System\Xml\Serialization\XmlSerializationReader.cs (12)
1274XmlNodeType.Element => $"<{_r.LocalName} xmlns='{_r.NamespaceURI}'>", 1398ns = _r.NamespaceURI; 1408if (_r.NodeType == XmlNodeType.EndElement && _r.LocalName == name && _r.NamespaceURI == ns) 1691if (_r.NamespaceURI.Length != 0) 1694if ((object)_r.NamespaceURI == (object)_soapNsID) 1697typens = _r.NamespaceURI; 1822typeId = new XmlQualifiedName(_r.NameTable.Add(_r.LocalName), _r.NameTable.Add(_r.NamespaceURI)); 1876string elemNs = Reader.NamespaceURI; 1895if (IsXmlnsAttribute(Reader.Name) || (Reader.Name == "id" && (!_soap12 || Reader.NamespaceURI == Soap12.Encoding))) 1898((object)Reader.NamespaceURI == (object)_instanceNsID || 1899(object)Reader.NamespaceURI == (object)_instanceNs2000ID || 1900(object)Reader.NamespaceURI == (object)_instanceNs1999ID
System\Xml\XPath\XPathDocument.cs (2)
198builder.WriteStartElement(reader.Prefix, reader.LocalName, reader.NamespaceURI, reader.BaseURI); 203string namespaceUri = reader.NamespaceURI;
System\Xml\XPath\XPathNavigator.cs (5)
2045writer.WriteStartElement(reader.Prefix, reader.LocalName, reader.NamespaceURI); 2050if ((object)reader.NamespaceURI == (object)xmlnsUri) 2066writer.WriteStartAttribute(reader.Prefix, reader.LocalName, reader.NamespaceURI); 2111if ((object)reader.NamespaceURI == (object)xmlnsUri) 2127writer.WriteStartAttribute(reader.Prefix, reader.LocalName, reader.NamespaceURI);
System\Xml\Xsl\Xslt\XsltInput.cs (1)
169rec.nsUri = _reader.NamespaceURI;
System.Private.Xml.Linq (10)
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.ServiceModel.Syndication (75)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (27)
110throw new XmlException(SR.Format(SR.UnknownFeedXml, reader.LocalName, reader.NamespaceURI)); 136if (reader.LocalName == Atom10Constants.TermTag && reader.NamespaceURI == string.Empty) 140else if (reader.LocalName == Atom10Constants.SchemeTag && reader.NamespaceURI == string.Empty) 144else if (reader.LocalName == Atom10Constants.LabelTag && reader.NamespaceURI == string.Empty) 150string ns = reader.NamespaceURI; 569if (reader.LocalName == Atom10Constants.TypeTag && reader.NamespaceURI == string.Empty) 573string ns = reader.NamespaceURI; 665if (reader.LocalName == Atom10Constants.TypeTag && reader.NamespaceURI == string.Empty) 669else if (reader.LocalName == Atom10Constants.SourceTag && reader.NamespaceURI == string.Empty) 673else if (!FeedUtils.IsXmlns(reader.LocalName, reader.NamespaceURI)) 677result.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value); 716if (reader.LocalName == "lang" && reader.NamespaceURI == XmlNs) 720else if (reader.LocalName == "base" && reader.NamespaceURI == XmlNs) 726string ns = reader.NamespaceURI; 737result.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value); 835string ns = reader.NamespaceURI; 851result.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value); 916if (reader.LocalName == "base" && reader.NamespaceURI == XmlNs) 920else if (reader.LocalName == Atom10Constants.TypeTag && reader.NamespaceURI == string.Empty) 924else if (reader.LocalName == Atom10Constants.RelativeTag && reader.NamespaceURI == string.Empty) 928else if (reader.LocalName == Atom10Constants.TitleTag && reader.NamespaceURI == string.Empty) 932else if (reader.LocalName == Atom10Constants.LengthTag && reader.NamespaceURI == string.Empty) 936else if (reader.LocalName == Atom10Constants.HrefTag && reader.NamespaceURI == string.Empty) 940else if (!FeedUtils.IsXmlns(reader.LocalName, reader.NamespaceURI)) 944link.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value); 1027string ns = reader.NamespaceURI; 1038result.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value);
System\ServiceModel\Syndication\Atom10ItemFormatter.cs (1)
102throw new XmlException(SR.Format(SR.UnknownItemXml, reader.LocalName, reader.NamespaceURI));
System\ServiceModel\Syndication\AtomPub10CategoriesDocumentFormatter.cs (1)
109throw new XmlException(SR.Format(SR.UnknownDocumentXml, reader.LocalName, reader.NamespaceURI));
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (23)
96throw new XmlException(SR.Format(SR.UnknownDocumentXml, reader.LocalName, reader.NamespaceURI)); 176if (reader.LocalName == "base" && reader.NamespaceURI == Atom10FeedFormatter.XmlNs) 180else if (reader.LocalName == "lang" && reader.NamespaceURI == Atom10FeedFormatter.XmlNs) 184else if (reader.LocalName == App10Constants.Fixed && reader.NamespaceURI == string.Empty) 188else if (reader.LocalName == Atom10Constants.SchemeTag && reader.NamespaceURI == string.Empty) 194string ns = reader.NamespaceURI; 204inlineCategories.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value); 250if (reader.LocalName == "base" && reader.NamespaceURI == Atom10FeedFormatter.XmlNs) 254else if (reader.LocalName == "lang" && reader.NamespaceURI == Atom10FeedFormatter.XmlNs) 258else if (reader.LocalName == App10Constants.Href && reader.NamespaceURI == string.Empty) 264string ns = reader.NamespaceURI; 274referencedCategories.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value); 360if (reader.LocalName == "base" && reader.NamespaceURI == Atom10FeedFormatter.XmlNs) 364else if (reader.LocalName == App10Constants.Href && reader.NamespaceURI == string.Empty) 370string ns = reader.NamespaceURI; 380result.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value); 438if (reader.LocalName == "lang" && reader.NamespaceURI == Atom10FeedFormatter.XmlNs) 442else if (reader.LocalName == "base" && reader.NamespaceURI == Atom10FeedFormatter.XmlNs) 448string ns = reader.NamespaceURI; 458result.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value); 512if (reader.LocalName == "base" && reader.NamespaceURI == Atom10FeedFormatter.XmlNs) 518string ns = reader.NamespaceURI; 528result.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value);
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (12)
110throw new XmlException(SR.Format(SR.UnknownFeedXml, reader.LocalName, reader.NamespaceURI)); 232if (reader.LocalName == "base" && reader.NamespaceURI == Atom10FeedFormatter.XmlNs) 236else if (!FeedUtils.IsXmlns(reader.LocalName, reader.NamespaceURI)) 240link.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value); 273string ns = reader.NamespaceURI; 318string ns = reader.NamespaceURI; 422string ns = reader.NamespaceURI; 511string ns = reader.NamespaceURI; 573string ns = reader.NamespaceURI; 607string elementNamespace = reader.NamespaceURI; 626elementNamespace = reader.NamespaceURI; 631string ns = reader.NamespaceURI;
System\ServiceModel\Syndication\Rss20ItemFormatter.cs (1)
125throw new XmlException(SR.Format(SR.UnknownItemXml, reader.LocalName, reader.NamespaceURI));
System\ServiceModel\Syndication\SyndicationElementExtension.cs (2)
31_outerNamespace = xmlReader.NamespaceURI; 318ns = reader.NamespaceURI;
System\ServiceModel\Syndication\SyndicationElementExtensionCollection.cs (2)
138if (shouldSkipElement != null && shouldSkipElement(reader.LocalName, reader.NamespaceURI)) 231base.Add(new SyndicationElementExtension(_buffer, index, reader.LocalName, reader.NamespaceURI));
System\ServiceModel\Syndication\SyndicationFeed.cs (1)
432throw new XmlException(SR.Format(SR.UnknownFeedXml, reader.LocalName, reader.NamespaceURI));
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (3)
452var elementQualifiedName = new XmlQualifiedName(reader.LocalName, reader.NamespaceURI); 604return SR.Format(SR.XmlFoundElement, GetName(reader.Prefix, reader.LocalName), reader.NamespaceURI); 606return SR.Format(SR.XmlFoundEndElement, GetName(reader.Prefix, reader.LocalName), reader.NamespaceURI);
System\ServiceModel\Syndication\SyndicationItem.cs (1)
178throw new XmlException(SR.Format(SR.UnknownItemXml, reader.LocalName, reader.NamespaceURI));
System\ServiceModel\Syndication\XmlSyndicationContent.cs (1)
33string ns = reader.NamespaceURI;
System.Xaml (6)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (2)
672return GetMappedNamespace(Reader.NamespaceURI); 1399if (ShouldIgnoreNamespace(Reader.NamespaceURI))
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
46public override string NamespaceURI { get { return _reader.NamespaceURI; } }
System\Xaml\Parser\XamlScanner.cs (3)
248XamlPropertyName name = XamlPropertyName.Parse(_xmlReader.Name, _xmlReader.NamespaceURI); 285string xamlNs = _xmlReader.NamespaceURI; 430string ownerNamespace = _xmlReader.NamespaceURI;