-
Notifications
You must be signed in to change notification settings - Fork 52
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
Generated code contains arity mark when implementing interface in reference assembly #1133
Comments
Because this is in the generated invoker type, we can't use any of our usual metadata tricks to fix this. 😞 I think the only thing that can be done to get this to bind will be to remove the <remove-node path="/api/package[@name='com.facebook.react.modules.network']/interface[@name='CookieJarContainer']" /> It might also work to just remove the implemented interface from <remove-node path="/api/package[@name='com.facebook.react.modules.network']/interface[@name='CookieJarContainer']/implements" /> |
Notes for future me: Method:
The method is correctly imported with parameter However, later the The correct fix is probably to override It may be worth trying to find a more targeted "hack" fix instead. |
Thanks, let me check later. I just worried about there are some people will need to invoke the methods which are removed in binding phase. |
Android application type
.NET Android (net7.0-android, etc.)
Affected platform version
VSMac 17.6.1 (build 452)
Description
error CS1056: Unexpected character '`'
If click the error to redirect to the generated cs code.
We can find that code is generated:
(global::System.Collections.Generic.IList`1?)
log is here
buildlog.txt
Steps to Reproduce
1.download the aar file from here
2.add aar to this project,ReactAndroidBinding.zip
3.open the sln file using vs Mac
4.build the project
5.error occur
Did you find any workaround?
No
Relevant log output
No response
The text was updated successfully, but these errors were encountered: