public static IList<FieldInfo> GetFieldsAll(Type type)
{
IList<FieldInfo> fields = null;
if (s_fieldallmap.TryGetValue(type, out fields))
{
return fields;
}
fields = new List<FieldInfo>();
BuildFieldList(type, fields, FieldScope.All);
s_fieldallmap.Add(type, fields);
return fields;
}