53 references to Utf8Parser
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpRequestHeaders.cs (1)
101if (!Utf8Parser.TryParse(value, out long parsed, out var consumed) ||
mscorlib (1)
mscorlib.cs (1)
52[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Buffers.Text.Utf8Parser))]
netstandard (1)
netstandard.cs (1)
79[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Buffers.Text.Utf8Parser))]
System.Diagnostics.DiagnosticSource (3)
System\Diagnostics\Activity.cs (3)
1967if (!Utf8Parser.TryParse(idData.Slice(0, 16), out span[0], out _, 'x')) 1974if (!Utf8Parser.TryParse(idData.Slice(16, 16), out span[1], out _, 'x')) 2157if (!Utf8Parser.TryParse(idData, out ulong id, out _, 'x'))
System.Formats.Asn1 (3)
System\Formats\Asn1\AsnDecoder.cs (1)
629if (Utf8Parser.TryParse(data, out uint value, out int consumed) &&
System\Formats\Asn1\AsnDecoder.GeneralizedTime.cs (2)
226if (!Utf8Parser.TryParse(SliceAtMost(contents, 12), out fraction, out int fracLength) || 245while (Utf8Parser.TryParse(SliceAtMost(contents, 9), out uint nonSemantic, out fracLength))
System.Memory (1)
artifacts\obj\System.Memory\Debug\net10.0\System.Memory.Forwards.cs (1)
12[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Buffers.Text.Utf8Parser))]
System.Text.Json (43)
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\JsonHelpers.cs (1)
474if (!Utf8Parser.TryParse(span.Slice(i + 1), out exp, out _))
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\JsonReaderHelper.cs (2)
195&& Utf8Parser.TryParse(segment, out Guid tmp, out _, 'D')) 217&& Utf8Parser.TryParse(utf8Unescaped, out Guid tmp, out _, 'D'))
System\Text\Json\Reader\JsonReaderHelper.Unescaping.cs (2)
534bool result = Utf8Parser.TryParse(source.Slice(idx + 1, 4), out int scalar, out int bytesConsumed, 'x'); 557result = Utf8Parser.TryParse(source.Slice(idx + 3, 4), out int lowSurrogate, out bytesConsumed, 'x');
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)
System\Text\Json\Serialization\Converters\Value\BooleanConverter.cs (1)
27if (!(Utf8Parser.TryParse(propertyName, out bool value, out int bytesConsumed)
System\Text\Json\Serialization\Converters\Value\TimeOnlyConverter.cs (1)
63bool result = Utf8Parser.TryParse(source, out TimeSpan timespan, out int bytesConsumed, 'c');
System\Text\Json\Serialization\Converters\Value\TimeSpanConverter.cs (1)
62bool result = Utf8Parser.TryParse(source, out TimeSpan tmpValue, out int bytesConsumed, 'c');