From 24d1a8491dc9b6eb5785186ad7e7fd90b6faad5f Mon Sep 17 00:00:00 2001 From: deadlocklogic <57906342+deadlocklogic@users.noreply.github.com> Date: Sun, 17 Dec 2023 11:44:00 +0200 Subject: [PATCH] Stdlib.CSharp.cs: remove buggy typemap (#1812) --- 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 {