ended9월 9일· 1 sources

.NET 10 Generic Math Shift Masking: Catch Overshifts That Now Wrap

Why it matters

.NET 10 generic math shift masking changes the result of some oversized shifts on small integer types. If a helper uses IShiftOperators<T, int, T> , code such as a generic byte << 8 can return 1 on .N...

1
Sources
+0
24h
Growth
12d
Active

Sources

Related Issues