Skip to content

Generic overload MethodInfo in not-base-class #650

Answered by pardeike
Sessional asked this question in Q&A
Discussion options

You must be logged in to vote

The discord server is the main place to give support. Please use it instead of GitHub.

You are not using the correct reflection code. You need to call MakeGenericMethod(). But harmony also does not officially support generics so patching can still fail or behave weird.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Sessional
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants