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)
129
if (
_attributeCount
< 1)
132
if (
_attributeCount
> 3)
141
if (
_attributeCount
> 1)
145
if (
_attributeCount
== 3 && !CheckStandalone(2))
148
else if (!CheckStandalone(1) ||
_attributeCount
> 2)
301
int attributeIndex =
_attributeCount
;
457
return
_attributeCount
;
504
if (index >=
_attributeCount
)
505
throw new ArgumentOutOfRangeException(nameof(index), SR.Format(SR.OffsetExceedsBufferSize,
_attributeCount
));
539
int attributeCount =
_attributeCount
;
566
int attributeCount =
_attributeCount
;
593
int attributeCount =
_attributeCount
;
701
if (
_attributeCount
> 0)
703
ProcessAttributes(_attributeNodes!,
_attributeCount
);
860
if (!_node.CanGetAttribute ||
_attributeCount
== 0)
872
if (attributeIndex >=
_attributeCount
)
1956
for (int i = 0; i <
_attributeCount
; i++)