Skip to content

Commit ed50703

Browse files
committed
Release notes.
1 parent 7d6afc6 commit ed50703

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#### Mono.Android.dll Nullable Reference Type Annotations
2+
3+
`Mono.Android.dll` assemblies of all platform levels are now annotated with
4+
C#8's nullable reference types (NRT). Users who opt their applications into
5+
this feature with `<Nullable>enable</Nullable>` will receive warnings if their
6+
code does not properly account for possible `null` values.
7+
8+
General documentation for the NRT feature is available here:
9+
https://docs.microsoft.com/en-us/dotnet/csharp/nullable-references.
10+
11+
Note:
12+
The majority of `Mono.Android.dll` is automatically generated from the Android
13+
Java source, including these new annotations. As such, we will not be manually
14+
fixing places where the Android source code is not annotated correctly.
15+
16+
If there is an error regarding nullability for any of the Mono.Android APIs
17+
that Xamarin adds to the Android source (such as `JavaList` or `InputStreamAdapter`),
18+
please file a bug so we can properly annotate our additions.

0 commit comments

Comments
 (0)