Engines/FlatRedBallXNA/FlatRedBall/IO/Csv/CsvReader.cs
/// <summary>
/// Validates the state of the data reader.
/// </summary>
/// <param name="validations">The validations to accomplish.</param>
/// <exception cref="InvalidOperationException">
///	No current record.
/// </exception>
/// <exception cref="InvalidOperationException">
///	This operation is invalid when the reader is closed.
/// </exception>
Validates the state of the data reader.
Validates the state of the data reader .
private void ValidateDataReader(DataReaderValidations validations)
		{
			if ((validations & DataReaderValidations.IsInitialized) != 0 && !_initialized)
				throw new InvalidOperationException("No current record");
			if ((validations & DataReaderValidations.IsNotClosed) != 0 && _isDisposed)
				throw new InvalidOperationException("Reader closed");
		}
private void ValidateDataReader ( DataReaderValidations validations ) { if ( ( validations & DataReaderValidations . IsInitialized ) != 0 && ! _initialized ) throw new InvalidOperationException ( " " ) ; if ( ( validations & DataReaderValidations . IsNotClosed ) != 0 && _isDisposed ) throw new InvalidOperationException ( " " ) ; }
Validates the state of the data reader.
Validates the state of the data reader .
//ExceptionMessage.NoCurrentRecord); //ExceptionMessage.ReaderClosed);
No current record.
No current record .
This operation is invalid when the reader is closed.
This operation is invalid when the reader is closed .
validations
DataReaderValidations
The validations to accomplish.
The validations to accomplish .