Definition at line 508 of file JsonWriterHelper.cs.
509 {
511 {
513 {
518 while (true)
519 {
522 {
526 {
527 while (true)
528 {
532 {
534 }
537 if (((uint)(int)
ptr2 & 2
u) != 0)
538 {
542 {
544 }
547 }
549 {
552 if (((
num2 |
num3) & -8323200) == 0)
553 {
554 if (!BitConverter.IsLittleEndian)
555 {
562 }
563 else
564 {
571 }
572 continue;
573 }
575 }
581 {
583 }
589 {
590 continue;
591 }
596 {
598 }
599 else
600 {
601 if (!JsonHelpers.IsInRangeInclusive(
num2, 55296, 57343))
602 {
604 }
605 else
606 {
608 {
609 break;
610 }
612 if (!JsonHelpers.IsInRangeInclusive(
num4, 56320, 57343))
613 {
614 break;
615 }
621 }
626 }
632 }
633 break;
634 }
635 }
636 while (true)
637 {
641 {
645 {
647 {
650 continue;
651 }
652 }
653 else if (
num5 <= 2047)
654 {
656 {
659 }
660 }
661 else if (!JsonHelpers.IsInRangeInclusive(
num5, 55296, 57343))
662 {
664 {
667 }
668 }
670 {
672 {
673 break;
674 }
676 {
678 if (!JsonHelpers.IsInRangeInclusive(
num6, 56320, 57343))
679 {
680 break;
681 }
688 }
692 }
696 }
709 }
710 break;
711 }
715 }
716 }
717 }
static unsafe int PtrDiff(char *a, char *b)
References System.Text.Json.Dictionary, System.Text.Json.JsonHelpers.IsInRangeInclusive(), System.BitConverter.IsLittleEndian, System.Math.Min(), and System.Text.Json.JsonWriterHelper.PtrDiff().
Referenced by System.Text.Json.JsonDocument.TextEquals(), System.Text.Json.Utf8JsonWriter.TranscodeAndWrite(), System.Text.Json.Utf8JsonReader.ValueTextEquals(), System.Text.Json.Utf8JsonWriter.WriteCommentIndented(), and System.Text.Json.Utf8JsonWriter.WriteCommentMinimized().