public override double GetDouble(int ordinal)
{
ValidateState(nameof(GetDouble));
ValidateReader();
try
{
return (double)_currentDataRow[ordinal];
}
catch (IndexOutOfRangeException e)
{ // thrown by DataColumnCollection
ExceptionBuilder.TraceExceptionWithoutRethrow(e);
throw ExceptionBuilder.ArgumentOutOfRange(nameof(ordinal));
}
}