You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BTOUCH generates invalid .g.cs file when [Internal] and [Protected] are specified #6889
When you specify both [Internal] and [Protected] attributes on an exported item in the Api definitions file, btouch generate an invalid « .g.cs » source file, resulting in a compilation error.
Example:
In ApiDefinition.cs
[Export(«dummyMethod« )]
[Internal]
[Protected]
void DummyMethod ();
Resulting binding method in the .g.cs source file:
protectedinternal unsafe virtual void DummyMethod ()
As you can see the access specifiers are concatenated without space.
Thank you
Original Comments
Visual Studio Feedback System on 8/27/2019, 00:42 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Activity
[tests] Add test case.
[bgen] Fix APIs with both [Protected] and [Internal]. Fixes #6889.
[bgen] Fix APIs with both [Protected] and [Internal]. Fixes #6889. (#…