36 lines
889 B
Markdown
36 lines
889 B
Markdown
|
## Incorrect code generation when passing and comparing UInt16 values
|
||
|
|
||
|
### Scope
|
||
|
Edge
|
||
|
|
||
|
### Version Introduced
|
||
|
4.7
|
||
|
|
||
|
### Version Reverted
|
||
|
4.7.1
|
||
|
|
||
|
### Source Analyzer Status
|
||
|
NotPlanned
|
||
|
|
||
|
### Change Description
|
||
|
Because of changes introduced in the .NET Framework 4.7, in some cases the code generated by the JIT compiler in applications running on the .NET Framework 4.7 incorrectly compares two `T:System.UInt16` values. For more information, see [Issue #11508: Silent bad codegen when passing and comparing ushort args](https://github.com/dotnet/coreclr/issues/11508) on GitHub.com.
|
||
|
|
||
|
- [ ] Quirked
|
||
|
- [ ] Build-time break
|
||
|
|
||
|
### Recommended Action
|
||
|
|
||
|
If you encounter issues in the comparison of 16-bit unsigned values in the .NET Framework 4.7, upgrade to the .NET Framework 4.7.1.
|
||
|
|
||
|
### Affected APIs
|
||
|
- * Not detectable via API analysis
|
||
|
|
||
|
### Category
|
||
|
JIT
|
||
|
|
||
|
<!--
|
||
|
### Original Bug: 435717
|
||
|
-->
|
||
|
|
||
|
|