Code: Select all
public class Reflexive<T> : List<T> where T : Chunk
{
}
Code: Select all
foreach (FieldInfo f in Tag.Fields)
{
//Blah Blah Blah
else if (f.FieldType.IsGenericType && f.FieldType.GetGenericTypeDefinition() == typeof(Reflexive<>))
{
//-----------More stuff not important
//Right here, I get an array with 0 Entrys
FieldInfo[] FFields = f.GetType().GetFields();
}
}
Can any one help me with this?