public final IndexableField getField(String name) {for (IndexableField field : fields) {if (field.name().equals(name)) {return field;}}return null;}

public IIndexableField GetField(string name){foreach (IIndexableField field in fields){if (field.Name.Equals(name, StringComparison.Ordinal)){return field;}}return null;}
