37 0, 31, 59, 90, 120, 151, 181, 212, 243, 273,
43 0, 31, 60, 91, 121, 152, 182, 213, 244, 274,
55 if (!reader.HasValueSequence)
57 return reader.ValueSpan;
83 return (uint)(
value - 48) <= 9
u;
89 bool flag = reader.Read();
104 return double.IsFinite(
value);
109 return float.IsFinite(
value);
168 uint num = (uint)(
source[0] - 48);
299 uint num = (uint)(
source[0] - 48);
301 if (num > 9 ||
num2 > 9)
void CopyTo(KeyValuePair< TKey, TValue >[] array, int index)
static byte Min(byte val1, byte val2)
static readonly int[] s_daysToMonth366
static string Utf8GetString(ReadOnlySpan< byte > bytes)
static bool TryCreateDateTimeOffset(DateTime dateTime, ref DateTimeParseData parseData, out DateTimeOffset value)
static bool IsFinite(double value)
static bool TryParseAsISO(ReadOnlySpan< byte > source, out DateTimeOffset value)
static bool TryCreateDateTimeOffset(ref DateTimeParseData parseData, out DateTimeOffset value)
static bool TryCreateDateTime(DateTimeParseData parseData, DateTimeKind kind, out DateTime value)
static bool IsInRangeInclusive(uint value, uint lowerBound, uint upperBound)
static Dictionary< TKey, TValue > CreateDictionaryFromCollection< TKey, TValue >(IEnumerable< KeyValuePair< TKey, TValue > > collection, IEqualityComparer< TKey > comparer)
static byte[] EscapeValue(ReadOnlySpan< byte > utf8Value, int firstEscapeIndexVal, JavaScriptEncoder encoder)
static byte[] GetEscapedPropertyNameSection(ReadOnlySpan< byte > utf8Value, int firstEscapeIndexVal, JavaScriptEncoder encoder)
static bool IsInRangeInclusive(int value, int lowerBound, int upperBound)
static void ValidateInt32MaxArrayLength(uint length)
static bool IsInRangeInclusive(long value, long lowerBound, long upperBound)
static bool TryParseDateTimeOffset(ReadOnlySpan< byte > source, out DateTimeParseData parseData)
static ReadOnlySpan< byte > GetSpan(this ref Utf8JsonReader reader)
static bool TryAdd< TKey, TValue >(this Dictionary< TKey, TValue > dictionary, in TKey key, in TValue value)
static bool IsValidDateTimeOffsetParseLength(int length)
static void ReadWithVerify(this ref Utf8JsonReader reader)
static bool TryGetNextTwoDigits(ReadOnlySpan< byte > source, ref int value)
static bool IsFinite(float value)
static byte[] GetPropertyNameSection(ReadOnlySpan< byte > utf8Value)
static bool TryCreateDateTimeOffsetInterpretingDataAsLocalTime(DateTimeParseData parseData, out DateTimeOffset value)
static byte[] GetEscapedPropertyNameSection(ReadOnlySpan< byte > utf8Value, JavaScriptEncoder encoder)
static bool IsDigit(byte value)
static readonly int[] s_daysToMonth365
static bool TryParseAsISO(ReadOnlySpan< byte > source, out DateTime value)
static bool NeedsEscaping(byte value)
static void EscapeString(ReadOnlySpan< byte > value, Span< byte > destination, JavaScriptEncoder encoder, ref int written)
static int GetMaxEscapedLength(int textLength, int firstIndexToEscape)
static void ThrowOutOfMemoryException(uint capacity)
static int DaysInMonth(int year, int month)
static bool IsLeapYear(int year)