internal void AddField(RecordFieldSchema field)
        {
            if (field == null)
            {
                throw new ArgumentNullException("field");
            }

            fields.Add(field);
            fieldsByName.Add(field.Name, field);
        }
 internal bool TryGetField(string fieldName, out RecordFieldSchema result)
 {
     return(fieldsByName.TryGetValue(fieldName, out result));
 }