100 references to ParserHelpers
System.Private.CoreLib (100)
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Utf8Parser\Utf8Parser.Date.cs (2)
96return ParserHelpers.TryParseThrowFormatException(out value, out bytesConsumed); 130_ => ParserHelpers.TryParseThrowFormatException(out value, out bytesConsumed),
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Utf8Parser\Utf8Parser.Decimal.cs (1)
47return ParserHelpers.TryParseThrowFormatException(out value, out bytesConsumed);
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Utf8Parser\Utf8Parser.Float.cs (1)
96return ParserHelpers.TryParseThrowFormatException(out bytesConsumed);
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Utf8Parser\Utf8Parser.Guid.cs (1)
49return ParserHelpers.TryParseThrowFormatException(source, out value, out bytesConsumed);
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Utf8Parser\Utf8Parser.Integer.Signed.cs (4)
62return ParserHelpers.TryParseThrowFormatException(source, out value, out bytesConsumed); 114return ParserHelpers.TryParseThrowFormatException(source, out value, out bytesConsumed); 166return ParserHelpers.TryParseThrowFormatException(source, out value, out bytesConsumed); 218return ParserHelpers.TryParseThrowFormatException(source, out value, out bytesConsumed);
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Utf8Parser\Utf8Parser.Integer.Signed.D.cs (25)
34if (ParserHelpers.IsDigit(num)) 45if (!ParserHelpers.IsDigit(num)) 55if (!ParserHelpers.IsDigit(num)) 64if (!ParserHelpers.IsDigit(num)) 75if (!ParserHelpers.IsDigit(source[index])) 119if (ParserHelpers.IsDigit(num)) 130if (!ParserHelpers.IsDigit(num)) 140if (!ParserHelpers.IsDigit(num)) 148if (!ParserHelpers.IsDigit(num)) 156if (!ParserHelpers.IsDigit(num)) 165if (!ParserHelpers.IsDigit(num)) 176if (!ParserHelpers.IsDigit(source[index])) 220if (ParserHelpers.IsDigit(num)) 231if (!ParserHelpers.IsDigit(num)) 241if (!ParserHelpers.IsDigit(num)) 249if (!ParserHelpers.IsDigit(num)) 257if (!ParserHelpers.IsDigit(num)) 265if (!ParserHelpers.IsDigit(num)) 273if (!ParserHelpers.IsDigit(num)) 281if (!ParserHelpers.IsDigit(num)) 289if (!ParserHelpers.IsDigit(num)) 297if (!ParserHelpers.IsDigit(num)) 306if (!ParserHelpers.IsDigit(num)) 319if (!ParserHelpers.IsDigit(source[index])) 376int overflowLength = ParserHelpers.Int64OverflowLength + idx; // +idx to account for any sign char we read
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Utf8Parser\Utf8Parser.Integer.Signed.N.cs (12)
39if (!ParserHelpers.IsDigit(c)) 56if (!ParserHelpers.IsDigit(c)) 85if (ParserHelpers.IsDigit(c)) 131if (!ParserHelpers.IsDigit(c)) 148if (!ParserHelpers.IsDigit(c)) 177if (ParserHelpers.IsDigit(c)) 223if (!ParserHelpers.IsDigit(c)) 240if (!ParserHelpers.IsDigit(c)) 272if (ParserHelpers.IsDigit(c)) 318if (!ParserHelpers.IsDigit(c)) 335if (!ParserHelpers.IsDigit(c)) 367if (ParserHelpers.IsDigit(c))
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Utf8Parser\Utf8Parser.Integer.Unsigned.cs (4)
55return ParserHelpers.TryParseThrowFormatException(source, out value, out bytesConsumed); 107return ParserHelpers.TryParseThrowFormatException(source, out value, out bytesConsumed); 159return ParserHelpers.TryParseThrowFormatException(source, out value, out bytesConsumed); 211return ParserHelpers.TryParseThrowFormatException(source, out value, out bytesConsumed);
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Utf8Parser\Utf8Parser.Integer.Unsigned.D.cs (25)
17if (ParserHelpers.IsDigit(num)) 28if (!ParserHelpers.IsDigit(num)) 38if (!ParserHelpers.IsDigit(num)) 47if (!ParserHelpers.IsDigit(num)) 56if (!ParserHelpers.IsDigit(source[index])) 83if (ParserHelpers.IsDigit(num)) 94if (!ParserHelpers.IsDigit(num)) 104if (!ParserHelpers.IsDigit(num)) 112if (!ParserHelpers.IsDigit(num)) 120if (!ParserHelpers.IsDigit(num)) 129if (!ParserHelpers.IsDigit(num)) 138if (!ParserHelpers.IsDigit(source[index])) 165if (ParserHelpers.IsDigit(num)) 176if (!ParserHelpers.IsDigit(num)) 186if (!ParserHelpers.IsDigit(num)) 194if (!ParserHelpers.IsDigit(num)) 202if (!ParserHelpers.IsDigit(num)) 210if (!ParserHelpers.IsDigit(num)) 218if (!ParserHelpers.IsDigit(num)) 226if (!ParserHelpers.IsDigit(num)) 234if (!ParserHelpers.IsDigit(num)) 242if (!ParserHelpers.IsDigit(num)) 251if (!ParserHelpers.IsDigit(num)) 260if (!ParserHelpers.IsDigit(source[index])) 298if (source.Length < ParserHelpers.UInt64OverflowLength)
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Utf8Parser\Utf8Parser.Integer.Unsigned.N.cs (12)
33if (!ParserHelpers.IsDigit(c)) 50if (!ParserHelpers.IsDigit(c)) 77if (ParserHelpers.IsDigit(c)) 114if (!ParserHelpers.IsDigit(c)) 131if (!ParserHelpers.IsDigit(c)) 158if (ParserHelpers.IsDigit(c)) 195if (!ParserHelpers.IsDigit(c)) 212if (!ParserHelpers.IsDigit(c)) 239if (ParserHelpers.IsDigit(c)) 276if (!ParserHelpers.IsDigit(c)) 293if (!ParserHelpers.IsDigit(c)) 320if (ParserHelpers.IsDigit(c))
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Utf8Parser\Utf8Parser.Integer.Unsigned.X.cs (12)
32if (source.Length <= ParserHelpers.ByteOverflowLengthHex) 52for (int index = 1; index < ParserHelpers.ByteOverflowLengthHex; index++) 64for (int index = ParserHelpers.ByteOverflowLengthHex; index < source.Length; index++) 114if (source.Length <= ParserHelpers.Int16OverflowLengthHex) 134for (int index = 1; index < ParserHelpers.Int16OverflowLengthHex; index++) 146for (int index = ParserHelpers.Int16OverflowLengthHex; index < source.Length; index++) 196if (source.Length <= ParserHelpers.Int32OverflowLengthHex) 216for (int index = 1; index < ParserHelpers.Int32OverflowLengthHex; index++) 228for (int index = ParserHelpers.Int32OverflowLengthHex; index < source.Length; index++) 278if (source.Length <= ParserHelpers.Int64OverflowLengthHex) 298for (int index = 1; index < ParserHelpers.Int64OverflowLengthHex; index++) 310for (int index = ParserHelpers.Int64OverflowLengthHex; index < source.Length; index++)
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Utf8Parser\Utf8Parser.TimeSpan.cs (1)
36_ => ParserHelpers.TryParseThrowFormatException(out value, out bytesConsumed),