Skip to content

Commit e2874f5

Browse files
authored
Improve char.IsWhiteSpace for non-ASCII (#111569)
1 parent 77fc88a commit e2874f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libraries/System.Private.CoreLib/src/System/Globalization/CharUnicodeInfo.cs

+1
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,7 @@ private static int GetCodePointFromString(string s, int index)
443443
/// information is stored. Used for getting the Unicode category, bidi information,
444444
/// and whitespace information.
445445
/// </summary>
446+
[MethodImpl(MethodImplOptions.AggressiveInlining)]
446447
private static nuint GetCategoryCasingTableOffsetNoBoundsChecks(uint codePoint)
447448
{
448449
UnicodeDebug.AssertIsValidCodePoint(codePoint);

0 commit comments

Comments
 (0)