Skip to content
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

[Mono.Android] Enable Map.Of methods that have more than 14 parameters. #5106

Merged
merged 1 commit into from
Sep 14, 2020

Conversation

jpobst
Copy link
Contributor

@jpobst jpobst commented Sep 11, 2020

When binding API-30, we disabled a few overloads of java.util.Map.of (...) that took more than 14 parameters, as we could not support them with C# Action/Func constructs.

With dotnet/java-interop#632, we now support any number of parameters, so these methods can be enabled.

@jpobst jpobst marked this pull request as ready for review September 11, 2020 17:59
@jonpryor jonpryor merged commit 1a19db0 into master Sep 14, 2020
@jonpryor jonpryor deleted the jpobst-patch-1 branch September 14, 2020 15:29
jonpryor pushed a commit that referenced this pull request Sep 17, 2020
Context: dotnet/java-interop@56955d9

When binding API-30, we disabled some `java.util.Map.of()`  overloads
whicg took more than 14 parameters (a20be39), as we could not
support them with C# `Action<…>`/`Func<…>` constructs.

With dotnet/java-interop@56955d9a, the restriction to only bind
methods with <= 14 parameters has been removed, allowing *all*`
`Map.of()` methods to be bound.

Enable all the `Map.of()` methods.
@github-actions github-actions bot locked and limited conversation to collaborators Jan 27, 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.

3 participants