22 overrides of AttributeCount
Microsoft.Build.Engine.UnitTests (1)
Construction\XmlReaderWithoutLocation_Tests.cs (1)
24public override int AttributeCount
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
59public override int AttributeCount { get { return _reader.AttributeCount; } }
System.Data.Common (1)
System\Data\xmlsaver.cs (1)
3423public override int AttributeCount { get { return _xmlreader.AttributeCount; } }
System.IO.Packaging (1)
System\IO\Packaging\XmlWrappingReader.cs (1)
40public override int AttributeCount { get { return _reader.AttributeCount; } }
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
119public override int AttributeCount { get { return IsXmlDataNode ? _xmlNodeReader.AttributeCount : _attributeCount; } }
System\Runtime\Serialization\XmlSerializableReader.cs (1)
87public override int AttributeCount { get { return InnerReader.AttributeCount; } }
System\Xml\XmlBaseReader.cs (1)
452public override int AttributeCount
System\Xml\XmlDictionaryReader.cs (1)
1323public override int AttributeCount
System.Private.Xml (12)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
621public override int AttributeCount
System\Xml\Core\XmlAsyncCheckReader.cs (1)
412public override int AttributeCount
System\Xml\Core\XmlTextReader.cs (1)
184public override int AttributeCount { get { return _impl.AttributeCount; } }
System\Xml\Core\XmlTextReaderImpl.cs (1)
1023public override int AttributeCount
System\Xml\Core\XmlValidatingReader.cs (1)
122public override int AttributeCount { get { return _impl.AttributeCount; } }
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
449public override int AttributeCount
System\Xml\Core\XmlWrappingReader.cs (1)
48public override int AttributeCount { get { return reader.AttributeCount; } }
System\Xml\Core\XsdCachingReader.cs (1)
237public override int AttributeCount
System\Xml\Core\XsdValidatingReader.cs (1)
1109public override int AttributeCount
System\Xml\Dom\XmlNodeReader.cs (1)
1325public override int AttributeCount
System\Xml\XPath\XPathNavigatorReader.cs (1)
381public override int AttributeCount
System\Xml\Xsl\XsltOld\ReaderOutput.cs (1)
180public override int AttributeCount
System.Private.Xml.Linq (1)
System\Xml\Linq\XNodeReader.cs (1)
36public override int AttributeCount
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
59public override int AttributeCount { get { return _reader.AttributeCount; } }
48 references to AttributeCount
Microsoft.Build.Engine.UnitTests (1)
Construction\XmlReaderWithoutLocation_Tests.cs (1)
26get { return _wrappedReader.AttributeCount; }
Microsoft.Extensions.Configuration.Xml (2)
XmlStreamConfigurationProvider.cs (2)
201if (reader.AttributeCount > 0) 208for (int i = 0; i < reader.AttributeCount; i++)
Microsoft.Maui.Controls.Xaml (1)
XamlParser.cs (1)
209 for (var i = 0; i < reader.AttributeCount; i++)
PresentationBuildTasks (5)
MS\Internal\MarkupCompiler\ParserExtension.cs (1)
414int count = xmlReader.AttributeCount;
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (2)
3964int attributeCount = XmlReader.AttributeCount; 4265if (XmlReader.AttributeCount > 0)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (1)
705return Reader.AttributeCount - _ignoredAttributeCount;
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
59public override int AttributeCount { get { return _reader.AttributeCount; } }
System.Configuration.ConfigurationManager (2)
System\Configuration\ConfigurationElement.cs (1)
1416if (reader.AttributeCount > 0)
System\Configuration\ConfigurationElementCollection.cs (1)
1119if (reader.AttributeCount > 0)
System.Data.Common (11)
System\Data\DataSet.cs (3)
1722int attrCount = reader.AttributeCount; 2154int attrCount = reader.AttributeCount; 2700int attrCount = reader.AttributeCount;
System\Data\DataTable.cs (4)
5713if (reader.AttributeCount == 0 || (reader.LocalName == Keywords.DIFFGRAM && reader.NamespaceURI == Keywords.DFFNS)) 5717if (reader.AttributeCount == 1) 5850int attrCount = reader.AttributeCount; 6119int attrCount = reader.AttributeCount;
System\Data\XmlDataLoader.cs (3)
900for (int i = _dataReader.AttributeCount - 1; i >= 0; --i) 1154if (_dataReader.AttributeCount > 0) // If have attributes 1167if (_dataReader.AttributeCount > 0)
System\Data\xmlsaver.cs (1)
3423public override int AttributeCount { get { return _xmlreader.AttributeCount; } }
System.IO.Packaging (2)
System\IO\Packaging\XmlCompatibilityReader.cs (1)
678return Reader.AttributeCount - _ignoredAttributeCount;
System\IO\Packaging\XmlWrappingReader.cs (1)
40public override int AttributeCount { get { return _reader.AttributeCount; } }
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
39get { return isEndOfEmptyElement ? 0 : reader.AttributeCount; }
System\Runtime\Serialization\XmlSerializableReader.cs (1)
87public override int AttributeCount { get { return InnerReader.AttributeCount; } }
System\Xml\XmlDictionaryReader.cs (2)
436if (this.AttributeCount != 0) 1327return _reader.AttributeCount;
System.Private.Xml (17)
System\Xml\Core\XmlAsyncCheckReader.cs (1)
417return _coreReader.AttributeCount;
System\Xml\Core\XmlReader.cs (3)
582ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(i, AttributeCount); 1278public virtual bool HasAttributes => AttributeCount > 0; 1505} while (AttributeCount != 0 ? ReadAttributeValue() : Read());
System\Xml\Core\XmlReaderAsync.cs (1)
361} while (AttributeCount != 0 ? ReadAttributeValue() : await ReadAsync().ConfigureAwait(false));
System\Xml\Core\XmlSubtreeReader.cs (3)
241return InAttributeActiveState ? reader.AttributeCount + _nsAttrCount : 0; 297int n = reader.AttributeCount; 366int n = reader.AttributeCount;
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
453return _coreReader.AttributeCount;
System\Xml\Core\XmlWrappingReader.cs (1)
48public override int AttributeCount { get { return reader.AttributeCount; } }
System\Xml\Core\XsdCachingReader.cs (1)
694_attributeCount = _coreReader.AttributeCount;
System\Xml\Core\XsdValidatingReader.cs (4)
2048_attributeCount = _coreReaderAttributeCount = _coreReader.AttributeCount; 2155_attributeCount = _coreReaderAttributeCount = _coreReader.AttributeCount; 2292_currentAttrIndex = _coreReader.AttributeCount + i; 2335_attributeCount = _coreReaderAttributeCount = _coreReader.AttributeCount;
System\Xml\Core\XsdValidatingReaderAsync.cs (2)
547_attributeCount = _coreReaderAttributeCount = _coreReader.AttributeCount; 658_attributeCount = _coreReaderAttributeCount = _coreReader.AttributeCount;
System.ServiceModel.Syndication (1)
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (1)
613if (reader.AttributeCount > 1)
System.Xaml (2)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (1)
705return Reader.AttributeCount - _ignoredAttributeCount;
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
59public override int AttributeCount { get { return _reader.AttributeCount; } }