public override void MoveToAttribute( int i ) {
if ( !InAttributeActiveState ) {
throw new ArgumentOutOfRangeException("i");
}
int n = reader.AttributeCount;
if ( i < n ) {
reader.MoveToAttribute( i );
curNsAttr = -1;
useCurNode = false;
}
else if ( i - n < nsAttrCount ) {
MoveToNsAttribute( i - n );
}
else {
throw new ArgumentOutOfRangeException( "i" );
}
}