D
Darren
Here is a sample of what I'm trying to build using a dynamic module
public class Thing
{
public Thing() {}
public Thing childThing { get; set; }
}
PropertyBuilder propertyBuilder = typeBuilder.DefineProperty( propertyName, PropertyAttributes.HasDefault, propertyType, null);
How do I get a reference to type Thing before typeBuilder.CreateType() is called?
public class Thing
{
public Thing() {}
public Thing childThing { get; set; }
}
PropertyBuilder propertyBuilder = typeBuilder.DefineProperty( propertyName, PropertyAttributes.HasDefault, propertyType, null);
How do I get a reference to type Thing before typeBuilder.CreateType() is called?