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