File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -143,10 +143,8 @@ private GeneratorOutput GenerateModuleTemplate(Module module)
143143
144144 protected abstract string TypePrinterDelegate ( CppSharp . AST . Type type ) ;
145145
146- public static string GeneratedIdentifier ( string id )
147- {
148- return "__" + id ;
149- }
146+ public static string GeneratedIdentifier ( string id ) =>
147+ $ "__{ ( id . StartsWith ( "@" ) ? id . Substring ( 1 ) : id ) } ";
150148
151149 public void Dispose ( )
152150 {
Original file line number Diff line number Diff line change @@ -848,7 +848,7 @@ HasOverloadsWithDifferentPointerKindsToSameType::~HasOverloadsWithDifferentPoint
848848{
849849}
850850
851- void HasOverloadsWithDifferentPointerKindsToSameType::overload (int & i )
851+ void HasOverloadsWithDifferentPointerKindsToSameType::overload (int & in )
852852{
853853}
854854
Original file line number Diff line number Diff line change @@ -1310,7 +1310,7 @@ class DLL_API HasOverloadsWithDifferentPointerKindsToSameType
13101310public:
13111311 HasOverloadsWithDifferentPointerKindsToSameType ();
13121312 ~HasOverloadsWithDifferentPointerKindsToSameType ();
1313- void overload (int & i );
1313+ void overload (int & in );
13141314 void overload (int && i);
13151315 void overload (const int & i);
13161316 void overload (const Foo& rx, int from = -1 );
You can’t perform that action at this time.
0 commit comments