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