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