Suppose I have the following method:
public Thing MyMethod
{
Cat cat = new Cat();
Dog dog = new Dog();
return new Thing();
}How would I get the list of classes that this method body uses? Ie... Cat, Dog, and Thing. Koush
-- -- mono-cecil
Suppose I have the following method:
public Thing MyMethod
{
Cat cat = new Cat();
Dog dog = new Dog();
return new Thing();
}How would I get the list of classes that this method body uses? Ie... Cat, Dog, and Thing. Koush
-- -- mono-cecil