22 overrides of LocalName
Microsoft.Build.Engine.UnitTests (1)
Construction\XmlReaderWithoutLocation_Tests.cs (1)
74public override string LocalName
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
43public override string LocalName { get { return _reader.LocalName; } }
System.Data.Common (1)
System\Data\xmlsaver.cs (1)
3357public override string LocalName
System.IO.Packaging (1)
System\IO\Packaging\XmlWrappingReader.cs (1)
28public override string LocalName { get { return _reader.LocalName; } }
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
114public override string LocalName { get { return IsXmlDataNode ? _xmlNodeReader.LocalName : _localName!; } }
System\Runtime\Serialization\XmlSerializableReader.cs (1)
73public override string LocalName { get { return InnerReader.LocalName; } }
System\Xml\XmlBaseReader.cs (1)
648public override string LocalName
System\Xml\XmlDictionaryReader.cs (1)
1420public override string LocalName
System.Private.Xml (12)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
427public override string LocalName
System\Xml\Core\XmlAsyncCheckReader.cs (1)
100public override string LocalName
System\Xml\Core\XmlTextReader.cs (1)
122public override string LocalName
System\Xml\Core\XmlTextReaderImpl.cs (1)
875public override string LocalName
System\Xml\Core\XmlValidatingReader.cs (1)
60public override string LocalName
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
305public override string LocalName
System\Xml\Core\XmlWrappingReader.cs (1)
36public override string LocalName { get { return reader.LocalName; } }
System\Xml\Core\XsdCachingReader.cs (1)
126public override string LocalName
System\Xml\Core\XsdValidatingReader.cs (1)
258public override string LocalName
System\Xml\Dom\XmlNodeReader.cs (1)
1186public override string LocalName
System\Xml\XPath\XPathNavigatorReader.cs (1)
212public override string LocalName
System\Xml\Xsl\XsltOld\ReaderOutput.cs (1)
88public override string LocalName
System.Private.Xml.Linq (1)
System\Xml\Linq\XNodeReader.cs (1)
193public override string LocalName
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
43public override string LocalName { get { return _reader.LocalName; } }
453 references to LocalName
Contract.Message.IntegrationTests (14)
MessageContractTests.4.1.0.cs (14)
25Assert.True(reader.LocalName.Equals(wrapperName), 26string.Format("reader.LocalName - Expected: {0}, Actual: {1}", wrapperName, reader.LocalName)); 43Assert.False(reader.LocalName.Equals(wrapperName), 58Assert.True(reader.LocalName.Equals(wrapperName), 59string.Format("Unexpected element order (1/5). Expected {0}, Actual: {1}", wrapperName, reader.LocalName)); 63Assert.True(reader.LocalName.Equals(MessageContractConstants.dateElementName), 64string.Format("Unexpected element order (2/5). Expected {0}, Actual: {1}", MessageContractConstants.dateElementName, reader.LocalName)); 70Assert.True(reader.LocalName.Equals(MessageContractConstants.transactionElementName), 71string.Format("Unexpected element order (3/5). Expected: {0}, Actual: {1}", MessageContractConstants.transactionElementName, reader.LocalName)); 77Assert.True(reader.LocalName.Equals(MessageContractConstants.customerElementName), 78string.Format("Unexpected element order (4/5). Expected: {0}, Actual: {1}", MessageContractConstants.customerElementName, reader.LocalName)); 85Assert.True(reader.IsStartElement() == false && reader.LocalName.Equals(wrapperName), 86string.Format("Unexpected element order (5/5). Expected: {0}, Actual: {1}", wrapperName, reader.LocalName)); 102if (reader.LocalName.Equals(MessageContractConstants.customerElementName) && reader.NamespaceURI.Equals(MessageContractConstants.customerElementNamespace))
Microsoft.AspNetCore.Mvc.Formatters.Xml (3)
ProblemDetailsWrapper.cs (1)
59var key = XmlConvert.DecodeName(reader.LocalName);
SerializableErrorWrapper.cs (1)
67var key = XmlConvert.DecodeName(reader.LocalName);
ValidationProblemDetailsWrapper.cs (1)
63var key = XmlConvert.DecodeName(reader.LocalName);
Microsoft.Build.Engine.UnitTests (1)
Construction\XmlReaderWithoutLocation_Tests.cs (1)
76get { return _wrappedReader.LocalName; }
Microsoft.CodeAnalysis.Workspaces (2)
Shared\Utilities\DocumentationComment.cs (1)
232var localName = reader.LocalName;
Shared\Utilities\XmlFragmentParser.cs (1)
108&& _xmlReader.LocalName == Reader.CurrentElementName;
Microsoft.Extensions.Configuration.Xml (3)
XmlStreamConfigurationProvider.cs (3)
63var element = new XmlConfigurationElement(reader.LocalName, GetName(reader)); 221element.Attributes!.Add(new XmlConfigurationElementAttributeValue(reader.LocalName, reader.Value, lineNumber, linePosition)); 237if (string.Equals(reader.LocalName, Consts.NameAttributeKey, StringComparison.OrdinalIgnoreCase))
Microsoft.Maui.Controls.Xaml (5)
XamlParser.cs (5)
77 name = new XmlName(reader.NamespaceURI, reader.LocalName); 92 else if (reader.NamespaceURI == X2009Uri && reader.LocalName == "Arguments") 216 xmlns.Add(new KeyValuePair<string, string>(reader.LocalName, reader.Value)); 221 if (reader.LocalName.IndexOf(".", StringComparison.Ordinal) != -1 && namespaceUri == "") 223 var propertyName = ParsePropertyName(new XmlName(namespaceUri, reader.LocalName));
PresentationBuildTasks (24)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (3)
780string LocalName = xmlReader.LocalName; 793ThrowCompilerException(nameof(SR.DefnTagsCannotBeNested), DefinitionNSPrefix, LocalName, xmlReader.LocalName); 813!xmlReader.LocalName.Equals(XamlReaderHelper.DefinitionUid))
MS\Internal\MarkupCompiler\ParserExtension.cs (4)
435if (xmlReader.LocalName == CLASS) 450else if (xmlReader.LocalName == XamlReaderHelper.DefinitionTypeArgs) 470else if (xmlReader.LocalName == SUBCLASS) 483else if (xmlReader.LocalName == CLASSMODIFIER)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (6)
1275XmlReader.LocalName); 2209string attribLocalName = XmlReader.LocalName; 2791string attribLocalName = XmlReader.LocalName; 3579string localName = XmlReader.LocalName; 4279if (XmlReader.LocalName == DefinitionUid && 4487string localName = XmlReader.LocalName;
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (10)
227string elementName = Reader.LocalName; 243if (Scope.ShouldProcessContent(namespaceName, Reader.LocalName)) 312string elementName = Reader.LocalName; 333Debug.Assert(Scope.ShouldProcessContent(namespaceName, Reader.LocalName)); 641if (string.Equals(XmlnsDeclaration, Reader.LocalName, StringComparison.Ordinal)) 648return LookupNamespace(Reader.LocalName); 1071string attributeName = Reader.LocalName; 1224if (Reader.LocalName == Requires) 1228string attributeName = Reader.LocalName; 1331string attributeName = Reader.LocalName;
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
43public override string LocalName { get { return _reader.LocalName; } }
PresentationCore (14)
MS\Internal\FontFace\CompositeFontParser.cs (14)
362string name = _reader.LocalName; 408switch (_reader.LocalName) 418if (_reader.LocalName == StringElement && IsSystemNamespace(_reader.NamespaceURI)) 520if (_reader.NamespaceURI == XamlNamespace && _reader.LocalName == KeyAttribute) 571if (_reader.LocalName == DeviceFontCharacterMetricsPropertyElement) 586if (_reader.LocalName == CharacterMetricsElement) 633string name = _reader.LocalName; 715if (_reader.NamespaceURI == XamlNamespace && _reader.LocalName == KeyAttribute) 719else if (IsCompositeFontAttribute() && _reader.LocalName == MetricsAttribute) 763string name = _reader.LocalName; 882_reader.LocalName)); 892_reader.LocalName, 904_reader.LocalName, 915_reader.LocalName,
PresentationFramework (29)
MS\Internal\IO\Packaging\XamlFilter.cs (3)
516ElementTableKey elementFullName = new ElementTableKey(_xamlReader.NamespaceURI, _xamlReader.LocalName); 774Debug.Assert(string.Equals(_xamlReader.LocalName, _fixedPageName, StringComparison.Ordinal)); 917if ( IsPrefixedPropertyName(_xamlReader.LocalName, out attributePropertyName)
System\Windows\Annotations\Annotation.cs (12)
283while (!(XmlNodeType.EndElement == reader.NodeType && AnnotationXmlConstants.Elements.Annotation == reader.LocalName)) 285if (AnnotationXmlConstants.Elements.AnchorCollection == reader.LocalName) 292while (!(AnnotationXmlConstants.Elements.AnchorCollection == reader.LocalName && XmlNodeType.EndElement == reader.NodeType)) 300else if (AnnotationXmlConstants.Elements.CargoCollection == reader.LocalName) 307while (!(AnnotationXmlConstants.Elements.CargoCollection == reader.LocalName && XmlNodeType.EndElement == reader.NodeType)) 315else if (AnnotationXmlConstants.Elements.AuthorCollection == reader.LocalName) 322while (!(AnnotationXmlConstants.Elements.AuthorCollection == reader.LocalName && XmlNodeType.EndElement == reader.NodeType)) 324if (!(AnnotationXmlConstants.Elements.StringAuthor == reader.LocalName && XmlNodeType.Element == reader.NodeType)) 520if (reader.LocalName == AnnotationXmlConstants.Prefixes.XmlnsPrefix) 551throw new XmlException(SR.Format(SR.UnexpectedAttribute, reader.LocalName, elementName)); 610switch (reader.LocalName) 661throw new XmlException(SR.Format(SR.UnexpectedAttribute, reader.LocalName, AnnotationXmlConstants.Elements.Annotation));
System\Windows\Annotations\AnnotationResource.cs (5)
173while (!(AnnotationXmlConstants.Elements.Resource == reader.LocalName && XmlNodeType.EndElement == reader.NodeType)) 175if (AnnotationXmlConstants.Elements.ContentLocatorGroup == reader.LocalName) 180else if (AnnotationXmlConstants.Elements.ContentLocator == reader.LocalName) 447switch (reader.LocalName) 459throw new XmlException(SR.Format(SR.UnexpectedAttribute, reader.LocalName, AnnotationXmlConstants.Elements.Resource));
System\Windows\Annotations\LocatorGroup.cs (2)
134while (!(AnnotationXmlConstants.Elements.ContentLocatorGroup == reader.LocalName && XmlNodeType.EndElement == reader.NodeType)) 137if (AnnotationXmlConstants.Elements.ContentLocator == reader.LocalName)
System\Windows\Annotations\LocatorPartList.cs (7)
218while (!(AnnotationXmlConstants.Elements.ContentLocator == reader.LocalName && XmlNodeType.EndElement == reader.NodeType)) 225ContentLocatorPart part = new ContentLocatorPart(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI)); 236while (!(XmlNodeType.EndElement == reader.NodeType && part.PartType.Name == reader.LocalName)) 238if (AnnotationXmlConstants.Elements.Item == reader.LocalName && reader.NamespaceURI == AnnotationXmlConstants.Namespaces.CoreSchemaNamespace) 245switch (reader.LocalName) 255throw new XmlException(SR.Format(SR.UnexpectedAttribute, reader.LocalName, AnnotationXmlConstants.Elements.Item)); 279if (!(XmlNodeType.EndElement == reader.NodeType && AnnotationXmlConstants.Elements.Item == reader.LocalName))
System.Data.Common (90)
System\Data\DataSet.cs (35)
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); 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); 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)) 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); 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 (28)
5713if (reader.AttributeCount == 0 || (reader.LocalName == Keywords.DIFFGRAM && reader.NamespaceURI == Keywords.DFFNS)) 5721(Prefix == reader.LocalName) && 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); 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); 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)) 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 (8)
919switch (_dataReader.LocalName) 935if (_dataReader.LocalName == Keywords.ROWORDER) 941else if (_dataReader.LocalName.StartsWith("hidden", StringComparison.Ordinal)) 944c = collection[XmlConvert.DecodeName(_dataReader.LocalName.Substring(6))]; 1216xmlAttrib = new XmlRootAttribute(_dataReader.LocalName); 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); 376string ln = XmlConvert.DecodeName(row.LocalName); 382while ((row.NodeType != XmlNodeType.EndElement) && (row.LocalName != ln) && (row.NamespaceURI != ns)) 409xmlAttrib = new XmlRootAttribute(row.LocalName);
System\Data\xmlsaver.cs (1)
3361return _xmlreader.LocalName;
System\Data\XmlToDatasetMap.cs (3)
61_id.LocalName = dataReader.LocalName; 469return _lastTableSchemaInfo.ColumnsSchemaMap[dataReader.LocalName]; 494TableSchemaInfo? tableSchemaInfo = (TableSchemaInfo?)(fIgnoreNamespace ? _tableSchemaMap[node.LocalName] : _tableSchemaMap[node]);
System.IO.Packaging (15)
System\IO\Packaging\PartBasedPackageProperties.cs (3)
496|| (object)reader.LocalName != PackageXmlStringTable.GetXmlStringAsObject(PackageXmlEnum.CoreProperties)) 538object localName = reader.LocalName; 545SR.Format(SR.InvalidPropertyNameInCorePropertiesPart, reader.LocalName),
System\IO\Packaging\XmlCompatibilityReader.cs (10)
210string elementName = Reader.LocalName; 226if (Scope.ShouldProcessContent(namespaceName, Reader.LocalName)) 295string elementName = Reader.LocalName; 316Debug.Assert(Scope.ShouldProcessContent(namespaceName, Reader.LocalName)); 622if (string.Equals(XmlnsDeclaration, Reader.LocalName, StringComparison.Ordinal)) 629return LookupNamespace(Reader.LocalName); 1014string attributeName = Reader.LocalName; 1167if (Reader.LocalName == Requires) 1171string attributeName = Reader.LocalName; 1274string attributeName = Reader.LocalName;
System\IO\Packaging\XmlWrappingReader.cs (1)
28public override string LocalName { get { return _reader.LocalName; } }
System\IO\Packaging\ZipPackage.cs (1)
1226if (reader.NodeType == XmlNodeType.EndElement && elementName == reader.LocalName)
System.Private.DataContractSerialization (15)
System\Runtime\Serialization\XmlReaderDelegator.cs (3)
76return localName == reader.LocalName; 92return localName.Value == reader.LocalName; 1093internal string LocalName { get { return reader.LocalName; } }
System\Runtime\Serialization\XmlSerializableReader.cs (1)
73public override string LocalName { get { return InnerReader.LocalName; } }
System\Runtime\Serialization\XmlSerializableServices.cs (1)
52xmlReader.LocalName != "xmlns";
System\Xml\XmlDictionaryReader.cs (5)
222return this.LocalName == localName; 296string localName = this.LocalName; 319string localName = this.LocalName; 983localName = LocalName; 1424return _reader.LocalName;
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 (134)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
3238_qnameOther.localname = r.LocalName;
System\Xml\Core\XmlAsyncCheckReader.cs (1)
105return _coreReader.LocalName;
System\Xml\Core\XmlCharCheckingReader.cs (3)
237ValidateQName(base.reader.Prefix, base.reader.LocalName); 244ValidateQName(base.reader.Prefix, base.reader.LocalName); 346ValidateQName(base.reader.Prefix, base.reader.LocalName);
System\Xml\Core\XmlCharCheckingReaderAsync.cs (3)
99ValidateQName(base.reader.Prefix, base.reader.LocalName); 106ValidateQName(base.reader.Prefix, base.reader.LocalName); 207ValidateQName(base.reader.Prefix, base.reader.LocalName);
System\Xml\Core\XmlReader.cs (11)
96public virtual string Name => Prefix.Length == 0 ? LocalName : NameTable.Add($"{Prefix}:{LocalName}"); 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 (2)
135return _useCurNode ? _curNode.localName : reader.LocalName; 1274prefix = reader.LocalName;
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
309return _coreReader.LocalName;
System\Xml\Core\XmlWrappingReader.cs (1)
36public override string LocalName { get { return reader.LocalName; } }
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)
268return _coreReader.LocalName; 2045if (_processInlineSchema && IsXSDRoot(_coreReader.LocalName, _coreReader.NamespaceURI) && _coreReader.Depth > 0) 2087string objectName = _coreReader.LocalName; 2112_nsManager.AddNamespace(_coreReader.Prefix.Length == 0 ? string.Empty : _coreReader.LocalName, _coreReader.Value); 2118_validator.ValidateElement(_coreReader.LocalName, _coreReader.NamespaceURI, _xmlSchemaInfo, xsiType, xsiNil, xsiSchemaLocation, xsiNoNamespaceSL); 2163string localName = _coreReader.LocalName;
System\Xml\Core\XsdValidatingReaderAsync.cs (4)
544if (_processInlineSchema && IsXSDRoot(_coreReader.LocalName, _coreReader.NamespaceURI) && _coreReader.Depth > 0) 586string objectName = _coreReader.LocalName; 610_nsManager.AddNamespace(_coreReader.Prefix.Length == 0 ? string.Empty : _coreReader.LocalName, _coreReader.Value); 616_validator.ValidateElement(_coreReader.LocalName, _coreReader.NamespaceURI, _xmlSchemaInfo, xsiType, xsiNil, xsiSchemaLocation, xsiNoNamespaceSL);
System\Xml\Dom\XmlLoader.cs (10)
110element = _doc!.CreateElement(r.Prefix, r.LocalName, r.NamespaceURI); 259XmlAttribute attr = _doc!.CreateAttribute(r.Prefix, r.LocalName, r.NamespaceURI); 275node = _doc.CreateEntityReference(r.LocalName); 304XmlAttribute attr = _doc!.CreateDefaultAttribute(r.Prefix, r.LocalName, r.NamespaceURI); 334node = direct ? new XmlEntityReference(_reader!.LocalName, _doc!) : _doc!.CreateEntityReference(_reader!.LocalName); 424string localName = _reader.LocalName; 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 (24)
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); 1050XmlSchemaElement e = AddElement(xtr.LocalName, xtr.Prefix, xtr.NamespaceURI, parentSchema, xss.Items, -1); 1064if ((el.Name == xtr.LocalName) && (parentSchema!.TargetNamespace == childURI)) 1070else if ((el.RefName.Name == xtr.LocalName) && (el.RefName.Namespace == xtr.NamespaceURI)) 1072XmlSchemaElement referencedElement = FindGlobalElement(childURI, xtr.LocalName, out parentSchema)!; 1078XmlSchemaElement subElement = AddElement(xtr.LocalName, xtr.Prefix, xtr.NamespaceURI, parentSchema, xsch.Items, -1); 1092if (el.Name == xtr.LocalName && parentSchema!.TargetNamespace == childURI) 1101else if (el.RefName.Name == xtr.LocalName && el.RefName.Namespace == xtr.NamespaceURI) 1106XmlSchemaElement referencedElement = FindGlobalElement(childURI, xtr.LocalName, out parentSchema)!; 1122if (el.Name == xtr.LocalName && parentSchema!.TargetNamespace == childURI) 1133else if (el.RefName.Name == xtr.LocalName && el.RefName.Namespace == xtr.NamespaceURI) 1140XmlSchemaElement referencedElement = FindGlobalElement(childURI, xtr.LocalName, out parentSchema)!; 1158subElement = FindElement(xss.Items, xtr.LocalName); 1163subElement = FindElementRef(xss.Items, xtr.LocalName, xtr.NamespaceURI); 1166actualElement = FindGlobalElement(childURI, xtr.LocalName, out parentSchema); 1185subElement = AddElement(xtr.LocalName, xtr.Prefix, xtr.NamespaceURI, parentSchema, xss.Items, ++lastUsedSeqItem); 1213_namespaceManager.AddNamespace(_xtr.LocalName, _xtr.Value); 1217string localName = _xtr.LocalName; 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 (8)
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); 188_namespaceManager.AddNamespace(_reader.Prefix.Length == 0 ? string.Empty : _reader.LocalName, _reader.Value); 338XmlElement element = _dummyDocument.CreateElement(r.Prefix, r.LocalName, r.NamespaceURI); 354_annotationNSManager!.AddNamespace(r.Prefix.Length == 0 ? string.Empty : _reader.LocalName, _reader.Value); 422XmlAttribute attr = _dummyDocument.CreateAttribute(r.Prefix, r.LocalName, r.NamespaceURI); 446XmlEntityReference eref = _dummyDocument.CreateEntityReference(_reader.LocalName);
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 (3)
782else if (ele.Name == Reader.LocalName && ns == Reader.NamespaceURI) 1883xmlnsMember.XmlnsSource(Reader.Name.Length == 5 ? string.Empty : Reader.LocalName, Reader.Value); 2005return source.LocalName == name && string.Equals(source.NamespaceURI, ns);
System\Xml\Serialization\XmlSerializationReader.cs (7)
1274XmlNodeType.Element => $"<{_r.LocalName} xmlns='{_r.NamespaceURI}'>", 1397name = _r.LocalName; 1408if (_r.NodeType == XmlNodeType.EndElement && _r.LocalName == name && _r.NamespaceURI == ns) 1693type = _r.LocalName; 1822typeId = new XmlQualifiedName(_r.NameTable.Add(_r.LocalName), _r.NameTable.Add(_r.NamespaceURI)); 1875string elemLocalName = Reader.LocalName; 1897if ((object)Reader.LocalName == (object)_typeID &&
System\Xml\XPath\XPathDocument.cs (5)
198builder.WriteStartElement(reader.Prefix, reader.LocalName, reader.NamespaceURI, reader.BaseURI); 210Debug.Assert(reader.LocalName == "xmlns"); 216builder.WriteNamespaceDeclaration(reader.LocalName, reader.Value); 221builder.WriteStartAttribute(reader.Prefix, reader.LocalName, namespaceUri); 266builder.WriteProcessingInstruction(reader.LocalName, reader.Value, reader.BaseURI);
System\Xml\XPath\XPathNavigator.cs (8)
2045writer.WriteStartElement(reader.Prefix, reader.LocalName, reader.NamespaceURI); 2055Debug.Assert(reader.LocalName == "xmlns"); 2061writer.WriteAttributeString("xmlns", reader.LocalName, xmlnsUri, reader.Value); 2066writer.WriteStartAttribute(reader.Prefix, reader.LocalName, reader.NamespaceURI); 2100writer.WriteProcessingInstruction(reader.LocalName, reader.Value); 2116Debug.Assert(reader.LocalName == "xmlns"); 2122writer.WriteAttributeString("xmlns", reader.LocalName, xmlnsUri, reader.Value); 2127writer.WriteStartAttribute(reader.Prefix, reader.LocalName, reader.NamespaceURI);
System\Xml\Xsl\Xslt\XsltInput.cs (3)
168rec.localName = _reader.LocalName; 245string local = _reader.LocalName; 402string local = _reader.LocalName;
System.Private.Xml.Linq (14)
System\Xml\Linq\XContainer.cs (12)
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)); 941_currentContainer.AddNodeSkipNotify(new XDocumentType(r.LocalName, r.GetAttribute("PUBLIC"), r.GetAttribute("SYSTEM"), 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), 997_currentContainer.AddNodeSkipNotify(new XDocumentType(r.LocalName, r.GetAttribute("PUBLIC"), r.GetAttribute("SYSTEM"), await r.GetValueAsync().ConfigureAwait(false))); 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); 1095newNode = new XDocumentType(r.LocalName, r.GetAttribute("PUBLIC"), r.GetAttribute("SYSTEM"), 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), 1211newNode = new XDocumentType(r.LocalName, r.GetAttribute("PUBLIC"), r.GetAttribute("SYSTEM"), await r.GetValueAsync().ConfigureAwait(false));
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 (78)
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) 151string name = reader.LocalName; 569if (reader.LocalName == Atom10Constants.TypeTag && reader.NamespaceURI == string.Empty) 574string name = reader.LocalName; 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) 727string name = reader.LocalName; 737result.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value); 836string name = reader.LocalName; 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); 1028string name = reader.LocalName; 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) 195string name = reader.LocalName; 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) 265string name = reader.LocalName; 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) 371string name = reader.LocalName; 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) 449string name = reader.LocalName; 458result.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value); 512if (reader.LocalName == "base" && reader.NamespaceURI == Atom10FeedFormatter.XmlNs) 519string name = reader.LocalName; 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); 274string name = reader.LocalName; 319string name = reader.LocalName; 423string name = reader.LocalName; 512string name = reader.LocalName; 574string name = reader.LocalName; 606string elementLocalName = reader.LocalName; 625elementLocalName = reader.LocalName; 632string name = reader.LocalName;
System\ServiceModel\Syndication\Rss20ItemFormatter.cs (1)
125throw new XmlException(SR.Format(SR.UnknownItemXml, reader.LocalName, reader.NamespaceURI));
System\ServiceModel\Syndication\SyndicationElementExtension.cs (2)
30_outerName = xmlReader.LocalName; 317name = reader.LocalName;
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 (4)
302if (reader.LocalName == Rss20Constants.HourTag) 336if (reader.LocalName == Rss20Constants.DayTag) 372string name = reader.LocalName; 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)
32string name = reader.LocalName;
System.Xaml (12)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (10)
227string elementName = Reader.LocalName; 243if (Scope.ShouldProcessContent(namespaceName, Reader.LocalName)) 312string elementName = Reader.LocalName; 333Debug.Assert(Scope.ShouldProcessContent(namespaceName, Reader.LocalName)); 641if (string.Equals(XmlnsDeclaration, Reader.LocalName, StringComparison.Ordinal)) 648return LookupNamespace(Reader.LocalName); 1071string attributeName = Reader.LocalName; 1224if (Reader.LocalName == Requires) 1228string attributeName = Reader.LocalName; 1331string attributeName = Reader.LocalName;
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
43public override string LocalName { get { return _reader.LocalName; } }
System\Xaml\Parser\XamlScanner.cs (1)
242string strippedName = _xmlReader.LocalName;