[generator] Don't re-add members as 'virtual' or 'new virtual' when conforming to protocol #3217
Labels
bug
If an issue is a bug or a pull request a bug fix
generator
Issues affecting the generator
good first issue
This is a good first issue for someone to start working with our code
iOS
Issues affecting Xamarin.iOS
macOS
Issues affecting Xamarin.Mac
Milestone
Steps to Reproduce
CNKeyDescriptor
conforms toNSObjectProtocol
and when I addedCNKeyDescriptor
conformance toNSString
it re-decalred a bunch of members that were already there (fromNSObject
).See generate code.
Expected Behavior
The generator should be smart enough to not re-generate members that are already defined in the base type.
Actual Behavior
Code is duplicated.
Environment
The text was updated successfully, but these errors were encountered: