Skip to content

Commit 24d1a84

Browse files
Stdlib.CSharp.cs: remove buggy typemap (#1812)
1 parent 1327971 commit 24d1a84

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/Generator/Types/Std/Stdlib.CSharp.cs

-16
Original file line numberDiff line numberDiff line change
@@ -412,22 +412,6 @@ private static ClassTemplateSpecialization GetBasicString(Type type)
412412
}
413413
}
414414

415-
[TypeMap("std::map", GeneratorKindID = GeneratorKind.CSharp_ID)]
416-
public class Map : TypeMap
417-
{
418-
public override bool IsIgnored { get { return true; } }
419-
420-
public override Type SignatureType(TypePrinterContext ctx)
421-
{
422-
if (ctx.Kind == TypePrinterContextKind.Native)
423-
return new CustomType("Std.Map");
424-
425-
var type = Type as TemplateSpecializationType;
426-
return new CustomType(
427-
$@"System.Collections.Generic.Dictionary<{type.Arguments[0].Type}, {type.Arguments[1].Type}>");
428-
}
429-
}
430-
431415
[TypeMap("FILE", GeneratorKindID = GeneratorKind.CSharp_ID)]
432416
public class FILE : TypeMap
433417
{

0 commit comments

Comments
 (0)