From 6142edf5045ef7cebfbfcdc1800b7ca7822d0f1c Mon Sep 17 00:00:00 2001 From: Deadlocklogic Date: Sat, 16 Dec 2023 23:40:44 +0200 Subject: [PATCH] Stdlib.CSharp.cs: remove buggy typemap --- src/Generator/Types/Std/Stdlib.CSharp.cs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/Generator/Types/Std/Stdlib.CSharp.cs b/src/Generator/Types/Std/Stdlib.CSharp.cs index a4198bcd1..e69de8e7e 100644 --- a/src/Generator/Types/Std/Stdlib.CSharp.cs +++ b/src/Generator/Types/Std/Stdlib.CSharp.cs @@ -412,22 +412,6 @@ private static ClassTemplateSpecialization GetBasicString(Type type) } } - [TypeMap("std::map", GeneratorKindID = GeneratorKind.CSharp_ID)] - public class Map : TypeMap - { - public override bool IsIgnored { get { return true; } } - - public override Type SignatureType(TypePrinterContext ctx) - { - if (ctx.Kind == TypePrinterContextKind.Native) - return new CustomType("Std.Map"); - - var type = Type as TemplateSpecializationType; - return new CustomType( - $@"System.Collections.Generic.Dictionary<{type.Arguments[0].Type}, {type.Arguments[1].Type}>"); - } - } - [TypeMap("FILE", GeneratorKindID = GeneratorKind.CSharp_ID)] public class FILE : TypeMap {