public void setReaderValue(Reader value) {if (!(fieldsData instanceof Reader)) {throw new IllegalArgumentException("cannot change value type from " + fieldsData.getClass().getSimpleName() + " to Reader");}fieldsData = value;}
public virtual void SetReaderValue(TextReader value){if (!(FieldsData is TextReader)){throw new ArgumentException("cannot change value type from " + FieldsData.GetType().Name + " to TextReader");}FieldsData = value;}