jbevain / cecil

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

Treat instance and static methods as different methods during resolution #882

Closed joshpeterson closed 1 year ago

joshpeterson commented 2 years ago

When all other comparisons (return type, parameters, etc.) are the same, treat instance and static methods with the same name as different methods.

This corrects a problem we noticed in IL2CPP in Unity.

joshpeterson commented 2 years ago

cc @jbevain

jbevain commented 1 year ago

Thanks Josh!