-
Notifications
You must be signed in to change notification settings - Fork 531
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
Nullable Reference Types support #2042
Comments
any updates on here? |
This was recently committed and will be available in 10.3 (16.7/8.7): |
Release status update A new Preview version has now been published that includes the new functionality for this item. The new functionality is not yet included in a Release version. I will update this again when a Release version is available that includes the feature. New functionality included in Xamarin.Android 10.3.99.230. New functionality included on Windows in Visual Studio 2019 version 16.7 Preview 1. To try the Preview version that includes the feature, check for the latest updates in Visual Studio Preview. New functionality included on macOS in Visual Studio 2019 for Mac version 8.7 Preview 1. To try the Preview version that includes the feature, check for the latest updates on the Preview updater channel. |
Release status update A new Release version of Xamarin.Android has now been published that includes the new functionality for this item. New functionality included in Xamarin.Android SDK version 11.0.0.3. New functionality included on Windows in Visual Studio 2019 version 16.7. To get the new version that includes the feature, check for the latest updates or install the most recent release from https://visualstudio.microsoft.com/downloads/. New functionality included on macOS in Visual Studio 2019 for Mac version 8.7. To get the new version that includes the feature, check for the latest updates on the Stable updater channel. |
C# has a proposal for "nullable reference types": https://github.com/dotnet/csharplang/blob/master/proposals/nullable-reference-types.md
Under this proposal, a
string value
parameter could not benull
, while astring? value
parameter could be null.As It Turns Out™, Android 9 is getting nullable information as well: https://android-developers.googleblog.com/2018/08/android-pie-sdk-is-now-more-kotlin.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+blogspot%2FhsDu+%28Android+Developers+Blog%29
We should figure out how the Kotlin nullable and non-nullable reference type information is stored (
.class
file attributes? XML files? other?) and updategenerator
so that we can "forward" that information to a futureMono.Android.dll
version.The text was updated successfully, but these errors were encountered: