193 references to CharUnicodeInfo
Aspire.Hosting.Azure (1)
Utils\ResourceGroupNameHelpers.cs (1)
47var unicodeCategory = CharUnicodeInfo.GetUnicodeCategory(c);
dotnet-svcutil-lib (6)
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (1)
2219UnicodeCategory uc = CharUnicodeInfo.GetUnicodeCategory(ch);
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeIdentifier.cs (1)
112UnicodeCategory uc = CharUnicodeInfo.GetUnicodeCategory(c);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (2)
1519return (CharUnicodeInfo.GetUnicodeCategory(c) != UnicodeCategory.DecimalDigitNumber); 1524UnicodeCategory uc = CharUnicodeInfo.GetUnicodeCategory(c);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\UniqueCodeIdentifierScope.cs (2)
62return (CharUnicodeInfo.GetUnicodeCategory(c) != UnicodeCategory.DecimalDigitNumber); 67UnicodeCategory uc = CharUnicodeInfo.GetUnicodeCategory(c);
GenerateDocumentationAndConfigFiles (4)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\UnicodeCharacterUtilities.cs (3)
42return IsLetterChar(CharUnicodeInfo.GetUnicodeCategory(ch)); 80UnicodeCategory cat = CharUnicodeInfo.GetUnicodeCategory(ch); 177return ch > 127 && IsFormattingChar(CharUnicodeInfo.GetUnicodeCategory(ch));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\WellKnownTypeProvider.cs (1)
271UnicodeCategory cat = CharUnicodeInfo.GetUnicodeCategory(ch);
Microsoft.AspNetCore.App.Analyzers (4)
Infrastructure\VirtualChars\System.Text\Rune.cs (4)
1138return CharUnicodeInfo.GetNumericValue((char)value._value); 1140return CharUnicodeInfo.GetNumericValue(value.ToString(), 0); 1165return CharUnicodeInfo.GetUnicodeCategory((char)value._value); 1167return CharUnicodeInfo.GetUnicodeCategory(value.ToString(), 0);
Microsoft.Build (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\RegexGenerator.g.cs (1)
7029(WordCategoriesMask & (1 << (int)CharUnicodeInfo.GetUnicodeCategory(ch))) != 0;
Microsoft.Build.Tasks.CodeAnalysis (3)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\UnicodeCharacterUtilities.cs (3)
42return IsLetterChar(CharUnicodeInfo.GetUnicodeCategory(ch)); 80UnicodeCategory cat = CharUnicodeInfo.GetUnicodeCategory(ch); 177return ch > 127 && IsFormattingChar(CharUnicodeInfo.GetUnicodeCategory(ch));
Microsoft.Build.Tasks.Core (7)
CreateManifestResourceName.cs (2)
291CharUnicodeInfo.GetUnicodeCategory(c) == UnicodeCategory.ConnectorPunctuation; 299UnicodeCategory cat = CharUnicodeInfo.GetUnicodeCategory(c);
parent\Shared\LanguageParser\tokenChar.cs (5)
36UnicodeCategory cat = System.Globalization.CharUnicodeInfo.GetUnicodeCategory(c); 60UnicodeCategory cat = System.Globalization.CharUnicodeInfo.GetUnicodeCategory(c); 79UnicodeCategory cat = System.Globalization.CharUnicodeInfo.GetUnicodeCategory(c); 99UnicodeCategory cat = System.Globalization.CharUnicodeInfo.GetUnicodeCategory(c); 119UnicodeCategory cat = System.Globalization.CharUnicodeInfo.GetUnicodeCategory(c);
Microsoft.CodeAnalysis (3)
InternalUtilities\UnicodeCharacterUtilities.cs (3)
42return IsLetterChar(CharUnicodeInfo.GetUnicodeCategory(ch)); 80UnicodeCategory cat = CharUnicodeInfo.GetUnicodeCategory(ch); 177return ch > 127 && IsFormattingChar(CharUnicodeInfo.GetUnicodeCategory(ch));
Microsoft.CodeAnalysis.Analyzers (8)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\UnicodeCharacterUtilities.cs (3)
42return IsLetterChar(CharUnicodeInfo.GetUnicodeCategory(ch)); 80UnicodeCategory cat = CharUnicodeInfo.GetUnicodeCategory(ch); 177return ch > 127 && IsFormattingChar(CharUnicodeInfo.GetUnicodeCategory(ch));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\WellKnownTypeProvider.cs (1)
271UnicodeCategory cat = CharUnicodeInfo.GetUnicodeCategory(ch);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\System.Text\Rune.cs (4)
1128return CharUnicodeInfo.GetNumericValue((char)value._value); 1130return CharUnicodeInfo.GetNumericValue(value.ToString(), 0); 1155return CharUnicodeInfo.GetUnicodeCategory((char)value._value); 1157return CharUnicodeInfo.GetUnicodeCategory(value.ToString(), 0);
Microsoft.CodeAnalysis.AnalyzerUtilities (8)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\UnicodeCharacterUtilities.cs (3)
42return IsLetterChar(CharUnicodeInfo.GetUnicodeCategory(ch)); 80UnicodeCategory cat = CharUnicodeInfo.GetUnicodeCategory(ch); 177return ch > 127 && IsFormattingChar(CharUnicodeInfo.GetUnicodeCategory(ch));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\WellKnownTypeProvider.cs (1)
271UnicodeCategory cat = CharUnicodeInfo.GetUnicodeCategory(ch);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\System.Text\Rune.cs (4)
1128return CharUnicodeInfo.GetNumericValue((char)value._value); 1130return CharUnicodeInfo.GetNumericValue(value.ToString(), 0); 1155return CharUnicodeInfo.GetUnicodeCategory((char)value._value); 1157return CharUnicodeInfo.GetUnicodeCategory(value.ToString(), 0);
Microsoft.CodeAnalysis.CodeStyle (7)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\UnicodeCharacterUtilities.cs (3)
42return IsLetterChar(CharUnicodeInfo.GetUnicodeCategory(ch)); 80UnicodeCategory cat = CharUnicodeInfo.GetUnicodeCategory(ch); 177return ch > 127 && IsFormattingChar(CharUnicodeInfo.GetUnicodeCategory(ch));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\System.Text\Rune.cs (4)
1128return CharUnicodeInfo.GetNumericValue((char)value._value); 1130return CharUnicodeInfo.GetNumericValue(value.ToString(), 0); 1155return CharUnicodeInfo.GetUnicodeCategory((char)value._value); 1157return CharUnicodeInfo.GetUnicodeCategory(value.ToString(), 0);
Microsoft.CodeAnalysis.CSharp (4)
Parser\CharacterInfo.cs (1)
142|| (ch > 255 && CharUnicodeInfo.GetUnicodeCategory(ch) == UnicodeCategory.SpaceSeparator);
SymbolDisplay\ObjectDisplay.cs (3)
179if (NeedsEscaping(CharUnicodeInfo.GetUnicodeCategory(c))) 241if (escapeNonPrintable && CharUnicodeInfo.GetUnicodeCategory(c) == UnicodeCategory.Surrogate) 243var category = CharUnicodeInfo.GetUnicodeCategory(value, i);
Microsoft.CodeAnalysis.Features (1)
EmbeddedLanguages\RegularExpressions\RegexCharClass.cs (1)
208switch (CharUnicodeInfo.GetUnicodeCategory(ch))
Microsoft.CodeAnalysis.NetAnalyzers (1)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\WellKnownTypeProvider.cs (1)
325UnicodeCategory cat = CharUnicodeInfo.GetUnicodeCategory(ch);
Microsoft.CodeAnalysis.ResxSourceGenerator (10)
AbstractResxGenerator.cs (2)
762=> ch == '_' || IsLetterChar(CharUnicodeInfo.GetUnicodeCategory(ch)); 766var cat = CharUnicodeInfo.GetUnicodeCategory(ch);
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\UnicodeCharacterUtilities.cs (3)
42return IsLetterChar(CharUnicodeInfo.GetUnicodeCategory(ch)); 80UnicodeCategory cat = CharUnicodeInfo.GetUnicodeCategory(ch); 177return ch > 127 && IsFormattingChar(CharUnicodeInfo.GetUnicodeCategory(ch));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\WellKnownTypeProvider.cs (1)
271UnicodeCategory cat = CharUnicodeInfo.GetUnicodeCategory(ch);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\System.Text\Rune.cs (4)
1128return CharUnicodeInfo.GetNumericValue((char)value._value); 1130return CharUnicodeInfo.GetNumericValue(value.ToString(), 0); 1155return CharUnicodeInfo.GetUnicodeCategory((char)value._value); 1157return CharUnicodeInfo.GetUnicodeCategory(value.ToString(), 0);
Microsoft.CodeAnalysis.VisualBasic (8)
Scanner\CharacterInfo.vb (5)
69Return CharUnicodeInfo.GetUnicodeCategory(ch) = UnicodeCategory.SpaceSeparator 233Dim CharacterProperties As UnicodeCategory = CharUnicodeInfo.GetUnicodeCategory(c) 377Dim CharacterProperties As UnicodeCategory = CharUnicodeInfo.GetUnicodeCategory(c) 470Return CharUnicodeInfo.GetUnicodeCategory(c) = UnicodeCategory.ConnectorPunctuation 474Return CharUnicodeInfo.GetUnicodeCategory(c) = UnicodeCategory.SpaceSeparator
SymbolDisplay\ObjectDisplay.vb (3)
398ElseIf CharUnicodeInfo.GetUnicodeCategory(c) = UnicodeCategory.Surrogate AndAlso IsPrintable(CharUnicodeInfo.GetUnicodeCategory(str, i - 1)) Then 490Return IsPrintable(CharUnicodeInfo.GetUnicodeCategory(c))
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ExpressionGenerator.StringPiece.vb (3)
22Dim category = CharUnicodeInfo.GetUnicodeCategory(c) 88Dim category = CharUnicodeInfo.GetUnicodeCategory(c) 90Dim fullCategory = CharUnicodeInfo.GetUnicodeCategory(value, i - 1)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ExpressionGenerator.StringPiece.vb (3)
22Dim category = CharUnicodeInfo.GetUnicodeCategory(c) 88Dim category = CharUnicodeInfo.GetUnicodeCategory(c) 90Dim fullCategory = CharUnicodeInfo.GetUnicodeCategory(value, i - 1)
Microsoft.CodeAnalysis.Workspaces (3)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\UnicodeCharacterUtilities.cs (3)
42return IsLetterChar(CharUnicodeInfo.GetUnicodeCategory(ch)); 80UnicodeCategory cat = CharUnicodeInfo.GetUnicodeCategory(ch); 177return ch > 127 && IsFormattingChar(CharUnicodeInfo.GetUnicodeCategory(ch));
Microsoft.DotNet.Arcade.Sdk (2)
src\GenerateResxSource.cs (2)
395=> ch == '_' || IsLetterChar(CharUnicodeInfo.GetUnicodeCategory(ch)); 399var cat = CharUnicodeInfo.GetUnicodeCategory(ch);
Microsoft.Extensions.FileProviders.Embedded (2)
EmbeddedFileProvider.cs (2)
202CharUnicodeInfo.GetUnicodeCategory(c) == UnicodeCategory.ConnectorPunctuation; 210var cat = CharUnicodeInfo.GetUnicodeCategory(c);
Microsoft.ML.Tokenizers (3)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\RegexGenerator.g.cs (1)
2332(WordCategoriesMask & (1 << (int)CharUnicodeInfo.GetUnicodeCategory(ch))) != 0;
Normalizer\BertNormalizer.cs (1)
62UnicodeCategory category = CharUnicodeInfo.GetUnicodeCategory(original, i);
Normalizer\SentencePieceNormalizationStep.cs (1)
290if (CharUnicodeInfo.GetUnicodeCategory(decomposed, i) == UnicodeCategory.NonSpacingMark)
Microsoft.ML.Transforms (3)
Expression\LexCharUtils.cs (3)
156return (UniCatFlags)(1u << (int)CharUnicodeInfo.GetUnicodeCategory(ch)); 201return ch >= _rgchi.Length && CharUnicodeInfo.GetUnicodeCategory(ch) == UnicodeCategory.Format; 207return CharUnicodeInfo.GetUnicodeCategory(ch) == UnicodeCategory.SpaceSeparator;
Microsoft.NET.Build.Containers (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\RegexGenerator.g.cs (1)
266(WordCategoriesMask & (1 << (int)CharUnicodeInfo.GetUnicodeCategory(ch))) != 0;
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (3)
UnicodeCharacterUtilities.cs (3)
40return IsLetterChar(CharUnicodeInfo.GetUnicodeCategory(ch)); 78UnicodeCategory cat = CharUnicodeInfo.GetUnicodeCategory(ch); 121return ch > 127 && IsFormattingChar(CharUnicodeInfo.GetUnicodeCategory(ch));
Microsoft.TestPlatform.AdapterUtilities (1)
ManagedNameUtilities\ManagedNameHelper.Reflection.cs (1)
609var category = CharUnicodeInfo.GetUnicodeCategory(c);
mscorlib (1)
parent\ref\mscorlib.cs (1)
249[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Globalization.CharUnicodeInfo))]
netstandard (1)
netstandard.cs (1)
819[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Globalization.CharUnicodeInfo))]
NuGet.Common (1)
Tokenizer\Tokenizer.cs (1)
63var c = CharUnicodeInfo.GetUnicodeCategory(ch);
Roslyn.Diagnostics.Analyzers (8)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\UnicodeCharacterUtilities.cs (3)
42return IsLetterChar(CharUnicodeInfo.GetUnicodeCategory(ch)); 80UnicodeCategory cat = CharUnicodeInfo.GetUnicodeCategory(ch); 177return ch > 127 && IsFormattingChar(CharUnicodeInfo.GetUnicodeCategory(ch));
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\WellKnownTypeProvider.cs (1)
271UnicodeCategory cat = CharUnicodeInfo.GetUnicodeCategory(ch);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\System.Text\Rune.cs (4)
1128return CharUnicodeInfo.GetNumericValue((char)value._value); 1130return CharUnicodeInfo.GetNumericValue(value.ToString(), 0); 1155return CharUnicodeInfo.GetUnicodeCategory((char)value._value); 1157return CharUnicodeInfo.GetUnicodeCategory(value.ToString(), 0);
Roslyn.Diagnostics.VisualBasic.Analyzers (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ExpressionGenerator.StringPiece.vb (3)
22Dim category = CharUnicodeInfo.GetUnicodeCategory(c) 88Dim category = CharUnicodeInfo.GetUnicodeCategory(c) 90Dim fullCategory = CharUnicodeInfo.GetUnicodeCategory(value, i - 1)
System.CodeDom (1)
src\runtime\src\libraries\Common\src\System\CSharpHelpers.cs (1)
155UnicodeCategory uc = CharUnicodeInfo.GetUnicodeCategory(ch);
System.Globalization (1)
System.Globalization.cs (1)
14[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Globalization.CharUnicodeInfo))]
System.Private.CoreLib (66)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (39)
373return CharUnicodeInfo.GetUnicodeCategory(c) == UnicodeCategory.DecimalDigitNumber; 413return CheckLetter(CharUnicodeInfo.GetUnicodeCategory(c)); 434return CharUnicodeInfo.GetIsWhiteSpace(c); 448return CharUnicodeInfo.GetUnicodeCategory(c) == UnicodeCategory.UppercaseLetter; 462return CharUnicodeInfo.GetUnicodeCategory(c) == UnicodeCategory.LowercaseLetter; 479CharUnicodeInfo.GetUnicodeCategory(c)); 503CharUnicodeInfo.GetUnicodeCategory(c)); 703return CharUnicodeInfo.GetUnicodeCategoryInternal(s, index) == UnicodeCategory.DecimalDigitNumber; 724return CheckLetter(CharUnicodeInfo.GetUnicodeCategoryInternal(s, index)); 741CharUnicodeInfo.GetUnicodeCategoryInternal(s, index)); 761return CharUnicodeInfo.GetUnicodeCategoryInternal(s, index) == UnicodeCategory.LowercaseLetter; 783return CheckNumber(CharUnicodeInfo.GetUnicodeCategory(c)); 808return CheckNumber(CharUnicodeInfo.GetUnicodeCategoryInternal(s, index)); 833CharUnicodeInfo.GetUnicodeCategoryInternal(s, index)); 858return CheckSeparator(CharUnicodeInfo.GetUnicodeCategory(c)); 878return CheckSeparator(CharUnicodeInfo.GetUnicodeCategoryInternal(s, index)); 883return IsBetween(c, CharUnicodeInfo.HIGH_SURROGATE_START, CharUnicodeInfo.LOW_SURROGATE_END); 913CharUnicodeInfo.GetUnicodeCategory(c)); 930CharUnicodeInfo.GetUnicodeCategoryInternal(s, index)); 950return CharUnicodeInfo.GetUnicodeCategoryInternal(s, index) == UnicodeCategory.UppercaseLetter; 976return CharUnicodeInfo.GetUnicodeCategory((int)c); 995return CharUnicodeInfo.GetUnicodeCategoryInternal(s, index); 1000return CharUnicodeInfo.GetNumericValue(c); 1014return CharUnicodeInfo.GetNumericValueInternal(s, index); 1022return IsBetween(c, CharUnicodeInfo.HIGH_SURROGATE_START, CharUnicodeInfo.HIGH_SURROGATE_END); 1044return IsBetween(c, CharUnicodeInfo.LOW_SURROGATE_START, CharUnicodeInfo.LOW_SURROGATE_END); 1090uint highSurrogateOffset = (uint)highSurrogate - CharUnicodeInfo.HIGH_SURROGATE_START; 1091uint lowSurrogateOffset = (uint)lowSurrogate - CharUnicodeInfo.LOW_SURROGATE_START; 1092return (highSurrogateOffset | lowSurrogateOffset) <= CharUnicodeInfo.HIGH_SURROGATE_RANGE; 1125uint highSurrogateOffset = (uint)highSurrogate - CharUnicodeInfo.HIGH_SURROGATE_START; 1126uint lowSurrogateOffset = (uint)lowSurrogate - CharUnicodeInfo.LOW_SURROGATE_START; 1132if ((highSurrogateOffset | lowSurrogateOffset) > CharUnicodeInfo.HIGH_SURROGATE_RANGE) 1138return ((int)highSurrogateOffset << 10) + (lowSurrogate - CharUnicodeInfo.LOW_SURROGATE_START) + (0x40 << 10); 1148if (highSurrogateOffset > CharUnicodeInfo.HIGH_SURROGATE_RANGE) 1183int temp1 = s[index] - CharUnicodeInfo.HIGH_SURROGATE_START; 1193int temp2 = s[index + 1] - CharUnicodeInfo.LOW_SURROGATE_START;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\IdnMapping.cs (5)
449StrongBidiCategory eBidi = CharUnicodeInfo.GetBidiCategory(unicode, iAfterLastDot); 462eBidi = CharUnicodeInfo.GetBidiCategory(unicode, iTest); 479StrongBidiCategory testBidi = CharUnicodeInfo.GetBidiCategory(unicode, basicCount); 905StrongBidiCategory eBidi = CharUnicodeInfo.GetBidiCategory(output, iOutputAfterLastDot); 920eBidi = CharUnicodeInfo.GetBidiCategory(output, iTest);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\InvariantModeCasing.cs (4)
14internal static char ToLower(char c) => CharUnicodeInfo.ToLower(c); 17internal static char ToUpper(char c) => CharUnicodeInfo.ToUpper(c); 206uint aUpper = CharUnicodeInfo.ToUpper(codePointA); 207uint bUpper = CharUnicodeInfo.ToUpper(codePointB);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\Normalization.Icu.cs (2)
219int i = s.IndexOfAnyInRange(CharUnicodeInfo.HIGH_SURROGATE_START, Noncharacter); 225if (c < CharUnicodeInfo.HIGH_SURROGATE_START)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\NumberFormatInfo.cs (2)
150if (CharUnicodeInfo.GetDecimalDigitValue(nativeDig[i], 0) != i && 151CharUnicodeInfo.GetUnicodeCategory(nativeDig[i], 0) != UnicodeCategory.PrivateUse)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\OrdinalCasing.Icu.cs (2)
346uint upperSurrogateA = CharUnicodeInfo.ToUpper(UnicodeUtility.GetScalarFromUtf16SurrogatePair(a, lowSurrogateA)); 347uint upperSurrogateB = CharUnicodeInfo.ToUpper(UnicodeUtility.GetScalarFromUtf16SurrogatePair(b, lowSurrogateB));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\SurrogateCasing.cs (2)
18UnicodeUtility.GetUtf16SurrogatesFromSupplementaryPlaneScalar(CharUnicodeInfo.ToUpper(UnicodeUtility.GetScalarFromUtf16SurrogatePair(h, l)), out hr, out lr); 30UnicodeUtility.GetUtf16SurrogatesFromSupplementaryPlaneScalar(CharUnicodeInfo.ToLower(UnicodeUtility.GetScalarFromUtf16SurrogatePair(h, l)), out hr, out lr);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\TextInfo.cs (2)
636UnicodeCategory charType = CharUnicodeInfo.GetUnicodeCategoryInternal(str, i, out int charLen); 663charType = CharUnicodeInfo.GetUnicodeCategoryInternal(str, i, out charLen);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (7)
1303return CharUnicodeInfo.GetNumericValue(value.Value); 1330return CharUnicodeInfo.GetUnicodeCategory(value.Value); 1490CharUnicodeInfo.GetIsWhiteSpace((char)value._value); 1534return UnsafeCreate(CharUnicodeInfo.ToLower(value._value)); 1583return UnsafeCreate(CharUnicodeInfo.ToUpper(value._value)); 1614uint upper = CharUnicodeInfo.ToUpper(value._value); 1637uint lower = CharUnicodeInfo.ToLower(value._value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Unicode\TextSegmentationUtility.cs (1)
230CurrentType = CharUnicodeInfo.GetGraphemeClusterBreakType(thisRune);
System.Private.Xml (5)
src\runtime\src\libraries\Common\src\System\CSharpHelpers.cs (1)
155UnicodeCategory uc = CharUnicodeInfo.GetUnicodeCategory(ch);
System\Xml\Serialization\CodeIdentifier.cs (2)
115if (CharUnicodeInfo.GetUnicodeCategory(c) == UnicodeCategory.DecimalDigitNumber) 122UnicodeCategory uc = CharUnicodeInfo.GetUnicodeCategory(c);
System\Xml\Xsl\Runtime\NumberFormatter.cs (2)
16int category = (int)Globalization.CharUnicodeInfo.GetUnicodeCategory(ch); 25int category = (int)Globalization.CharUnicodeInfo.GetUnicodeCategory(--ch);
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net12.0\System.Runtime.Forwards.cs (1)
222[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Globalization.CharUnicodeInfo))]
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\RegexCharClass.cs (2)
1193(WordCategoriesMask & (1 << (int)CharUnicodeInfo.GetUnicodeCategory(ch))) != 0; 1212(IsWordCategory(CharUnicodeInfo.GetUnicodeCategory(ch)) ||
System.Text.RegularExpressions.Generator (2)
parent\src\System\Text\RegularExpressions\RegexCharClass.cs (2)
1193(WordCategoriesMask & (1 << (int)CharUnicodeInfo.GetUnicodeCategory(ch))) != 0; 1212(IsWordCategory(CharUnicodeInfo.GetUnicodeCategory(ch)) ||
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Internals\ClientUtils.cs (1)
37CharUnicodeInfo.GetUnicodeCategory(character) == UnicodeCategory.NonSpacingMark;