You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which is admittedly "wonky", but... that's what we've done.
Rephrased: maybe perhaps we should reconsider this code idiom?
That said, in "reconsidering" we also need to maintain ABI compatibility with existing Mono.Android.dll, but there are various ways to work around that...
The text was updated successfully, but these errors were encountered:
jpobst
changed the title
Mismatched "virtual" on property getter/setter
Mismatched virtual on property getter/setter
Aug 23, 2019
jpobst
added
generator
Issues binding a Java library (generator, class-parse, etc.)
bug
Component does not function as intended
labels
Apr 6, 2020
What should happen if the getter & setter differ in their "virtual-ness"?
This has actually happened in Android, via
Activity
'sgetTitle()
andsetTitle()
methods:(Above XML fragments from
xamarin-android/bin/BuildDebug/api/api-28.xml.in
.)Which is to say, consider:
Currently -- arguably a bug! -- we remove the "
virtual
-ness", and emit:Which is admittedly "wonky", but... that's what we've done.
Rephrased: maybe perhaps we should reconsider this code idiom?
That said, in "reconsidering" we also need to maintain ABI compatibility with existing
Mono.Android.dll
, but there are various ways to work around that...The text was updated successfully, but these errors were encountered: