Add Clear to ILProcessor #662
Loading…
Reference in a new issue
No description provided.
Delete branch "il-clear"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Clear can be useful when you need to rewrite a method from scratch.
Thanks!
Hmmm.... If you want to rewrite a method from scratch, there's a whole lot of other stuff you need to remove. I'm doing the following in a project of mine:
On the other hand, the
ILProcessoronly deals with the instruction list today, so I suppose making it clear a bunch of other stuff would not be appropriate.@ltrzesniewski yeah I think that's a different subject. At that point you might be better off creating a new method body.