// TODO: Substitutions, generics, modopts, ... public override FieldDesc GetField(string name) { FieldDesc fieldDef = _typeDef.GetField(name); if (fieldDef == null) { return(null); } return(_typeDef.Context.GetFieldForInstantiatedType(fieldDef, this)); }