Skip to content

Conversation

@Truinto
Copy link
Contributor

@Truinto Truinto commented Mar 5, 2023

Apparently the compiler is allowed to generate private fields with identical names as existing events. Referencing the event will then cause a conflict, since the IDE doesn't know if you mean the field or the event.

I made it optional to have compiler generated fields set to public.

I also added a line to remove the sealed modifier from classes. I don't have a project to test this right now, but I think that shouldn't cause any problems.

@Truinto
Copy link
Contributor Author

Truinto commented Mar 5, 2023

Btw, I tried to also compile for net6 (or netstandard2.0). But I gave up after a couple hours. There are issues with ilrepack and with the Microsoft.Build.Framework dependency. Weird.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant