jbevain / cecil

Cecil is a library to inspect, modify and create .NET programs and libraries.
MIT License
2.74k stars 624 forks source link

Add public API for instruction clonning #915

Closed mrvoorhe closed 1 year ago

mrvoorhe commented 1 year ago

This change was originally made to dotnet/cecil by @marek-safar https://github.com/dotnet/cecil/commit/0780d4e15ef42b56a4e40dafac0d5486f09ce005

We are in the process of updating UnityLinker to a newer revision of ILLink and we compile with Unity's fork of cecil instead of the dotnet cecil. Landing this change upstream will get everyone in sync.