1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-16 15:24:10 +02:00

HashCode typedprimitive fix

This commit is contained in:
Brian Fiete 2023-11-18 07:50:51 -05:00
parent 41f2dae73a
commit 17255fad14

View file

@ -17,7 +17,7 @@ static class HashCode
if (t.IsTypedPrimitive == true)
{
code.AppendF("\treturn ti.UnderlyingType;");
code.AppendF($"\treturn SelfOuter.Get(({t.UnderlyingType})value);");
}
else if (t.IsEnum)
{