Reflexil

https://github.com/sailro/Reflexil/issues/47

Instructions on how to install Reflexil would be much appreciated, since there is no README, and this information is not readily available.

 需要注意,下载的reflexil的版本需要是https://github.com/sailro/Reflexil/releases/download/v2.3/reflexil.for.ILSpy.2.3.AIO.bin.zip

It's really easy.
Put the Reflexil.ILSpy.Plugin.dll(AIO) file into the ILSpy directory.
Open ILSpy(2.0+), select "View" menu and you will see "Reflexil 2.0".

inject property

 左侧菜单,右键选中想要修改的类,

https://www.cnblogs.com/chucklu/p/11184577.html

inject property只在左侧的列表栏看到

右键左侧菜单,update ILSpy model

如果要保存编辑后的exe,

需要先右键选中exe文件,然后save as 

edit property

Can not edit property directly like dnSpy,

You need edit the get and set respectively.

注意

下载Debug编译的ILSpy更好

https://appveyorcidata.blob.core.windows.net/icsharpcode-24809/ilspy/1-0-2342/80ph9mc6tyrm469w/ILSpy_binaries.zip?sv=2015-12-11&sr=c&sig=6FkoGZzKaCe2h3J7DFBtu1z2xj77GUZKeh07Y5pAXe8%3D&st=2019-08-11T04%3A09%3A54Z&se=2019-08-11T04%3A15%3A54Z&sp=r

https://github.com/sailro/Reflexil/issues/53   因为功能更全,可以edit property

这个提示不知道是做什么的

修改属性的调用

把前面2个属性删了,然后调整第三个调用为方法

原文地址:https://www.cnblogs.com/chucklu/p/11334424.html