pardeike / Reloader

A mod helper for RimWorld that allows you to develop and patch code while the game is running
https://www.patreon.com/pardeike
MIT License
17 stars 4 forks source link

Add sanity check to prevent attempts at reloading generic methods definitions #2

Closed DoctorVanGogh closed 6 years ago

DoctorVanGogh commented 6 years ago

Prevents Reloader from trying to patch

...
[ReloadMethod]
void Foo<T>(...) {
  ...
}
...

It'll just output an error for that declaration.


Also did a sloppy copy/paste of the memory code from latest harmony.

pardeike commented 6 years ago

Can be improved but a good start