3 references to UnescapeAndCompare
System.Text.Json (3)
System\Text\Json\Document\JsonDocument.cs (1)
376return JsonReaderHelper.UnescapeAndCompare(segment.Slice(idx), otherUtf8Text.Slice(idx));
System\Text\Json\Reader\Utf8JsonReader.cs (2)
628return JsonReaderHelper.UnescapeAndCompare(localSpan.Slice(idx), other.Slice(idx)); 669result = JsonReaderHelper.UnescapeAndCompare(localSequence.First.Span, other);