1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-17 07:44:09 +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) if (t.IsTypedPrimitive == true)
{ {
code.AppendF("\treturn ti.UnderlyingType;"); code.AppendF($"\treturn SelfOuter.Get(({t.UnderlyingType})value);");
} }
else if (t.IsEnum) else if (t.IsEnum)
{ {