We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d77419 commit 8f259e6Copy full SHA for 8f259e6
src/libraries/System.Private.CoreLib/src/System/Text/ASCIIUtility.cs
@@ -355,7 +355,7 @@ private static unsafe nuint GetIndexOfFirstNonAsciiByte_Intrinsified(byte* pBuff
355
throw new PlatformNotSupportedException();
356
}
357
358
- if (ContainsNonAsciiByte(currentMask | secondMask))
+ if (ContainsNonAsciiByte(currentMask) || ContainsNonAsciiByte(secondMask))
359
{
360
goto FoundNonAsciiDataInInnerLoop;
361
0 commit comments