@@ -91,7 +91,8 @@ public override Type CSharpSignatureType(TypePrinterContext ctx)
91
91
}
92
92
}
93
93
94
- [ TypeMap ( "const char*" ) ]
94
+ [ TypeMap ( "const char*" , GeneratorKind = GeneratorKind . CSharp ) ]
95
+ [ TypeMap ( "const char*" , GeneratorKind = GeneratorKind . CLI ) ]
95
96
public class ConstCharPointer : TypeMap
96
97
{
97
98
public override Type CLISignatureType ( TypePrinterContext ctx )
@@ -293,22 +294,26 @@ private static string GetTypeForCodePoint(string encoding)
293
294
}
294
295
}
295
296
296
- [ TypeMap ( "const char[]" ) ]
297
+ [ TypeMap ( "const char[]" , GeneratorKind = GeneratorKind . CSharp ) ]
298
+ [ TypeMap ( "const char[]" , GeneratorKind = GeneratorKind . CLI ) ]
297
299
public class ConstCharArray : ConstCharPointer
298
300
{
299
301
}
300
302
301
- [ TypeMap ( "const wchar_t*" ) ]
303
+ [ TypeMap ( "const wchar_t*" , GeneratorKind = GeneratorKind . CSharp ) ]
304
+ [ TypeMap ( "const wchar_t*" , GeneratorKind = GeneratorKind . CLI ) ]
302
305
public class ConstWCharTPointer : ConstCharPointer
303
306
{
304
307
}
305
308
306
- [ TypeMap ( "const char16_t*" ) ]
309
+ [ TypeMap ( "const char16_t*" , GeneratorKind = GeneratorKind . CSharp ) ]
310
+ [ TypeMap ( "const char16_t*" , GeneratorKind = GeneratorKind . CLI ) ]
307
311
public class ConstChar16TPointer : ConstCharPointer
308
312
{
309
313
}
310
314
311
- [ TypeMap ( "basic_string<char, char_traits<char>, allocator<char>>" ) ]
315
+ [ TypeMap ( "basic_string<char, char_traits<char>, allocator<char>>" , GeneratorKind = GeneratorKind . CSharp ) ]
316
+ [ TypeMap ( "basic_string<char, char_traits<char>, allocator<char>>" , GeneratorKind = GeneratorKind . CLI ) ]
312
317
public class String : TypeMap
313
318
{
314
319
public override Type CLISignatureType ( TypePrinterContext ctx )
0 commit comments