I'm in a bit of a predicament.
I've been assigned the task of maintaining an existing ASP.NET web application for which the source code is not available - all code is compiled and put into the bin folder.
Now I need to change a few methods' implementations, this is the first time that I'm dealing with such a situation so I would really appreciate your suggestions and recommendations regarding the best way to do this.
Along with what @codymanix said.
Just decompile the assembly with ILDASM. Make the needed methods virtual (or unsealed). Recompile with ILASM. Done.
You may have to fixup calls to these methods to use callvirt
, instead of call
.