Skip to content

Conversation

@jonathanpeppers
Copy link
Member

Fixes: #8155

}

var newAssemblyPaths = new List<string> ();
var newAssemblyPaths = new List<ValueTuple<string, string>> ();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we not use the glorious (string Something, string SomethingElse) tuple syntax?

@jonathanpeppers
Copy link
Member Author

This PR is actually an insufficient fix as this list:

https://github.com/xamarin/xamarin-android/blob/efa14e262efa42411783d7ae6869bdde165b68e4/src/Xamarin.Android.Build.Tasks/Utilities/MarshalMethodsAssemblyRewriter.cs#L25

Only contains the first android-arm assembly, and so it can only save this assembly on top of the 4 architectures.

I added a parameter to my test:

public void DoNotErrorOnPerArchJavaTypeDuplicates ([Values(true, false)] bool enableMarshalMethods)

It passes on false and fails on true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IL Linker Intrinsics + Marshal Methods, oh my!

2 participants