Skip to content

Commit

Permalink
Stdlib.CSharp.cs: remove buggy typemap
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlocklogic committed Dec 16, 2023
1 parent 1327971 commit 6142edf
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/Generator/Types/Std/Stdlib.CSharp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 6142edf

Please sign in to comment.