Xamarin AIDL CSharpCodeGenerator doesn't support specifying transaction IDs
- Dominant language
- C#
- Stars
- 2.1k
- Forks
- 579
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 252
Description
### Android application type
.NET Android (net7.0-android, net8.0-android, etc.)
### Affected platform version
VS 2022
### Description
AIDL interface generation doesn't support specifying transaction ID
```
package com.example;
interface IExample
{
void destroy();
int Add(int value1, int value2) = 2;
}
```
Gets an error "invalid character ="
https://github.com/xamarin/xamarin-android/blob/e987ac458536e59a8329a06d5c5d5f4d4ea2c6b6/src/Xamarin.Android.Tools.Aidl/CSharpCodeGenerator.cs#L391 probably relevant
### Steps to Reproduce
1. Create new project with basic .aidl file
2. Add a basic AIDL interface and specify transaction ID
3. "Invalid character: =" error
### Did you find any workaround?
Manually edit them in the generated file but this is incredibly tedious
### Relevant log output
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.