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