24 references to IsAscii
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Infrastructure\HttpUtilities.cs (1)
330
Debug.Assert(char.
IsAscii
(c), "Must already be validated");
System.Private.CoreLib (19)
src\libraries\Common\src\System\Number.Formatting.Common.cs (1)
867
if (sizeof(TChar) == sizeof(char) || char.
IsAscii
(ch))
src\libraries\System.Private.CoreLib\src\System\Char.cs (4)
351
if (
IsAscii
(c))
647
if (
IsAscii
(c))
706
if (
IsAscii
(c))
729
if (
IsAscii
(c))
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormat.cs (1)
749
if (typeof(TChar) == typeof(char) || char.
IsAscii
(ch))
src\libraries\System.Private.CoreLib\src\System\Globalization\Ordinal.cs (3)
357
if (!char.
IsAscii
(valueChar))
378
if (char.
IsAscii
(valueCharU))
446
if (!char.
IsAscii
(tmp))
src\libraries\System.Private.CoreLib\src\System\Globalization\TextInfo.cs (1)
202
return char.
IsAscii
(c)
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyName.cs (1)
344
if (!char.
IsAscii
(ch))
src\libraries\System.Private.CoreLib\src\System\SearchValues\Any2CharPackedIgnoreCaseSearchValues.cs (2)
23
Debug.Assert((value0 | 0x20) == value0 && char.
IsAscii
(value0));
24
Debug.Assert((value1 | 0x20) == value1 && char.
IsAscii
(value1));
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\AhoCorasickNode.cs (1)
113
float newFrequency = char.
IsAscii
(childChar) ? CharacterFrequencyHelper.AsciiFrequency[childChar] : -1;
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\CharacterFrequencyHelper.cs (1)
99
if (char.
IsAscii
(c))
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\TeddyBucketizer.cs (2)
29
Debug.Assert(char.
IsAscii
(c));
62
Debug.Assert(char.
IsAscii
(c));
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\StringSearchValues.cs (1)
329
Debug.Assert(char.
IsAscii
(c));
src\libraries\System.Private.CoreLib\src\System\String.Searching.cs (1)
69
if (!char.
IsAscii
(value))
System.Private.Uri (2)
System\UriExt.cs (1)
248
if (!char.
IsAscii
(value) || UriHelper.Unreserved.Contains(value))
System\UriHelper.cs (1)
247
if (!char.
IsAscii
(c))
System.Runtime.Numerics (1)
src\libraries\Common\src\System\Number.Formatting.Common.cs (1)
867
if (sizeof(TChar) == sizeof(char) || char.
IsAscii
(ch))
System.Text.Encodings.Web (1)
System\Text\Encodings\Web\OptimizedInboxTextEncoder.cs (1)
406
if ((uint)asciiCharsSkipped >= (uint)data.Length || char.
IsAscii
(data[asciiCharsSkipped]))