22 overrides of GetAttribute
Microsoft.Build.Engine.UnitTests (1)
Construction\XmlReaderWithoutLocation_Tests.cs (1)
59public override string GetAttribute(string name)
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
67public override string GetAttribute( string name ) {
System.Data.Common (1)
System\Data\xmlsaver.cs (1)
3425public override string? GetAttribute(string name)
System.IO.Packaging (1)
System\IO\Packaging\XmlWrappingReader.cs (1)
50public override string? GetAttribute(string name)
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
399public override string? GetAttribute(string name)
System\Runtime\Serialization\XmlSerializableReader.cs (1)
99public override string? GetAttribute(string name) { return InnerReader.GetAttribute(name); }
System\Xml\XmlBaseReader.cs (1)
616public override string? GetAttribute(string name)
System\Xml\XmlDictionaryReader.cs (1)
1376public override string? GetAttribute(string name)
System.Private.Xml (12)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
666public override string? GetAttribute(string name)
System\Xml\Core\XmlAsyncCheckReader.cs (1)
421public override string? GetAttribute(string name)
System\Xml\Core\XmlTextReader.cs (1)
186public override string? GetAttribute(string name)
System\Xml\Core\XmlTextReaderImpl.cs (1)
1032public override string? GetAttribute(string name)
System\Xml\Core\XmlValidatingReader.cs (1)
124public override string? GetAttribute(string name)
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
458public override string? GetAttribute(string name)
System\Xml\Core\XmlWrappingReader.cs (1)
58public override string? GetAttribute(string name)
System\Xml\Core\XsdCachingReader.cs (1)
246public override string? GetAttribute(string name)
System\Xml\Core\XsdValidatingReader.cs (1)
1118public override string? GetAttribute(string name)
System\Xml\Dom\XmlNodeReader.cs (1)
1336public override string? GetAttribute(string name)
System\Xml\XPath\XPathNavigatorReader.cs (1)
414public override string? GetAttribute(string name)
System\Xml\Xsl\XsltOld\ReaderOutput.cs (1)
185public override string? GetAttribute(string name)
System.Private.Xml.Linq (1)
System\Xml\Linq\XNodeReader.cs (1)
464public override string? GetAttribute(string name)
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
67public override string GetAttribute( string name ) {
88 references to GetAttribute
Microsoft.Build (1)
Xml\XmlReaderExtension.cs (1)
108var encodingAttributeString = reader.GetAttribute("encoding");
Microsoft.Build.Engine.UnitTests (1)
Construction\XmlReaderWithoutLocation_Tests.cs (1)
61return _wrappedReader.GetAttribute(name);
Microsoft.Build.Tasks.Core (7)
AppConfig\BindingRedirect.cs (2)
37string oldVersion = reader.GetAttribute("oldVersion"); 64string newVersionAttribute = reader.GetAttribute("newVersion");
GenerateResource.cs (5)
1780string typeName = reader.GetAttribute("type"); 1781name = reader.GetAttribute("name"); 1868string mimeType = reader.GetAttribute("mimetype"); 1888string alias = reader.GetAttribute("alias"); 1889string fullName = reader.GetAttribute("name");
Microsoft.CodeAnalysis (2)
Desktop\AssemblyPortabilityPolicy.cs (2)
87string pkt = xml.GetAttribute("PKT"); 88string enableAttribute = xml.GetAttribute("enable");
Microsoft.CodeAnalysis.Features (1)
PdbSourceDocument\ImplementationAssemblyLookupService.cs (1)
164sdkName = xr.GetAttribute("FrameworkName");
Microsoft.CodeAnalysis.Workspaces (4)
Shared\Utilities\DocumentationComment.cs (4)
255var name = reader.GetAttribute(XmlNames.NameAttributeName); 266var name = reader.GetAttribute(XmlNames.NameAttributeName); 277var type = reader.GetAttribute(XmlNames.CrefAttributeName); 293var cref = reader.GetAttribute(XmlNames.CrefAttributeName);
Microsoft.Maui.Graphics (2)
Text\XmlAttributedTextReader.cs (2)
140 var value = _reader.GetAttribute(attribute); 160 var value = _reader.GetAttribute(attribute);
PresentationBuildTasks (3)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (2)
396result = Reader.GetAttribute(name); 1201string requiresValue = Reader.GetAttribute(Requires);
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
68return _reader.GetAttribute( name );
PresentationCore (1)
MS\Internal\FontFace\CompositeFontParser.cs (1)
333if (Enum.TryParse(_reader.GetAttribute("OS"), out fontFamilyOsVersion)
PresentationFramework (7)
MS\Internal\IO\Packaging\XamlFilter.cs (3)
723string sourceUri = _xamlReader.GetAttribute(_pageContentSourceAttribute); 754string textContent = _xamlReader.GetAttribute(_unicodeStringAttribute); 906string value = _xamlReader.GetAttribute(propertyName);
System\Windows\Documents\FixedFindEngine.cs (4)
393unicodeStr = xmlReader.GetAttribute("UnicodeString"); 397string sidewaysString = xmlReader.GetAttribute("IsSideways"); 405string bidiLevelAsString = xmlReader.GetAttribute("BidiLevel"); 418string caretStops = xmlReader.GetAttribute("CaretStops");
System.Data.Common (4)
System\Data\DataSet.cs (3)
3439string? nilAttrib = reader.GetAttribute(xsinill); 3451string? useDataSetSchemaOnly = reader.GetAttribute(UseDataSetSchemaOnlyString); 3467string? _udtIsWrappedString = reader.GetAttribute(udtIsWrappedString);
System\Data\xmlsaver.cs (1)
3427return _xmlreader.GetAttribute(name);
System.IO.Packaging (8)
System\IO\Packaging\PackagingUtilities.cs (1)
36string? encoding = reader.GetAttribute(EncodingAttribute);
System\IO\Packaging\XmlCompatibilityReader.cs (2)
379result = Reader.GetAttribute(name); 1144string? requiresValue = Reader.GetAttribute(Requires);
System\IO\Packaging\XmlWrappingReader.cs (1)
52return _reader.GetAttribute(name);
System\IO\Packaging\ZipPackage.cs (4)
1170string? extensionAttributeValue = reader.GetAttribute(ExtensionAttributeName); 1173string? contentTypeAttributeValue = reader.GetAttribute(ContentTypeAttributeName); 1196string? partNameAttributeValue = reader.GetAttribute(PartNameAttributeName); 1199string? contentTypeAttributeValue = reader.GetAttribute(ContentTypeAttributeName);
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
44return isEndOfEmptyElement ? null : reader.GetAttribute(name);
System\Runtime\Serialization\XmlSerializableReader.cs (1)
99public override string? GetAttribute(string name) { return InnerReader.GetAttribute(name); }
System\Xml\XmlDictionaryReader.cs (1)
1378return _reader.GetAttribute(name);
System\Xml\XmlDictionaryWriter.cs (2)
420WriteDocType(reader.Name, reader.GetAttribute("PUBLIC"), reader.GetAttribute("SYSTEM"), reader.Value);
System.Private.Xml (23)
System\Xml\Core\XmlAsyncCheckReader.cs (1)
424return _coreReader.GetAttribute(name);
System\Xml\Core\XmlCharCheckingReader.cs (2)
307str = base.reader.GetAttribute("SYSTEM"); 313str = base.reader.GetAttribute("PUBLIC");
System\Xml\Core\XmlCharCheckingReaderAsync.cs (2)
168string? str = base.reader.GetAttribute("SYSTEM"); 174str = base.reader.GetAttribute("PUBLIC");
System\Xml\Core\XmlReader.cs (5)
567public virtual string? this[string name] => GetAttribute(name); 1171xtw.WriteDocType(Name, GetAttribute("PUBLIC"), GetAttribute("SYSTEM"), Value); 1803result += $", SYSTEM=\"{_reader.GetAttribute("SYSTEM")}\""; 1804result += $", PUBLIC=\"{_reader.GetAttribute("PUBLIC")}\"";
System\Xml\Core\XmlReaderAsync.cs (2)
245xtw.WriteDocType(Name, GetAttribute("PUBLIC"), GetAttribute("SYSTEM"), Value);
System\Xml\Core\XmlSubtreeReader.cs (1)
251string? attr = reader.GetAttribute(name);
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
460return _coreReader.GetAttribute(name);
System\Xml\Core\XmlWrappingReader.cs (1)
60return reader.GetAttribute(name);
System\Xml\Core\XmlWriter.cs (2)
408WriteDocType(reader.Name, reader.GetAttribute("PUBLIC"), reader.GetAttribute("SYSTEM"), reader.Value);
System\Xml\Core\XmlWriterAsync.cs (4)
342await WriteDocTypeAsync(reader.Name, reader.GetAttribute("PUBLIC"), reader.GetAttribute("SYSTEM"), reader.Value).ConfigureAwait(false); 405await WriteDocTypeAsync(reader.Name, reader.GetAttribute("PUBLIC"), reader.GetAttribute("SYSTEM"), reader.Value).ConfigureAwait(false);
System\Xml\Core\XsdValidatingReader.cs (1)
1120string? attValue = _coreReader.GetAttribute(name);
System\Xml\Serialization\XmlSerializationReader.cs (1)
1418string? href = _soap12 ? _r.GetAttribute("ref", Soap12.Encoding) : _r.GetAttribute("href");
System.Private.Xml.Linq (15)
System\Xml\Linq\XContainer.cs (8)
941_currentContainer.AddNodeSkipNotify(new XDocumentType(r.LocalName, r.GetAttribute("PUBLIC"), r.GetAttribute("SYSTEM"), r.Value)); 997_currentContainer.AddNodeSkipNotify(new XDocumentType(r.LocalName, r.GetAttribute("PUBLIC"), r.GetAttribute("SYSTEM"), await r.GetValueAsync().ConfigureAwait(false))); 1095newNode = new XDocumentType(r.LocalName, r.GetAttribute("PUBLIC"), r.GetAttribute("SYSTEM"), r.Value); 1211newNode = new XDocumentType(r.LocalName, r.GetAttribute("PUBLIC"), r.GetAttribute("SYSTEM"), await r.GetValueAsync().ConfigureAwait(false));
System\Xml\Linq\XDeclaration.cs (3)
62_version = r.GetAttribute("version"); 63_encoding = r.GetAttribute("encoding"); 64_standalone = r.GetAttribute("standalone");
System\Xml\Linq\XDocumentType.cs (2)
49_publicId = r.GetAttribute("PUBLIC"); 50_systemId = r.GetAttribute("SYSTEM");
System\Xml\Linq\XNode.cs (2)
494var publicId = reader.GetAttribute("PUBLIC"); 495var systemId = reader.GetAttribute("SYSTEM");
System.ServiceModel.Syndication (1)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (1)
207string type = reader.GetAttribute(Atom10Constants.TypeTag);
System.Xaml (3)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (2)
396result = Reader.GetAttribute(name); 1201string requiresValue = Reader.GetAttribute(Requires);
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
68return _reader.GetAttribute( name );