24 overrides of GetAttribute
Microsoft.Build.Engine.UnitTests (1)
Construction\XmlReaderWithoutLocation_Tests.cs (1)
54public override string GetAttribute(string name, string namespaceURI)
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
71public override string GetAttribute( string name, string namespaceURI ) {
System.Data.Common (1)
System\Data\xmlsaver.cs (1)
3412public override string? GetAttribute(string localName, string? namespaceURI)
System.IO.Packaging (1)
System\IO\Packaging\XmlWrappingReader.cs (1)
55public override string? GetAttribute(string name, string? namespaceURI)
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
172public override string? GetAttribute(string name, string? namespaceURI)
System\Runtime\Serialization\XmlSerializableReader.cs (1)
100public override string? GetAttribute(string name, string? namespaceURI) { return InnerReader.GetAttribute(name, namespaceURI); }
System\Xml\XmlBaseReader.cs (1)
624public override string? GetAttribute(string localName, string? namespaceUri)
System\Xml\XmlDictionaryReader.cs (1)
1381public override string? GetAttribute(string name, string? namespaceUri)
System.Private.Xml (12)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
647public override string? GetAttribute(string name, string? ns)
System\Xml\Core\XmlAsyncCheckReader.cs (1)
427public override string? GetAttribute(string name, string? namespaceURI)
System\Xml\Core\XmlTextReader.cs (1)
191public override string? GetAttribute(string localName, string? namespaceURI)
System\Xml\Core\XmlTextReaderImpl.cs (1)
1048public override string? GetAttribute(string localName, string? namespaceURI)
System\Xml\Core\XmlValidatingReader.cs (1)
129public override string? GetAttribute(string localName, string? namespaceURI)
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
464public override string? GetAttribute(string localName, string? namespaceURI)
System\Xml\Core\XmlWrappingReader.cs (1)
63public override string? GetAttribute(string name, string? namespaceURI)
System\Xml\Core\XsdCachingReader.cs (1)
262public override string? GetAttribute(string name, string? namespaceURI)
System\Xml\Core\XsdValidatingReader.cs (1)
1137public override string? GetAttribute(string name, string? namespaceURI)
System\Xml\Dom\XmlNodeReader.cs (1)
1345public override string? GetAttribute(string name, string? namespaceURI)
System\Xml\XPath\XPathNavigatorReader.cs (1)
459public override string? GetAttribute(string localName, string? namespaceURI)
System\Xml\Xsl\XsltOld\ReaderOutput.cs (1)
200public override string? GetAttribute(string localName, string? namespaceURI)
System.Private.Xml.Linq (1)
System\Xml\Linq\XNodeReader.cs (1)
510public override string? GetAttribute(string localName, string? namespaceName)
System.ServiceModel.Primitives (2)
Internals\System\Xml\XmlMtomReader.cs (2)
585public override string GetAttribute(string name, string ns) 1520public override string GetAttribute(string name, string ns)
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
71public override string GetAttribute( string name, string namespaceURI ) {
90 references to GetAttribute
Microsoft.Build.Engine.UnitTests (1)
Construction\XmlReaderWithoutLocation_Tests.cs (1)
56return _wrappedReader.GetAttribute(name, namespaceURI);
PresentationBuildTasks (3)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (1)
3979if( XmlReader.GetAttribute(DefinitionUid, DefinitionNamespaceURI) != null)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (1)
435result = Reader.GetAttribute(localName, namespaceURI);
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
72return _reader.GetAttribute( name, namespaceURI );
System.Data.Common (41)
System\Data\Common\ObjectStorage.cs (2)
368string? typeName = xmlReader.GetAttribute(Keywords.MSD_INSTANCETYPE, Keywords.MSDNS); 371string? xsdTypeName = xmlReader.GetAttribute(Keywords.TYPE, Keywords.XSINS); // this xsd type: Base type polymorphism
System\Data\Common\SqlUDTStorage.cs (2)
175string? typeName = xmlReader.GetAttribute(Keywords.MSD_INSTANCETYPE, Keywords.MSDNS); 178string? xsdTypeName = xmlReader.GetAttribute(Keywords.MSD_INSTANCETYPE, Keywords.XSINS); // this xsd type
System\Data\DataSet.cs (2)
205string? attribValue = reader.GetAttribute(Keywords.MSD_SCHEMASERIALIZATIONMODE, Keywords.MSDNS); 1811string? attribValue = reader.GetAttribute(Keywords.MSD_FRAGMENTCOUNT, Keywords.MSDNS); // this must not move the position
System\Data\SQLTypes\SQLBinary.cs (1)
416string? isNull = reader.GetAttribute("nil", XmlSchema.InstanceNamespace);
System\Data\SQLTypes\SQLBoolean.cs (1)
483string? isNull = reader.GetAttribute("nil", XmlSchema.InstanceNamespace);
System\Data\SQLTypes\SQLByte.cs (1)
492string? isNull = reader.GetAttribute("nil", XmlSchema.InstanceNamespace);
System\Data\SQLTypes\SQLBytes.cs (1)
528string? isNull = r.GetAttribute("nil", XmlSchema.InstanceNamespace);
System\Data\SQLTypes\SQLChars.cs (1)
494string? isNull = r.GetAttribute("nil", XmlSchema.InstanceNamespace);
System\Data\SQLTypes\SQLDateTime.cs (1)
634string? isNull = reader.GetAttribute("nil", XmlSchema.InstanceNamespace);
System\Data\SQLTypes\SQLDecimal.cs (1)
3351string? isNull = reader.GetAttribute("nil", XmlSchema.InstanceNamespace);
System\Data\SQLTypes\SQLDouble.cs (1)
408string? isNull = reader.GetAttribute("nil", XmlSchema.InstanceNamespace);
System\Data\SQLTypes\SQLGuid.cs (1)
297string? isNull = reader.GetAttribute("nil", XmlSchema.InstanceNamespace);
System\Data\SQLTypes\SQLInt16.cs (1)
493string? isNull = reader.GetAttribute("nil", XmlSchema.InstanceNamespace);
System\Data\SQLTypes\SQLInt32.cs (1)
508string? isNull = reader.GetAttribute("nil", XmlSchema.InstanceNamespace);
System\Data\SQLTypes\SQLInt64.cs (1)
567string? isNull = reader.GetAttribute("nil", XmlSchema.InstanceNamespace);
System\Data\SQLTypes\SQLMoney.cs (1)
564string? isNull = reader.GetAttribute("nil", XmlSchema.InstanceNamespace);
System\Data\SQLTypes\SQLSingle.cs (1)
418string? isNull = reader.GetAttribute("nil", XmlSchema.InstanceNamespace);
System\Data\SQLTypes\SQLString.cs (1)
924string? isNull = reader.GetAttribute("nil", XmlSchema.InstanceNamespace);
System\Data\SQLTypes\SqlXml.cs (1)
210string? isNull = r.GetAttribute("nil", XmlSchema.InstanceNamespace);
System\Data\XmlDataLoader.cs (3)
1147xsiNilString = _dataReader.GetAttribute(Keywords.XSI_NIL, Keywords.XSINS); 1161xsiTypeString = _dataReader.GetAttribute(Keywords.TYPE, Keywords.XSINS); 1162typeName = _dataReader.GetAttribute(Keywords.MSD_INSTANCETYPE, Keywords.MSDNS);
System\Data\XMLDiffLoader.cs (15)
93diffId = ssync.GetAttribute(Keywords.DIFFID, Keywords.DFFNS)!; 94bool hasErrors = ssync.GetAttribute(Keywords.HASERRORS, Keywords.DFFNS) == Keywords.TRUE; 145diffId = ssync.GetAttribute(Keywords.DIFFID, Keywords.DFFNS)!; 146bool hasErrors = ssync.GetAttribute(Keywords.HASERRORS, Keywords.DFFNS) == Keywords.TRUE; 190string diffId = ssync.GetAttribute(Keywords.DIFFID, Keywords.DFFNS)!; 192string? rowError = ssync.GetAttribute(Keywords.MSD_ERROR, Keywords.DFFNS); 204string colError = ssync.GetAttribute(Keywords.MSD_ERROR, Keywords.DFFNS)!; 231string diffId = ssync.GetAttribute(Keywords.DIFFID, Keywords.DFFNS)!; 246string? rowError = ssync.GetAttribute(Keywords.MSD_ERROR, Keywords.DFFNS); 259string? colError = ssync.GetAttribute(Keywords.MSD_ERROR, Keywords.DFFNS); 310value = row.GetAttribute(Keywords.ROWORDER, Keywords.MSDNS); 330value = row.GetAttribute("hidden" + col.EncodedColumnName, Keywords.MSDNS); 334value = row.GetAttribute(col.EncodedColumnName, col.Namespace); 387bool isPolymorphism = (column.DataType == typeof(object) || (row.GetAttribute(Keywords.MSD_INSTANCETYPE, Keywords.MSDNS) != null) || 388(row.GetAttribute(Keywords.TYPE, Keywords.XSINS) != null));
System\Data\xmlsaver.cs (1)
3414return _xmlreader.GetAttribute(localName, namespaceURI);
System.IO.Packaging (3)
System\IO\Packaging\PartBasedPackageProperties.cs (1)
605string? typeValue = reader.GetAttribute(PackageXmlStringTable.GetXmlString(PackageXmlEnum.Type),
System\IO\Packaging\XmlCompatibilityReader.cs (1)
416result = Reader.GetAttribute(localName, namespaceURI);
System\IO\Packaging\XmlWrappingReader.cs (1)
57return _reader.GetAttribute(name, namespaceURI);
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
49return isEndOfEmptyElement ? null : reader.GetAttribute(name, namespaceUri);
System\Runtime\Serialization\XmlSerializableReader.cs (1)
100public override string? GetAttribute(string name, string? namespaceURI) { return InnerReader.GetAttribute(name, namespaceURI); }
System\Xml\XmlDictionaryReader.cs (2)
337return GetAttribute(XmlDictionaryString.GetString(localName), XmlDictionaryString.GetString(namespaceUri)); 1383return _reader.GetAttribute(name, namespaceUri);
System.Private.Xml (23)
System\Xml\Core\XmlAsyncCheckReader.cs (1)
430return _coreReader.GetAttribute(name, namespaceURI);
System\Xml\Core\XmlReader.cs (1)
570public virtual string? this[string name, string? namespaceURI] => GetAttribute(name, namespaceURI);
System\Xml\Core\XmlSubtreeReader.cs (1)
274string? attr = reader.GetAttribute(name, namespaceURI);
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
466return _coreReader.GetAttribute(localName, namespaceURI);
System\Xml\Core\XmlWrappingReader.cs (1)
65return reader.GetAttribute(name, namespaceURI);
System\Xml\Core\XsdValidatingReader.cs (1)
1139string? attValue = _coreReader.GetAttribute(name, namespaceURI);
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (3)
344string? root = Reader.GetAttribute("root", Soap.Encoding); 416if (Reader.GetAttribute("id", null) != null) 505if (Reader.GetAttribute("root", Soap.Encoding) == "0")
System\Xml\Serialization\XmlSerializationReader.cs (14)
253string? type = _r.GetAttribute(_typeID, _instanceNsID); 256type = _r.GetAttribute(_typeID, _instanceNs2000ID); 259type = _r.GetAttribute(_typeID, _instanceNs1999ID); 832_r.GetAttribute(_nilID, _instanceNsID) ?? 833_r.GetAttribute(_nullID, _instanceNsID) ?? 834_r.GetAttribute(_nullID, _instanceNs2000ID) ?? 835_r.GetAttribute(_nullID, _instanceNs1999ID); 946string? arrayType = _r.GetAttribute(_arrayTypeID, _soapNsID); 1416string? href = _soap12 ? _r.GetAttribute("ref", Soap12.Encoding) : _r.GetAttribute("href"); 1557string? itemType = _r.GetAttribute(_itemTypeID, _soap12NsID); 1558string? arraySize = _r.GetAttribute(_arraySizeID, _soap12NsID); 1570string? arrayType = _r.GetAttribute(_arrayTypeID, _soapNsID); 1804string? id = _soap12 ? _r.GetAttribute("id", Soap12.Encoding) : _r.GetAttribute("id", null);
System.ServiceModel.Primitives (7)
Internals\System\Xml\XmlMtomReader.cs (1)
587return _xmlReader.GetAttribute(name, ns);
Internals\System\Xml\XmlMtomWriter.cs (2)
649_contentType = contentTypeReader.GetAttribute(MtomGlobals.MimeContentTypeLocalName, MtomGlobals.MimeContentTypeNamespace200406); 652_contentType = contentTypeReader.GetAttribute(MtomGlobals.MimeContentTypeLocalName, MtomGlobals.MimeContentTypeNamespace200505);
System\ServiceModel\Channels\Message.cs (1)
1911return reader.GetAttribute(localName, ns);
System\ServiceModel\Channels\MessageHeaders.cs (2)
1168string value = reader.GetAttribute(localName, ns); 1195string value = reader.GetAttribute(localName, ns);
System\ServiceModel\Diagnostics\ActivityIdHeader.cs (1)
84correlationId = Fx.CreateGuid(reader.GetAttribute("CorrelationId", null));
System.ServiceModel.Syndication (6)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (2)
639string type = reader.GetAttribute(Atom10Constants.TypeTag, string.Empty); 650string src = reader.GetAttribute(Atom10Constants.SourceTag, string.Empty);
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (1)
121string link = reader.GetAttribute(App10Constants.Href, string.Empty);
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (3)
380string permalinkString = reader.GetAttribute(Rss20Constants.IsPermaLinkTag, Rss20Constants.Rss20Namespace); 608string version = reader.GetAttribute(Rss20Constants.VersionTag, Rss20Constants.Rss20Namespace); 615string tmp = reader.GetAttribute("base", Atom10FeedFormatter.XmlNs);
System.Xaml (2)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (1)
435result = Reader.GetAttribute(localName, namespaceURI);
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
72return _reader.GetAttribute( name, namespaceURI );