24 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)
44public 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.ServiceModel.Primitives (2)
Internals\System\Xml\XmlMtomReader.cs (2)
677public override string LocalName 1595public override string LocalName
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
44public override string LocalName { get { return _reader.LocalName; } }
493 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)
107&& _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)
767string LocalName = xmlReader.LocalName; 780ThrowCompilerException(nameof(SR.DefnTagsCannotBeNested), DefinitionNSPrefix, LocalName, xmlReader.LocalName); 800!xmlReader.LocalName.Equals(XamlReaderHelper.DefinitionUid))
MS\Internal\MarkupCompiler\ParserExtension.cs (4)
434if (xmlReader.LocalName == CLASS) 449else if (xmlReader.LocalName == XamlReaderHelper.DefinitionTypeArgs) 469else if (xmlReader.LocalName == SUBCLASS) 482else if (xmlReader.LocalName == CLASSMODIFIER)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (6)
1267XmlReader.LocalName); 2204string attribLocalName = XmlReader.LocalName; 2789string attribLocalName = XmlReader.LocalName; 3575string localName = XmlReader.LocalName; 4274if (XmlReader.LocalName == DefinitionUid && 4481string localName = XmlReader.LocalName;
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (10)
230string elementName = Reader.LocalName; 248if (Scope.ShouldProcessContent(namespaceName, Reader.LocalName)) 318string elementName = Reader.LocalName; 340Debug.Assert(Scope.ShouldProcessContent(namespaceName, Reader.LocalName)); 649if (string.Equals(XmlnsDeclaration, Reader.LocalName, StringComparison.Ordinal)) 657return LookupNamespace(Reader.LocalName); 1079string attributeName = Reader.LocalName; 1236if (Reader.LocalName == Requires) 1241string attributeName = Reader.LocalName; 1346string attributeName = Reader.LocalName;
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
44public 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 (30)
MS\Internal\IO\Packaging\XamlFilter.cs (3)
515ElementTableKey elementFullName = new ElementTableKey(_xamlReader.NamespaceURI, _xamlReader.LocalName); 773Debug.Assert(string.Equals(_xamlReader.LocalName, _fixedPageName, StringComparison.Ordinal)); 910if ( IsPrefixedPropertyName(_xamlReader.LocalName, out attributePropertyName)
System\Windows\Annotations\Annotation.cs (12)
282while (!(XmlNodeType.EndElement == reader.NodeType && AnnotationXmlConstants.Elements.Annotation == reader.LocalName)) 284if (AnnotationXmlConstants.Elements.AnchorCollection == reader.LocalName) 291while (!(AnnotationXmlConstants.Elements.AnchorCollection == reader.LocalName && XmlNodeType.EndElement == reader.NodeType)) 299else if (AnnotationXmlConstants.Elements.CargoCollection == reader.LocalName) 306while (!(AnnotationXmlConstants.Elements.CargoCollection == reader.LocalName && XmlNodeType.EndElement == reader.NodeType)) 314else if (AnnotationXmlConstants.Elements.AuthorCollection == reader.LocalName) 321while (!(AnnotationXmlConstants.Elements.AuthorCollection == reader.LocalName && XmlNodeType.EndElement == reader.NodeType)) 323if (!(AnnotationXmlConstants.Elements.StringAuthor == reader.LocalName && XmlNodeType.Element == reader.NodeType)) 519if (reader.LocalName == AnnotationXmlConstants.Prefixes.XmlnsPrefix) 550throw new XmlException(SR.Format(SR.UnexpectedAttribute, reader.LocalName, elementName)); 611switch (reader.LocalName) 664throw new XmlException(SR.Format(SR.UnexpectedAttribute, reader.LocalName, AnnotationXmlConstants.Elements.Annotation));
System\Windows\Annotations\AnnotationResource.cs (5)
169while (!(AnnotationXmlConstants.Elements.Resource == reader.LocalName && XmlNodeType.EndElement == reader.NodeType)) 171if (AnnotationXmlConstants.Elements.ContentLocatorGroup == reader.LocalName) 176else if (AnnotationXmlConstants.Elements.ContentLocator == reader.LocalName) 443switch (reader.LocalName) 455throw new XmlException(SR.Format(SR.UnexpectedAttribute, reader.LocalName, AnnotationXmlConstants.Elements.Resource));
System\Windows\Annotations\LocatorGroup.cs (2)
133while (!(AnnotationXmlConstants.Elements.ContentLocatorGroup == reader.LocalName && XmlNodeType.EndElement == reader.NodeType)) 136if (AnnotationXmlConstants.Elements.ContentLocator == reader.LocalName)
System\Windows\Annotations\LocatorPartList.cs (7)
203while (!(AnnotationXmlConstants.Elements.ContentLocator == reader.LocalName && XmlNodeType.EndElement == reader.NodeType)) 210ContentLocatorPart part = new ContentLocatorPart(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI)); 221while (!(XmlNodeType.EndElement == reader.NodeType && part.PartType.Name == reader.LocalName)) 223if (AnnotationXmlConstants.Elements.Item == reader.LocalName && reader.NamespaceURI == AnnotationXmlConstants.Namespaces.CoreSchemaNamespace) 230switch (reader.LocalName) 240throw new XmlException(SR.Format(SR.UnexpectedAttribute, reader.LocalName, AnnotationXmlConstants.Elements.Item)); 264if (!(XmlNodeType.EndElement == reader.NodeType && AnnotationXmlConstants.Elements.Item == reader.LocalName))
System\Windows\Documents\FixedSchema.cs (1)
150CheckUri(Reader.LocalName, attr);
System.Data.Common (90)
System\Data\DataSet.cs (35)
1696if (reader.LocalName == Keywords.XDR_SCHEMA && reader.NamespaceURI == Keywords.XDRNS) 1703if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI == Keywords.XSDNS) 1710if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal)) 1716XmlElement topNode = xdoc.CreateElement(reader.Prefix, reader.LocalName, reader.NamespaceURI); 1729XmlAttribute attr = topNode.SetAttributeNode(reader.LocalName, reader.NamespaceURI); 1740if (reader.LocalName == Keywords.XDR_SCHEMA && reader.NamespaceURI == Keywords.XDRNS) 1747if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI == Keywords.XSDNS) 1754if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal)) 1819if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI == Keywords.XSDNS) 1831while (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI == Keywords.XSDNS) 2117if ((reader.LocalName == Keywords.DIFFGRAM) && (reader.NamespaceURI == Keywords.DFFNS)) 2126if (reader.LocalName == Keywords.XDR_SCHEMA && reader.NamespaceURI == Keywords.XDRNS) 2133if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI == Keywords.XSDNS) 2140if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal)) 2148XmlElement topNode = xdoc.CreateElement(reader.Prefix, reader.LocalName, reader.NamespaceURI); 2159XmlAttribute attr = topNode.SetAttributeNode(reader.LocalName, reader.NamespaceURI); 2170if ((reader.LocalName == Keywords.DIFFGRAM) && (reader.NamespaceURI == Keywords.DFFNS)) 2182if (!fSchemaFound && !fDataFound && reader.LocalName == Keywords.XDR_SCHEMA && reader.NamespaceURI == Keywords.XDRNS) 2191if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI == Keywords.XSDNS) 2199if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal)) 2204if ((reader.LocalName == Keywords.DIFFGRAM) && (reader.NamespaceURI == Keywords.DFFNS)) 2474if ((reader.LocalName != Keywords.DIFFGRAM) && (reader.NamespaceURI != Keywords.DFFNS)) 2493XmlElement node = xdoc.CreateElement(reader.Prefix, reader.LocalName, reader.NamespaceURI); 2513if (((reader.LocalName == Keywords.SQL_BEFORE) && (reader.NamespaceURI == Keywords.DFFNS)) || 2514((reader.LocalName == Keywords.MSD_ERRORS) && (reader.NamespaceURI == Keywords.DFFNS))) 2641if ((reader.LocalName == Keywords.DIFFGRAM) && (reader.NamespaceURI == Keywords.DFFNS)) 2656if (reader.LocalName == Keywords.XDR_SCHEMA && reader.NamespaceURI == Keywords.XDRNS) 2671if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI == Keywords.XSDNS) 2687if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI.StartsWith(Keywords.XSD_NS_START, StringComparison.Ordinal)) 2694topNode = xdoc.CreateElement(reader.Prefix, reader.LocalName, reader.NamespaceURI); 2705XmlAttribute attr = topNode.SetAttributeNode(reader.LocalName, reader.NamespaceURI); 2716if (reader.LocalName == Keywords.XDR_SCHEMA && reader.NamespaceURI == Keywords.XDRNS) 2733if (reader.LocalName == Keywords.XSD_SCHEMA && reader.NamespaceURI == Keywords.XSDNS) 2749if ((reader.LocalName == Keywords.DIFFGRAM) && (reader.NamespaceURI == Keywords.DFFNS)) 2763if (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; 1173internal 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 (136)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
3235_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)
111element = _doc!.CreateElement(r.Prefix, r.LocalName, r.NamespaceURI); 257XmlAttribute attr = _doc!.CreateAttribute(r.Prefix, r.LocalName, r.NamespaceURI); 273node = _doc.CreateEntityReference(r.LocalName); 302XmlAttribute attr = _doc!.CreateDefaultAttribute(r.Prefix, r.LocalName, r.NamespaceURI); 332node = direct ? new XmlEntityReference(_reader!.LocalName, _doc!) : _doc!.CreateEntityReference(_reader!.LocalName); 422string localName = _reader.LocalName; 465XmlElement element = new XmlElement(_reader.Prefix, _reader.LocalName, _reader.NamespaceURI, _doc!); 568XmlUnspecifiedAttribute defattr = new XmlUnspecifiedAttribute(r.Prefix, r.LocalName, r.NamespaceURI, _doc!); 575attr = 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 (22)
278if (((object)Reader.LocalName == (object)_id1_string && (object)Reader.NamespaceURI == (object)_id2_Item)) 307if (((object)Reader.LocalName == (object)_id3_int && (object)Reader.NamespaceURI == (object)_id2_Item)) 331if (((object)Reader.LocalName == (object)_id4_boolean && (object)Reader.NamespaceURI == (object)_id2_Item)) 355if (((object)Reader.LocalName == (object)_id5_short && (object)Reader.NamespaceURI == (object)_id2_Item)) 379if (((object)Reader.LocalName == (object)_id6_long && (object)Reader.NamespaceURI == (object)_id2_Item)) 403if (((object)Reader.LocalName == (object)_id7_float && (object)Reader.NamespaceURI == (object)_id2_Item)) 427if (((object)Reader.LocalName == (object)_id8_double && (object)Reader.NamespaceURI == (object)_id2_Item)) 451if (((object)Reader.LocalName == (object)_id9_decimal && (object)Reader.NamespaceURI == (object)_id2_Item)) 475if (((object)Reader.LocalName == (object)_id10_dateTime && (object)Reader.NamespaceURI == (object)_id2_Item)) 499if (((object)Reader.LocalName == (object)_id20_dateTimeOffset && (object)Reader.NamespaceURI == (object)_id2_Item)) 529if (((object)Reader.LocalName == (object)_id20_dateOnly && (object)Reader.NamespaceURI == (object)_id2_Item)) 559if (((object)Reader.LocalName == (object)_id20_timeOnly && (object)Reader.NamespaceURI == (object)_id2_Item)) 589if (((object)Reader.LocalName == (object)_id11_unsignedByte && (object)Reader.NamespaceURI == (object)_id2_Item)) 613if (((object)Reader.LocalName == (object)_id12_byte && (object)Reader.NamespaceURI == (object)_id2_Item)) 637if (((object)Reader.LocalName == (object)_id13_unsignedShort && (object)Reader.NamespaceURI == (object)_id2_Item)) 661if (((object)Reader.LocalName == (object)_id14_unsignedInt && (object)Reader.NamespaceURI == (object)_id2_Item)) 685if (((object)Reader.LocalName == (object)_id15_unsignedLong && (object)Reader.NamespaceURI == (object)_id2_Item)) 709if (((object)Reader.LocalName == (object)_id16_base64Binary && (object)Reader.NamespaceURI == (object)_id2_Item)) 738if (((object)Reader.LocalName == (object)_id17_guid && (object)Reader.NamespaceURI == (object)_id2_Item)) 762if (((object)Reader.LocalName == (object)_id19_TimeSpan && (object)Reader.NamespaceURI == (object)_id2_Item)) 792if (((object)Reader.LocalName == (object)_id18_char && (object)Reader.NamespaceURI == (object)_id2_Item)) 816if (((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) 1944xmlnsMember.XmlnsSource(Reader.Name.Length == 5 ? string.Empty : Reader.LocalName, Reader.Value); 2066return source.LocalName == name && string.Equals(source.NamespaceURI, ns);
System\Xml\Serialization\XmlSerializationReader.cs (7)
1301XmlNodeType.Element => $"<{_r.LocalName} xmlns='{_r.NamespaceURI}'>", 1424name = _r.LocalName; 1435if (_r.NodeType == XmlNodeType.EndElement && _r.LocalName == name && _r.NamespaceURI == ns) 1720type = _r.LocalName; 1849typeId = new XmlQualifiedName(_r.NameTable.Add(_r.LocalName), _r.NameTable.Add(_r.NamespaceURI)); 1902string elemLocalName = Reader.LocalName; 1924if ((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.Primitives (37)
Internals\System\Xml\XmlMtomReader.cs (5)
340if (_xmlReader.LocalName == MtomGlobals.XopIncludeHrefLocalName && _xmlReader.NamespaceURI == MtomGlobals.XopIncludeHrefNamespace) 343throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SRP.Format(SRP.MtomXopIncludeInvalidXopAttributes, _xmlReader.LocalName, MtomGlobals.XopIncludeNamespace))); 369throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SRP.Format(SRP.MtomXopIncludeInvalidXopElement, _xmlReader.LocalName, MtomGlobals.XopIncludeNamespace))); 681return _xmlReader.LocalName; 1599return (_readState == ReadState.Interactive) ? string.Empty : _parentReader.LocalName;
System\IdentityModel\Tokens\KeyInfoSerializer.cs (2)
119throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SRP.Format(SRP.CannotReadToken, reader.LocalName, reader.NamespaceURI, localReader.GetAttribute(XD.SecurityJan2004Dictionary.ValueType, null)))); 266throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SRP.Format(SRP.CannotReadKeyIdentifierClause, reader.LocalName, reader.NamespaceURI)));
System\IdentityModel\Tokens\WSSecurityJan2004.cs (1)
210throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SRP.Format(SRP.CannotReadKeyIdentifierClause, reader.LocalName, reader.NamespaceURI)));
System\ServiceModel\Channels\AddressHeader.cs (2)
347_name = reader.LocalName; 383writer.WriteStartElement(reader.Prefix, reader.LocalName, reader.NamespaceURI);
System\ServiceModel\Channels\Message.cs (2)
1974string localName = reader.LocalName; 2166_name = reader.LocalName;
System\ServiceModel\Channels\MessageFault.cs (4)
644if (ShouldWriteDetailAttribute(version, r.Prefix, r.LocalName, r.Value)) 646writer.WriteAttributeString(r.Prefix, r.LocalName, r.NamespaceURI, r.Value); 674if (ShouldWriteDetailAttribute(version, r.Prefix, r.LocalName, r.Value)) 676writer.WriteAttributeString(r.Prefix, r.LocalName, r.NamespaceURI, r.Value);
System\ServiceModel\Channels\MessageHeader.cs (2)
493writer.WriteStartElement(reader.Prefix, reader.LocalName, reader.NamespaceURI); 563_name = reader.LocalName;
System\ServiceModel\Channels\MessageHeaders.cs (1)
1841writer.WriteStartElement(reader.Prefix, reader.LocalName, reader.NamespaceURI);
System\ServiceModel\Channels\WsrmFault.cs (2)
725|| (headerReader.LocalName != detailName)) 750&& (headerReader.LocalName == detailName))
System\ServiceModel\Dispatcher\EndpointAddressProcessor.cs (7)
37AppendString(builder, reader.LocalName); 53if (reader.LocalName == AddressingStrings.IsReferenceParameter && reader.NamespaceURI == Addressing10Strings.Namespace) 59if ((reader.LocalName == TypeLN && reader.NamespaceURI == XsiNs) || 60(reader.NamespaceURI == SerNs && (reader.LocalName == ItemTypeLN || reader.LocalName == FactoryTypeLN))) 66else if (reader.LocalName == XD.UtilityDictionary.IdAttribute.Value && reader.NamespaceURI == XD.UtilityDictionary.Namespace.Value) 71attrSet.Add(new Attr(reader.LocalName, reader.NamespaceURI, val));
System\ServiceModel\EndpointAddress.cs (5)
639throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateXmlException(reader, SRP.Format(SRP.AddressingExtensionInBadNS, reader.LocalName, reader.NamespaceURI))); 685throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateXmlException(reader, SRP.Format(SRP.UnexpectedElementExpectingElement, reader.LocalName, reader.NamespaceURI, XD.AddressingDictionary.Address.Value, XD.Addressing200408Dictionary.Namespace.Value))); 856throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateXmlException(reader, SRP.Format(SRP.UnexpectedElementExpectingElement, reader.LocalName, reader.NamespaceURI, XD.AddressingDictionary.Address.Value, XD.Addressing10Dictionary.Namespace.Value))); 1051throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateXmlException(reader, SRP.Format(SRP.AddressingExtensionInBadNS, reader.LocalName, reader.NamespaceURI))); 1108throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateXmlException(reader, SRP.Format(SRP.AddressingExtensionInBadNS, reader.LocalName, reader.NamespaceURI)));
System\ServiceModel\Security\ReceiveSecurityHeader.cs (1)
632string localName = reader.LocalName;
System\ServiceModel\Security\SecurityAppliedMessage.cs (1)
101writer.WriteStartElement(reader.Prefix, reader.LocalName, reader.NamespaceURI);
System\ServiceModel\Security\SecurityVerifiedMessage.cs (1)
365writer.WriteStartElement(reader.Prefix, reader.LocalName, reader.NamespaceURI);
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (1)
223throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SRP.Format(SRP.CannotReadToken, reader.LocalName, reader.NamespaceURI, localReader.GetAttribute(XD.SecurityJan2004Dictionary.ValueType, null))));
System.ServiceModel.Syndication (78)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (27)
99throw new XmlException(SR.Format(SR.UnknownFeedXml, reader.LocalName, reader.NamespaceURI)); 122if (reader.LocalName == Atom10Constants.TermTag && reader.NamespaceURI == string.Empty) 126else if (reader.LocalName == Atom10Constants.SchemeTag && reader.NamespaceURI == string.Empty) 130else if (reader.LocalName == Atom10Constants.LabelTag && reader.NamespaceURI == string.Empty) 137string name = reader.LocalName; 543if (reader.LocalName == Atom10Constants.TypeTag && reader.NamespaceURI == string.Empty) 548string name = reader.LocalName; 635if (reader.LocalName == Atom10Constants.TypeTag && reader.NamespaceURI == string.Empty) 639else if (reader.LocalName == Atom10Constants.SourceTag && reader.NamespaceURI == string.Empty) 643else if (!FeedUtils.IsXmlns(reader.LocalName, reader.NamespaceURI)) 647result.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value); 686if (reader.LocalName == "lang" && reader.NamespaceURI == XmlNs) 690else if (reader.LocalName == "base" && reader.NamespaceURI == XmlNs) 697string name = reader.LocalName; 707result.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value); 806string name = reader.LocalName; 821result.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value); 886if (reader.LocalName == "base" && reader.NamespaceURI == XmlNs) 890else if (reader.LocalName == Atom10Constants.TypeTag && reader.NamespaceURI == string.Empty) 894else if (reader.LocalName == Atom10Constants.RelativeTag && reader.NamespaceURI == string.Empty) 898else if (reader.LocalName == Atom10Constants.TitleTag && reader.NamespaceURI == string.Empty) 902else if (reader.LocalName == Atom10Constants.LengthTag && reader.NamespaceURI == string.Empty) 906else if (reader.LocalName == Atom10Constants.HrefTag && reader.NamespaceURI == string.Empty) 910else if (!FeedUtils.IsXmlns(reader.LocalName, reader.NamespaceURI)) 914link.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value); 998string name = reader.LocalName; 1008result.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value);
System\ServiceModel\Syndication\Atom10ItemFormatter.cs (1)
91throw new XmlException(SR.Format(SR.UnknownItemXml, reader.LocalName, reader.NamespaceURI));
System\ServiceModel\Syndication\AtomPub10CategoriesDocumentFormatter.cs (1)
95throw new XmlException(SR.Format(SR.UnknownDocumentXml, reader.LocalName, reader.NamespaceURI));
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (23)
82throw new XmlException(SR.Format(SR.UnknownDocumentXml, reader.LocalName, reader.NamespaceURI)); 159if (reader.LocalName == "base" && reader.NamespaceURI == Atom10FeedFormatter.XmlNs) 163else if (reader.LocalName == "lang" && reader.NamespaceURI == Atom10FeedFormatter.XmlNs) 167else if (reader.LocalName == App10Constants.Fixed && reader.NamespaceURI == string.Empty) 171else if (reader.LocalName == Atom10Constants.SchemeTag && reader.NamespaceURI == string.Empty) 178string name = reader.LocalName; 187inlineCategories.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value); 233if (reader.LocalName == "base" && reader.NamespaceURI == Atom10FeedFormatter.XmlNs) 237else if (reader.LocalName == "lang" && reader.NamespaceURI == Atom10FeedFormatter.XmlNs) 241else if (reader.LocalName == App10Constants.Href && reader.NamespaceURI == string.Empty) 248string name = reader.LocalName; 257referencedCategories.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value); 343if (reader.LocalName == "base" && reader.NamespaceURI == Atom10FeedFormatter.XmlNs) 347else if (reader.LocalName == App10Constants.Href && reader.NamespaceURI == string.Empty) 354string name = reader.LocalName; 363result.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value); 421if (reader.LocalName == "lang" && reader.NamespaceURI == Atom10FeedFormatter.XmlNs) 425else if (reader.LocalName == "base" && reader.NamespaceURI == Atom10FeedFormatter.XmlNs) 432string name = reader.LocalName; 441result.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value); 495if (reader.LocalName == "base" && reader.NamespaceURI == Atom10FeedFormatter.XmlNs) 502string name = reader.LocalName; 511result.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value);
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (12)
99throw new XmlException(SR.Format(SR.UnknownFeedXml, reader.LocalName, reader.NamespaceURI)); 202if (reader.LocalName == "base" && reader.NamespaceURI == Atom10FeedFormatter.XmlNs) 206else if (!FeedUtils.IsXmlns(reader.LocalName, reader.NamespaceURI)) 210link.AttributeExtensions.Add(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI), reader.Value); 244string name = reader.LocalName; 289string name = reader.LocalName; 393string name = reader.LocalName; 482string name = reader.LocalName; 544string name = reader.LocalName; 576string elementLocalName = reader.LocalName; 595elementLocalName = reader.LocalName; 602string name = reader.LocalName;
System\ServiceModel\Syndication\Rss20ItemFormatter.cs (1)
114throw new XmlException(SR.Format(SR.UnknownItemXml, reader.LocalName, reader.NamespaceURI));
System\ServiceModel\Syndication\SyndicationElementExtension.cs (2)
28_outerName = xmlReader.LocalName; 330name = reader.LocalName;
System\ServiceModel\Syndication\SyndicationElementExtensionCollection.cs (2)
140if (shouldSkipElement != null && shouldSkipElement(reader.LocalName, reader.NamespaceURI)) 227base.Add(new SyndicationElementExtension(_buffer, index, reader.LocalName, reader.NamespaceURI));
System\ServiceModel\Syndication\SyndicationFeed.cs (4)
301if (reader.LocalName == Rss20Constants.HourTag) 335if (reader.LocalName == Rss20Constants.DayTag) 371string name = reader.LocalName; 428throw new XmlException(SR.Format(SR.UnknownFeedXml, reader.LocalName, reader.NamespaceURI));
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (3)
354var elementQualifiedName = new XmlQualifiedName(reader.LocalName, reader.NamespaceURI); 503return SR.Format(SR.XmlFoundElement, GetName(reader.Prefix, reader.LocalName), reader.NamespaceURI); 505return SR.Format(SR.XmlFoundEndElement, GetName(reader.Prefix, reader.LocalName), reader.NamespaceURI);
System\ServiceModel\Syndication\SyndicationItem.cs (1)
173throw new XmlException(SR.Format(SR.UnknownItemXml, reader.LocalName, reader.NamespaceURI));
System\ServiceModel\Syndication\XmlSyndicationContent.cs (1)
30string name = reader.LocalName;
System.Xaml (12)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (10)
230string elementName = Reader.LocalName; 248if (Scope.ShouldProcessContent(namespaceName, Reader.LocalName)) 318string elementName = Reader.LocalName; 340Debug.Assert(Scope.ShouldProcessContent(namespaceName, Reader.LocalName)); 649if (string.Equals(XmlnsDeclaration, Reader.LocalName, StringComparison.Ordinal)) 657return LookupNamespace(Reader.LocalName); 1079string attributeName = Reader.LocalName; 1236if (Reader.LocalName == Requires) 1241string attributeName = Reader.LocalName; 1346string attributeName = Reader.LocalName;
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
44public override string LocalName { get { return _reader.LocalName; } }
System\Xaml\Parser\XamlScanner.cs (1)
243string strippedName = _xmlReader.LocalName;