101 references to IsAsciiDigit
Aspire.Hosting.RabbitMQ (4)
RabbitMQBuilderExtensions.cs (4)
223
if (!char.
IsAsciiDigit
(tag[0]))
229
if (!char.
IsAsciiDigit
(tag[^1]))
246
if (!(char.
IsAsciiDigit
(c) || c == '.') // Interim chars must be digits or a period
252
lastCharIsDigit = char.
IsAsciiDigit
(c);
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\CreditCardAttribute.cs (1)
35
if (!char.
IsAsciiDigit
(digit))
System.Console (4)
System\ConsolePal.Unix.cs (1)
623
if (char.
IsAsciiDigit
((char)b))
System\IO\KeyParser.cs (1)
336
_ when char.
IsAsciiDigit
(single) => ConsoleKey.D0 + single - '0', // We can't distinguish DX and Ctrl+DX as they produce same values. Limitation: Ctrl+DX can't be mapped.
System\TermInfo.cs (2)
188
Debug.Assert(char.
IsAsciiDigit
(format[pos]));
199
Debug.Assert(char.
IsAsciiDigit
(format[pos]));
System.Data.Common (1)
System\Data\SQLTypes\SQLDecimal.cs (1)
1078
if (char.
IsAsciiDigit
(usChar))
System.Diagnostics.FileVersionInfo (1)
System\Diagnostics\FileVersionInfo.Unix.cs (1)
237
if (!char.
IsAsciiDigit
(c))
System.Net.Http (3)
System\Net\Http\Headers\AltSvcHeaderParser.cs (1)
430
if (!char.
IsAsciiDigit
(ch))
System\Net\Http\Headers\RetryConditionHeaderValue.cs (1)
98
if (char.
IsAsciiDigit
(firstChar))
System\Net\Http\HttpRuleParser.cs (1)
113
if (char.
IsAsciiDigit
(c))
System.Net.Primitives (1)
src\libraries\Common\src\System\Net\IPv6AddressHelper.Common.cs (1)
211
if (!char.
IsAsciiDigit
((char)IPv4AddressHelper.ToUShort(name[i])))
System.Net.Quic (1)
src\libraries\Common\src\System\Net\IPv6AddressHelper.Common.cs (1)
211
if (!char.
IsAsciiDigit
((char)IPv4AddressHelper.ToUShort(name[i])))
System.Net.Security (1)
src\libraries\Common\src\System\Net\IPv6AddressHelper.Common.cs (1)
211
if (!char.
IsAsciiDigit
((char)IPv4AddressHelper.ToUShort(name[i])))
System.Private.CoreLib (18)
src\libraries\Common\src\System\Number.NumberBuffer.cs (1)
78
Debug.Assert(char.
IsAsciiDigit
((char)digit), $"Unexpected character found in Number: {digit}");
src\libraries\System.Private.CoreLib\src\System\Enum.cs (2)
935
if (!char.
IsAsciiDigit
(c) && c != '-' && c != '+')
993
if (!char.
IsAsciiDigit
(c) && c != '-' && c != '+')
src\libraries\System.Private.CoreLib\src\System\Environment.OSVersion.Unix.cs (1)
41
if (!char.
IsAsciiDigit
(c))
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (4)
475
while (str.GetNext() && char.
IsAsciiDigit
(ch = str.m_current))
5469
if (char.
IsAsciiDigit
(m_current))
5560
if (!char.
IsAsciiDigit
(m_current))
5915
currentType = char.
IsAsciiDigit
(ch) ? DTSubStringType.Number : DTSubStringType.Other;
src\libraries\System.Private.CoreLib\src\System\Globalization\IdnMapping.cs (1)
816
if (char.
IsAsciiDigit
(cp))
src\libraries\System.Private.CoreLib\src\System\Globalization\TimeSpanParse.cs (3)
1432
if (!char.
IsAsciiDigit
(ch))
1572
while (char.
IsAsciiDigit
(_ch))
1643
while (f > 1 && char.
IsAsciiDigit
(_ch))
src\libraries\System.Private.CoreLib\src\System\Text\CompositeFormat.cs (2)
201
while (char.
IsAsciiDigit
(ch))
258
while (char.
IsAsciiDigit
(ch))
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (2)
1604
while (char.
IsAsciiDigit
(ch) && index < IndexLimit)
1645
while (char.
IsAsciiDigit
(ch) && width < WidthLimit)
src\libraries\System.Private.CoreLib\src\System\Text\ValueStringBuilder.AppendFormat.cs (2)
99
while (char.
IsAsciiDigit
(ch) && index < IndexLimit)
140
while (char.
IsAsciiDigit
(ch) && width < WidthLimit)
System.Private.Uri (5)
src\libraries\Common\src\System\Net\IPv6AddressHelper.Common.cs (1)
211
if (!char.
IsAsciiDigit
((char)IPv4AddressHelper.ToUShort(name[i])))
System\IPv6AddressHelper.cs (1)
166
if (havePrefix ? char.
IsAsciiDigit
(name[i]) : char.IsAsciiHexDigit(name[i]))
System\UncNameHelper.cs (2)
67
else if (!char.
IsAsciiDigit
(name[i]))
99
else if (char.IsLetter(name[i]) || char.
IsAsciiDigit
(name[i]))
System\Uri.cs (1)
3867
else if (char.
IsAsciiDigit
(ch) && syntax.InFact(UriSyntaxFlags.AllowIPv4Host) &&
System.Private.Xml (54)
System\Xml\Core\XmlTextReaderImpl.cs (1)
7248
while (char.
IsAsciiDigit
(chars[pos]))
System\Xml\Schema\Inference\Infer.cs (41)
1791
if (char.
IsAsciiDigit
(s[i]))
1804
if (char.
IsAsciiDigit
(s[i]))
1817
if (char.
IsAsciiDigit
(s[i]))
1824
if (char.
IsAsciiDigit
(s[i]))
1830
if (char.
IsAsciiDigit
(s[i])) //".9999e+9
1846
if (char.
IsAsciiDigit
(s[i])) //-9
1860
if (char.
IsAsciiDigit
(s[i])) //"+9
1872
if (char.
IsAsciiDigit
(s[i])) //"P9"
1887
if (char.
IsAsciiDigit
(s[i]))
1904
if (char.
IsAsciiDigit
(s[i]))
1918
if (char.
IsAsciiDigit
(s[i]))
1935
if (char.
IsAsciiDigit
(s[i]))
1947
if (char.
IsAsciiDigit
(s[i]))
1968
if (char.
IsAsciiDigit
(s[i]))
1985
if (char.
IsAsciiDigit
(s[i]))
1997
if (char.
IsAsciiDigit
(s[i]))
2012
if (char.
IsAsciiDigit
(s[i]))
2024
if (char.
IsAsciiDigit
(s[i]))
2037
if (char.
IsAsciiDigit
(s[i]))
2049
if (char.
IsAsciiDigit
(s[i]))
2060
if (char.
IsAsciiDigit
(s[i]))
2109
if (char.
IsAsciiDigit
(s[i]))
2137
if (char.
IsAsciiDigit
(s[i]))
2163
if (char.
IsAsciiDigit
(s[i]))
2192
if (char.
IsAsciiDigit
(s[i]))
2199
if (!char.
IsAsciiDigit
(s[i]))
2202
if (!char.
IsAsciiDigit
(s[i]))
2226
if (!char.
IsAsciiDigit
(s[i]))
2229
if (!char.
IsAsciiDigit
(s[i]))
2267
if (!char.
IsAsciiDigit
(s[i]))
2270
if (!char.
IsAsciiDigit
(s[i]))
2277
if (!char.
IsAsciiDigit
(s[i]))
2280
if (!char.
IsAsciiDigit
(s[i]))
2298
if (!char.
IsAsciiDigit
(s[i]))
2301
if (!char.
IsAsciiDigit
(s[i]))
2308
if (!char.
IsAsciiDigit
(s[i]))
2311
if (!char.
IsAsciiDigit
(s[i]))
2317
if (!char.
IsAsciiDigit
(s[i]))
2320
if (!char.
IsAsciiDigit
(s[i]))
2338
if (!char.
IsAsciiDigit
(s[i]))
2351
if (char.
IsAsciiDigit
(s[i]))
System\Xml\Schema\XsdDuration.cs (2)
649
while (offset < offsetEnd && char.
IsAsciiDigit
(s[offset]))
663
while (offset < offsetEnd && char.
IsAsciiDigit
(s[offset]))
System\Xml\XPath\Internal\XPathScanner.cs (7)
185
else if (char.
IsAsciiDigit
(CurrentChar))
206
if (char.
IsAsciiDigit
(CurrentChar))
277
Debug.Assert(CurrentChar == '.' || char.
IsAsciiDigit
(CurrentChar));
280
while (char.
IsAsciiDigit
(CurrentChar))
287
while (char.
IsAsciiDigit
(CurrentChar))
297
Debug.Assert(char.
IsAsciiDigit
(CurrentChar));
301
while (char.
IsAsciiDigit
(CurrentChar))
System\Xml\Xsl\Runtime\DecimalFormatter.cs (3)
174
if (char.
IsAsciiDigit
(ch) || ch == EscChar)
258
if (char.
IsAsciiDigit
(ch))
268
Debug.Assert(char.
IsAsciiDigit
(ch) || ch == EscChar);
System.Reflection.Emit (4)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\SymbolType.cs (4)
103
if (char.
IsAsciiDigit
(format[curIndex]) || format[curIndex] == '-')
113
while (char.
IsAsciiDigit
(format[curIndex]))
142
if (char.
IsAsciiDigit
(format[curIndex]) || format[curIndex] == '-')
153
while (char.
IsAsciiDigit
(format[curIndex]))
System.Runtime.Numerics (2)
src\libraries\Common\src\System\Number.Formatting.Common.cs (1)
98
while ((uint)i < (uint)format.Length && char.
IsAsciiDigit
(format[i]))
src\libraries\Common\src\System\Number.NumberBuffer.cs (1)
78
Debug.Assert(char.
IsAsciiDigit
((char)digit), $"Unexpected character found in Number: {digit}");
System.Security.Cryptography (1)
System\Security\Cryptography\X509Certificates\FindPal.cs (1)
250
if (char.
IsAsciiDigit
(c))