Skip to content

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

Merged
jonpryor merged 1 commit into
masterfrom
jpobst-patch-1
Sep 14, 2020
Merged

[Mono.Android] Enable Map.Of methods that have more than 14 parameters.#5106
jonpryor merged 1 commit into
masterfrom
jpobst-patch-1

Conversation

@jpobst

@jpobst jpobst commented Sep 11, 2020

Copy link
Copy Markdown
Contributor

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
@jpobst
jpobst requested a review from jonpryor as a code owner 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