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