static List <FieldDef> GetFields(TypeDef type, string name) { if (type == null) { return(null); } return(new List <FieldDef>(type.FindFields(name))); }
static List<FieldDef> GetFields(TypeDef type, string name) { if (type == null) return null; return new List<FieldDef>(type.FindFields(name)); }