System\Text\Json\Document\JsonDocument.cs (11)
427if (Utf8Parser.TryParse(segment, out sbyte tmp, out int consumed) &&
449if (Utf8Parser.TryParse(segment, out byte tmp, out int consumed) &&
471if (Utf8Parser.TryParse(segment, out short tmp, out int consumed) &&
493if (Utf8Parser.TryParse(segment, out ushort tmp, out int consumed) &&
515if (Utf8Parser.TryParse(segment, out int tmp, out int consumed) &&
537if (Utf8Parser.TryParse(segment, out uint tmp, out int consumed) &&
559if (Utf8Parser.TryParse(segment, out long tmp, out int consumed) &&
581if (Utf8Parser.TryParse(segment, out ulong tmp, out int consumed) &&
603if (Utf8Parser.TryParse(segment, out double tmp, out int bytesConsumed) &&
625if (Utf8Parser.TryParse(segment, out float tmp, out int bytesConsumed) &&
647if (Utf8Parser.TryParse(segment, out decimal tmp, out int bytesConsumed) &&
System\Text\Json\Nodes\JsonValueOfJsonPrimitive.cs (11)
210success = Utf8Parser.TryParse(_value, out int result, out int consumed) &&
219success = Utf8Parser.TryParse(_value, out long result, out int consumed) &&
228success = Utf8Parser.TryParse(_value, out double result, out int consumed) &&
237success = Utf8Parser.TryParse(_value, out short result, out int consumed) &&
246success = Utf8Parser.TryParse(_value, out decimal result, out int consumed) &&
255success = Utf8Parser.TryParse(_value, out byte result, out int consumed) &&
264success = Utf8Parser.TryParse(_value, out float result, out int consumed) &&
273success = Utf8Parser.TryParse(_value, out uint result, out int consumed) &&
282success = Utf8Parser.TryParse(_value, out ushort result, out int consumed) &&
291success = Utf8Parser.TryParse(_value, out ulong result, out int consumed) &&
300success = Utf8Parser.TryParse(_value, out sbyte result, out int consumed) &&
System\Text\Json\Reader\Utf8JsonReader.TryGet.cs (13)
606if (!(Utf8Parser.TryParse(span, out value, out int bytesConsumed)
663if (!(Utf8Parser.TryParse(span, out value, out int bytesConsumed)
869if (Utf8Parser.TryParse(span, out byte tmp, out int bytesConsumed)
905if (Utf8Parser.TryParse(span, out sbyte tmp, out int bytesConsumed)
940if (Utf8Parser.TryParse(span, out short tmp, out int bytesConsumed)
975if (Utf8Parser.TryParse(span, out int tmp, out int bytesConsumed)
1010if (Utf8Parser.TryParse(span, out long tmp, out int bytesConsumed)
1046if (Utf8Parser.TryParse(span, out ushort tmp, out int bytesConsumed)
1082if (Utf8Parser.TryParse(span, out uint tmp, out int bytesConsumed)
1118if (Utf8Parser.TryParse(span, out ulong tmp, out int bytesConsumed)
1148if (Utf8Parser.TryParse(span, out float tmp, out int bytesConsumed)
1178if (Utf8Parser.TryParse(span, out double tmp, out int bytesConsumed)
1213if (Utf8Parser.TryParse(span, out decimal tmp, out int bytesConsumed)