public Field(FieldInfo fi) { name = fi.Name; type = AtributeBuilder.GetTypeModifiers(fi.GetType()); if (fi.FieldType.IsGenericType) { type += fi.FieldType.Name + "<" + GetGenericType(fi.FieldType.GenericTypeArguments) + ">"; } else { type += fi.FieldType.Name; } }
public Method(MethodInfo mi) { signature = AtributeBuilder.GetTypeModifiers(mi.GetType()) + mi.ToString(); }