@@ -36,7 +36,7 @@ public override TypePrinterResult VisitTagType(TagType tag, TypeQualifiers quals
3636 return string . Empty ;
3737
3838 TypeMap typeMap ;
39- if ( TypeMapDatabase . FindTypeMap ( tag , GeneratorKind . CSharp , out typeMap ) )
39+ if ( TypeMapDatabase . FindTypeMap ( tag , out typeMap ) )
4040 {
4141 typeMap . Type = tag ;
4242
@@ -47,7 +47,7 @@ public override TypePrinterResult VisitTagType(TagType tag, TypeQualifiers quals
4747 Type = tag
4848 } ;
4949
50- return typeMap . SignatureType ( typePrinterContext ) . ToString ( ) ;
50+ return typeMap . CSharpSignatureType ( typePrinterContext ) . ToString ( ) ;
5151 }
5252
5353 return base . VisitTagType ( tag , quals ) ;
@@ -150,7 +150,7 @@ public override TypePrinterResult VisitArrayType(ArrayType array,
150150 public override TypePrinterResult VisitBuiltinType ( BuiltinType builtin , TypeQualifiers quals )
151151 {
152152 TypeMap typeMap ;
153- if ( TypeMapDatabase . FindTypeMap ( builtin , GeneratorKind . CSharp , out typeMap ) )
153+ if ( TypeMapDatabase . FindTypeMap ( builtin , out typeMap ) )
154154 {
155155 var typePrinterContext = new TypePrinterContext ( )
156156 {
@@ -159,7 +159,7 @@ public override TypePrinterResult VisitBuiltinType(BuiltinType builtin, TypeQual
159159 Type = builtin ,
160160 Parameter = Parameter
161161 } ;
162- return typeMap . SignatureType ( typePrinterContext ) . Visit ( this ) ;
162+ return typeMap . CSharpSignatureType ( typePrinterContext ) . Visit ( this ) ;
163163 }
164164 return base . VisitBuiltinType ( builtin , quals ) ;
165165 }
@@ -183,15 +183,15 @@ public override TypePrinterResult VisitPointerType(PointerType pointer,
183183 if ( allowStrings && pointer . IsConstCharString ( ) )
184184 {
185185 TypeMap typeMap ;
186- TypeMapDatabase . FindTypeMap ( pointer , GeneratorKind . CSharp , out typeMap ) ;
186+ TypeMapDatabase . FindTypeMap ( pointer , out typeMap ) ;
187187 var typePrinterContext = new TypePrinterContext ( )
188188 {
189189 Kind = ContextKind ,
190190 MarshalKind = MarshalKind ,
191191 Type = pointer . Pointee ,
192192 Parameter = Parameter
193193 } ;
194- return typeMap . SignatureType ( typePrinterContext ) . Visit ( this ) ;
194+ return typeMap . CSharpSignatureType ( typePrinterContext ) . Visit ( this ) ;
195195 }
196196
197197 var pointee = pointer . Pointee . Desugar ( ) ;
@@ -258,7 +258,7 @@ public override TypePrinterResult VisitTypedefType(TypedefType typedef,
258258 var decl = typedef . Declaration ;
259259
260260 TypeMap typeMap ;
261- if ( TypeMapDatabase . FindTypeMap ( typedef , GeneratorKind . CSharp , out typeMap ) )
261+ if ( TypeMapDatabase . FindTypeMap ( typedef , out typeMap ) )
262262 {
263263 typeMap . Type = typedef ;
264264
@@ -270,7 +270,7 @@ public override TypePrinterResult VisitTypedefType(TypedefType typedef,
270270 Parameter = Parameter
271271 } ;
272272
273- return typeMap . SignatureType ( typePrinterContext ) . ToString ( ) ;
273+ return typeMap . CSharpSignatureType ( typePrinterContext ) . ToString ( ) ;
274274 }
275275
276276 FunctionType func ;
@@ -299,7 +299,7 @@ public override TypePrinterResult VisitTemplateSpecializationType(
299299 template . Template . TemplatedDecl ;
300300
301301 TypeMap typeMap ;
302- if ( ! TypeMapDatabase . FindTypeMap ( template , GeneratorKind . CSharp , out typeMap ) )
302+ if ( ! TypeMapDatabase . FindTypeMap ( template , out typeMap ) )
303303 {
304304 if ( ContextKind == TypePrinterContextKind . Managed &&
305305 decl == template . Template . TemplatedDecl &&
@@ -330,7 +330,7 @@ public override TypePrinterResult VisitTemplateSpecializationType(
330330 MarshalKind = MarshalKind
331331 } ;
332332
333- return typeMap . SignatureType ( typePrinterContext ) . ToString ( ) ;
333+ return typeMap . CSharpSignatureType ( typePrinterContext ) . ToString ( ) ;
334334 }
335335
336336 public override TypePrinterResult VisitDependentTemplateSpecializationType (
0 commit comments