-
Notifications
You must be signed in to change notification settings - Fork 221
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
VB -> C#: injected base breaks overrides #600
Comments
Thanks for this. I'm not immediately sure how that "base" call got there. I'll try to investigate this weekend. |
@GrahamTheCoder I've setup a complete example at https://github.com/Thieum/VbnetToCSharpSuperfluousBase as it involves multiple assemblies and my first example could have been a pain to rework in a simpler example. |
Thanks, that's great! |
This is caused by a bug in the Roslyn library - one that I've actually had to work around before for a slightly different case. |
@GrahamTheCoder Thanks a lot ! |
Input code
BuildNewEntity is defined as this in the parent object:
A child object redefines BuildNewEntity:
Erroneous output
Expected output
Details
base should not be introduced when not needed - it will break the behavior silently when override is involved.
The text was updated successfully, but these errors were encountered: