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