3 writes to _attributeCount
System.Private.DataContractSerialization (3)
System\Xml\XmlBaseReader.cs (3)
118_attributeCount = 0; 284_attributeCount = 0; 322_attributeCount++;
17 references to _attributeCount
System.Private.DataContractSerialization (17)
System\Xml\XmlBaseReader.cs (17)
129if (_attributeCount < 1) 132if (_attributeCount > 3) 141if (_attributeCount > 1) 145if (_attributeCount == 3 && !CheckStandalone(2)) 148else if (!CheckStandalone(1) || _attributeCount > 2) 301int attributeIndex = _attributeCount; 457return _attributeCount; 504if (index >= _attributeCount) 505throw new ArgumentOutOfRangeException(nameof(index), SR.Format(SR.OffsetExceedsBufferSize, _attributeCount)); 539int attributeCount = _attributeCount; 566int attributeCount = _attributeCount; 593int attributeCount = _attributeCount; 701if (_attributeCount > 0) 703ProcessAttributes(_attributeNodes!, _attributeCount); 860if (!_node.CanGetAttribute || _attributeCount == 0) 872if (attributeIndex >= _attributeCount) 1956for (int i = 0; i < _attributeCount; i++)