what would this be called?
Say you've got two types. AType and BType. Inside of a method call, an instance of AType a creates an instance of BType b. So like this:
class AType
{
void DoSomeWork()
{
BType b = new BType();
}
}
Is there some way of reflecting (or remembering, i guess you could say) backwards in the stack to figure out what Type was the creating Type for your new instance?