A sealed class cannot introduce a protected member because no other class will be able to inherit from the sealed class and use the protected member.
Yet the generator is creating the costructors as protected, for example we get the following warning:
build/mac/full/ReplayKit/RPScreenRecorder.g.cs(113,22): warning CS0628: ‘RPScreenRecorder.RPScreenRecorder(IntPtr)’: new protected member declared in sealed class
When generating sealed classes this should not be protected.
As CS0628 states:
Yet the generator is creating the costructors as protected, for example we get the following warning:
When generating sealed classes this should not be protected.