22 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)
74public override string GetAttribute( string name, string namespaceURI )
System.Data.Common (1)
System\Data\xmlsaver.cs (1)
3430public 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.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
74public override string GetAttribute( string name, string namespaceURI )
85 references to GetAttribute
Microsoft.Build.Engine.UnitTests (1)
Construction\XmlReaderWithoutLocation_Tests.cs (1)
56return _wrappedReader.GetAttribute(name, namespaceURI);
Microsoft.Maui.Controls.Build.Tasks (2)
XamlTask.cs (2)
86 classname = reader.GetAttribute("Class", XamlParser.X2009Uri) ?? 87 reader.GetAttribute("Class", XamlParser.X2006Uri);
PresentationBuildTasks (3)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (1)
3969if( XmlReader.GetAttribute(DefinitionUid, DefinitionNamespaceURI) != null)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (1)
440result = Reader.GetAttribute(localName, namespaceURI);
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
76return _reader.GetAttribute( name, namespaceURI );
System.Data.Common (41)
System\Data\Common\ObjectStorage.cs (2)
370string? typeName = xmlReader.GetAttribute(Keywords.MSD_INSTANCETYPE, Keywords.MSDNS); 373string? xsdTypeName = xmlReader.GetAttribute(Keywords.TYPE, Keywords.XSINS); // this xsd type: Base type polymorphism
System\Data\Common\SqlUDTStorage.cs (2)
177string? typeName = xmlReader.GetAttribute(Keywords.MSD_INSTANCETYPE, Keywords.MSDNS); 180string? xsdTypeName = xmlReader.GetAttribute(Keywords.MSD_INSTANCETYPE, Keywords.XSINS); // this xsd type
System\Data\DataSet.cs (2)
206string? attribValue = reader.GetAttribute(Keywords.MSD_SCHEMASERIALIZATIONMODE, Keywords.MSDNS); 1826string? 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)
1155xsiNilString = _dataReader.GetAttribute(Keywords.XSI_NIL, Keywords.XSINS); 1169xsiTypeString = _dataReader.GetAttribute(Keywords.TYPE, Keywords.XSINS); 1170typeName = _dataReader.GetAttribute(Keywords.MSD_INSTANCETYPE, Keywords.MSDNS);
System\Data\XMLDiffLoader.cs (15)
96diffId = ssync.GetAttribute(Keywords.DIFFID, Keywords.DFFNS)!; 97bool hasErrors = ssync.GetAttribute(Keywords.HASERRORS, Keywords.DFFNS) == Keywords.TRUE; 149diffId = ssync.GetAttribute(Keywords.DIFFID, Keywords.DFFNS)!; 150bool hasErrors = ssync.GetAttribute(Keywords.HASERRORS, Keywords.DFFNS) == Keywords.TRUE; 194string diffId = ssync.GetAttribute(Keywords.DIFFID, Keywords.DFFNS)!; 196string? rowError = ssync.GetAttribute(Keywords.MSD_ERROR, Keywords.DFFNS); 208string colError = ssync.GetAttribute(Keywords.MSD_ERROR, Keywords.DFFNS)!; 235string diffId = ssync.GetAttribute(Keywords.DIFFID, Keywords.DFFNS)!; 250string? rowError = ssync.GetAttribute(Keywords.MSD_ERROR, Keywords.DFFNS); 263string? colError = ssync.GetAttribute(Keywords.MSD_ERROR, Keywords.DFFNS); 315value = row.GetAttribute(Keywords.ROWORDER, Keywords.MSDNS); 335value = row.GetAttribute("hidden" + col.EncodedColumnName, Keywords.MSDNS); 339value = row.GetAttribute(col.EncodedColumnName, col.Namespace); 392bool isPolymorphism = (column.DataType == typeof(object) || (row.GetAttribute(Keywords.MSD_INSTANCETYPE, Keywords.MSDNS) != null) || 393(row.GetAttribute(Keywords.TYPE, Keywords.XSINS) != null));
System\Data\xmlsaver.cs (1)
3432return _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)
327string? root = Reader.GetAttribute("root", Soap.Encoding); 397if (Reader.GetAttribute("id", null) != null) 484if (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); 1418string? href = _soap12 ? _r.GetAttribute("ref", Soap12.Encoding) : _r.GetAttribute("href"); 1560string? itemType = _r.GetAttribute(_itemTypeID, _soap12NsID); 1561string? arraySize = _r.GetAttribute(_arraySizeID, _soap12NsID); 1573string? arrayType = _r.GetAttribute(_arrayTypeID, _soapNsID); 1814string? id = _soap12 ? _r.GetAttribute("id", Soap12.Encoding) : _r.GetAttribute("id", 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)
440result = Reader.GetAttribute(localName, namespaceURI);
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
76return _reader.GetAttribute( name, namespaceURI );