[generator] Availability attribute incorrectly added on existing types with new protocol conformance #3213
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
Add protocol
AVQueuedSampleBufferRendering
toAVSampleBufferDisplayLayer
.See generated code.
Expected Behavior
Since the type already exists and is working do not alter availability (that would be problematic for older OSes).
Actual Behavior
Availability is updated based on the fact that the protocol was added in a subsequent OS version.
AVSampleBufferDisplayLayer
was added in iOS 8 andAVQueuedSampleBufferRendering
in iOS 11.Environment
The text was updated successfully, but these errors were encountered: