Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -296,13 +296,7 @@ internal static bool EqualsIgnoreCaseUtf8_Scalar(ref byte charA, int lengthA, re
return true;
}

if (!Utf8Utility.UInt32OrdinalIgnoreCaseAscii(valueAu32, valueBu32))
{
return false;
}

byteOffset += 4;
length -= 4;
return Utf8Utility.UInt32OrdinalIgnoreCaseAscii(valueAu32, valueBu32);
}

Debug.Assert(length == 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,6 @@ async Task PerformFloatingPointSerialization(string testString)
[InlineData("\u0020Inf\u0069ni\u0074y")] // " Infinity"
[InlineData("\u002BInf\u0069nity")] // "+Infinity"
#pragma warning restore xUnit1025
[ActiveIssue("https://github.com/dotnet/runtime/issues/89094", TestPlatforms.OSX)]
public async Task FloatingPointConstants_Fail(string testString)
{
string testStringAsJson = $@"""{testString}""";
Expand Down