On Oct 12, 2007, at 12:53 AM, Jesse van den Kieboom wrote:
> > Hi, > > I'm a bit new to cecil and the CIL and since I couldn't find any > documentation on cecil I thought I'd try to post a question here. I > would like to be able to resolve parameters of an method call. I've > looked at what kind of information cecil provides and it looks like I > might need to use the StackBehaviourPush and StackBehaviourPop fields > for every instruction to maintain a stack while walking the method > body looking for method calls and then when I find a method call > inspect the stack and find the proper parameters. Smokey does this. If you want to see the code look at source/ framework/advanced and <https://home.comcast.net/~jesse98/public/Smokey/>. -- Jesse --~--~---------~--~----~------------~-------~--~----~ -- mono-cecil -~----------~----~----~----~------~----~------~--~---
