text: public IIndexableField[] GetFields(string name){var result = new List<IIndexableField>();foreach (IIndexableField field in fields){if (field.Name.Equals(name, StringComparison.Ordinal)){result.Add(field);}}return result.ToArray();}