6 references to MaximumEscapedGuidLength
System.Text.Json (6)
System\Text\Json\Document\JsonDocument.cs (1)
697
if (segment.Length > JsonConstants.
MaximumEscapedGuidLength
)
System\Text\Json\Reader\JsonReaderHelper.cs (2)
180
Debug.Assert(source.Length <= JsonConstants.
MaximumEscapedGuidLength
);
182
Span<byte> utf8Unescaped = stackalloc byte[JsonConstants.
MaximumEscapedGuidLength
];
System\Text\Json\Reader\Utf8JsonReader.TryGet.cs (3)
1342
if (sequenceLength > JsonConstants.
MaximumEscapedGuidLength
)
1348
Span<byte> stackSpan = stackalloc byte[JsonConstants.
MaximumEscapedGuidLength
];
1354
if (ValueSpan.Length > JsonConstants.
MaximumEscapedGuidLength
)