Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix operator precedence consistency in ASCIIUtility.GetIndexOfFirstNo…
…nAsciiByte (dotnet#64814) The `&&` operator takes precedence over `||`, make it explicit by wrapping in parenthesis which also makes it consistent with other usages like https://github.com/dotnet/runtime/blob/57bfe474518ab5b7cfe6bf7424a79ce3af9d6657/src/libraries/System.Private.CoreLib/src/System/Text/Unicode/Utf8Utility.Transcoding.cs#L887 Sse2 implies little endian so the check only needs to apply to AdvSimd.
- Loading branch information