Skip to content
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

How to patch a override method using Transpiler #540

Closed
TL0SR2 opened this issue Jul 27, 2023 · 1 comment
Closed

How to patch a override method using Transpiler #540

TL0SR2 opened this issue Jul 27, 2023 · 1 comment
Assignees

Comments

@TL0SR2
Copy link

TL0SR2 commented Jul 27, 2023

I have a method like this
image
and i want to change some of the code using Transpiler.
but it looks like this in IL
image
and the real code is this
image
it is in this strange class
image
I can't get it in my code for it looks like this
image
how do I solve this problem?
(and if i just patch the "LoadItems" method i would just get the code in the picture No.2)

@pardeike
Copy link
Owner

Please don't use GitHub issues for support. See MethodType attribute argument for targeting MoveNext method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants