-
-
Notifications
You must be signed in to change notification settings - Fork 626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression in 0.11.3 -- NRE from ILProcessor.InsertBefore() #697
Comments
The null reference is the 7th of the 6 instructions in the method body; the initial access to the instructions through the FWIW, the assembly was built with an old Mono compiler, so advertises a code size of 14, hence the capacity of 7, for 6 instructions. |
* Provoke the issue * Minimum fix (cherry picked from commit 0f23047) * Revert "Provoke the issue" This reverts commit 1a2275b. * Add unit test (cherry picked from commit 185ba88) * Use existing infrastructure * Quick fix Co-authored-by: Jb Evain <[email protected]>
Fixed in #698. |
Simple repro attached
Cecil.11.3.issue.zip
The text was updated successfully, but these errors were encountered: