Skip to content

Commit a0f9571

Browse files
committed
Remvoe outdated assert
1 parent 500c4e3 commit a0f9571

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/libraries/System.Private.CoreLib/src/System/SearchValues/Strings/Helpers/StringSearchValuesHelper.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,6 @@ public static bool Equals<TValueLength>(ref char matchStart, ref readonly Single
429429
else
430430
{
431431
Debug.Assert(state.Value.Length is 2 or 3);
432-
Debug.Assert((matchStart & ~0x20) == (state.Value[0] & ~0x20));
433432

434433
ref byte matchByteStart = ref Unsafe.As<char, byte>(ref matchStart);
435434
uint differentBits = (Unsafe.ReadUnaligned<uint>(ref matchByteStart) & state.ToUpperMask32_0) - state.Value32_0;

0 commit comments

Comments
 (0)