Skip to content

Conversation

@jpobst
Copy link
Contributor

@jpobst jpobst commented May 13, 2021

In #829 we began targeting net6.0 instead of netcoreapp3.1. This framework contains additional nullable annotations that resulted in new warnings.

One problem with fixing these is that we needed to make type not-nullable here, which means removing the default type. However removing the default type meant the parameter had to be moved before other parameter(s) with a default type.

https://github.com/xamarin/java.interop/blob/main/src/Java.Interop/Java.Interop/JniValueMarshaler.cs#L145

I am not very familiar with this code, so I do not know if there are side-effects of changing this, or if this is considered "public API" which cannot be changed?

@jpobst jpobst closed this May 13, 2021
@jpobst jpobst deleted the nrt-warnings branch May 13, 2021 21:13
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants