예제 #1
0
 static List <FieldDef> GetFields(TypeDef type, string name)
 {
     if (type == null)
     {
         return(null);
     }
     return(new List <FieldDef>(type.FindFields(name)));
 }
예제 #2
0
		static List<FieldDef> GetFields(TypeDef type, string name) {
			if (type == null)
				return null;
			return new List<FieldDef>(type.FindFields(name));
		}