This is Xamarin's bug tracking system. For product support, please use the support links listed in your Xamarin Account.
Bug 46454 - need to escape C# keywords in some parameter reference
Summary: need to escape C# keywords in some parameter reference
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: Bindings (show other bugs)
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Atsushi Eno
URL:
Depends on:
Blocks:
 
Reported: 2016-11-04 05:58 UTC by Atsushi Eno
Modified: 2016-11-07 06:54 UTC (History)
1 user (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description Atsushi Eno 2016-11-04 05:58:00 UTC
While I was trying to bind javacpp project I noticed that it needs to escape "partial" keyword in some parameter references. Namely, this metadata fixup shouldn't be required:
https://github.com/atsushieno/xamarin-javacpp-binding/blob/master/Xamarin.JavaCpp/Transforms/Metadata.xml

Repro: use this project ^

This should be irrelevant to class-parse/jar2xml difference.

Also, not a CodeDom issue:

    csharp> using Microsoft.CSharp;
    csharp> var p = new CSharpCodeProvider ();
    csharp> p.IsValidIdentifier ("partial");
    false
Comment 1 Atsushi Eno 2016-11-04 17:52:28 UTC
https://github.com/xamarin/java.interop/pull/99
Comment 2 Atsushi Eno 2016-11-07 06:54:19 UTC
The PR was merged for cycle10.

Note You need to log in before you can comment on or make changes to this bug.