pardeike / Harmony

A library for patching, replacing and decorating .NET and Mono methods during runtime
https://www.patreon.com/pardeike
MIT License
5.24k stars 492 forks source link

ModuleInitializerAttribute #576

Closed TonyValenti closed 8 months ago

TonyValenti commented 8 months ago

Version 2.3.0-prerelease.7 seems to include its own public copy of ModuleInitializerAttribute. This is causing conflicts in my code when I want use the .NET-provided version of the attribute.

Can you please make the copy in harmony internal or something that way my code doesn't see it?

pardeike commented 8 months ago

Please try master. Next (pre)release internalizes all those types.