Removed violation of CA2201 - previously throwing IndexOutOfRangeException - now throwing ArgumentOutOfRangeException.