-
-
Notifications
You must be signed in to change notification settings - Fork 252
Support injecting anything #451
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
Support injecting anything #451
Conversation
// Covariant return types are .NET 5.0+ | ||
public override List<MethodAnalysisContext> Overrides { get; } = new(); | ||
#else | ||
public override IEnumerable<MethodAnalysisContext> Overrides => []; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This of course means you can't inject methods with custom overrides on netfx. Are we ok with that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are the implications of this decision? For example, does MelonLoader use the .NET Framework release?
* Nested types * Events * Properties * Assemblies
* Also add hide by sig attribute for injected constructors
54df930
to
0cac266
Compare
Uh oh!
There was an error while loading. Please reload this page.