Signed-off-by: dotnet-bot <[email protected]>
@@ -63,7 +63,7 @@ namespace System
// Returns a HashCode for the Int16
public override int GetHashCode()
{
- return ((int)((ushort)m_value) | (((int)m_value) << 16));
+ return m_value;
}
@@ -66,7 +66,7 @@ namespace System
// Gets a hash code for this instance.
- return ((int)m_value ^ (int)m_value << 8);