598 references to UnicodeCategory
mscorlib (346)
system\char.cs (308)
47
(byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, // 0000 - 0007
48
(byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, // 0008 - 000F
49
(byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, // 0010 - 0017
50
(byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, // 0018 - 001F
51
(byte)
UnicodeCategory
.SpaceSeparator, (byte)
UnicodeCategory
.OtherPunctuation, (byte)
UnicodeCategory
.OtherPunctuation, (byte)
UnicodeCategory
.OtherPunctuation, (byte)
UnicodeCategory
.CurrencySymbol, (byte)
UnicodeCategory
.OtherPunctuation, (byte)
UnicodeCategory
.OtherPunctuation, (byte)
UnicodeCategory
.OtherPunctuation, // 0020 - 0027
52
(byte)
UnicodeCategory
.OpenPunctuation, (byte)
UnicodeCategory
.ClosePunctuation, (byte)
UnicodeCategory
.OtherPunctuation, (byte)
UnicodeCategory
.MathSymbol, (byte)
UnicodeCategory
.OtherPunctuation, (byte)
UnicodeCategory
.DashPunctuation, (byte)
UnicodeCategory
.OtherPunctuation, (byte)
UnicodeCategory
.OtherPunctuation, // 0028 - 002F
53
(byte)
UnicodeCategory
.DecimalDigitNumber, (byte)
UnicodeCategory
.DecimalDigitNumber, (byte)
UnicodeCategory
.DecimalDigitNumber, (byte)
UnicodeCategory
.DecimalDigitNumber, (byte)
UnicodeCategory
.DecimalDigitNumber, (byte)
UnicodeCategory
.DecimalDigitNumber, (byte)
UnicodeCategory
.DecimalDigitNumber, (byte)
UnicodeCategory
.DecimalDigitNumber, // 0030 - 0037
54
(byte)
UnicodeCategory
.DecimalDigitNumber, (byte)
UnicodeCategory
.DecimalDigitNumber, (byte)
UnicodeCategory
.OtherPunctuation, (byte)
UnicodeCategory
.OtherPunctuation, (byte)
UnicodeCategory
.MathSymbol, (byte)
UnicodeCategory
.MathSymbol, (byte)
UnicodeCategory
.MathSymbol, (byte)
UnicodeCategory
.OtherPunctuation, // 0038 - 003F
55
(byte)
UnicodeCategory
.OtherPunctuation, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, // 0040 - 0047
56
(byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, // 0048 - 004F
57
(byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, // 0050 - 0057
58
(byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.OpenPunctuation, (byte)
UnicodeCategory
.OtherPunctuation, (byte)
UnicodeCategory
.ClosePunctuation, (byte)
UnicodeCategory
.ModifierSymbol, (byte)
UnicodeCategory
.ConnectorPunctuation, // 0058 - 005F
59
(byte)
UnicodeCategory
.ModifierSymbol, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, // 0060 - 0067
60
(byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, // 0068 - 006F
61
(byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, // 0070 - 0077
62
(byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.OpenPunctuation, (byte)
UnicodeCategory
.MathSymbol, (byte)
UnicodeCategory
.ClosePunctuation, (byte)
UnicodeCategory
.MathSymbol, (byte)
UnicodeCategory
.Control, // 0078 - 007F
63
(byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, // 0080 - 0087
64
(byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, // 0088 - 008F
65
(byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, // 0090 - 0097
66
(byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, (byte)
UnicodeCategory
.Control, // 0098 - 009F
67
(byte)
UnicodeCategory
.SpaceSeparator, (byte)
UnicodeCategory
.OtherPunctuation, (byte)
UnicodeCategory
.CurrencySymbol, (byte)
UnicodeCategory
.CurrencySymbol, (byte)
UnicodeCategory
.CurrencySymbol, (byte)
UnicodeCategory
.CurrencySymbol, (byte)
UnicodeCategory
.OtherSymbol, (byte)
UnicodeCategory
.OtherSymbol, // 00A0 - 00A7
68
(byte)
UnicodeCategory
.ModifierSymbol, (byte)
UnicodeCategory
.OtherSymbol, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.InitialQuotePunctuation, (byte)
UnicodeCategory
.MathSymbol, (byte)
UnicodeCategory
.DashPunctuation, (byte)
UnicodeCategory
.OtherSymbol, (byte)
UnicodeCategory
.ModifierSymbol, // 00A8 - 00AF
69
(byte)
UnicodeCategory
.OtherSymbol, (byte)
UnicodeCategory
.MathSymbol, (byte)
UnicodeCategory
.OtherNumber, (byte)
UnicodeCategory
.OtherNumber, (byte)
UnicodeCategory
.ModifierSymbol, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.OtherSymbol, (byte)
UnicodeCategory
.OtherPunctuation, // 00B0 - 00B7
70
(byte)
UnicodeCategory
.ModifierSymbol, (byte)
UnicodeCategory
.OtherNumber, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.FinalQuotePunctuation, (byte)
UnicodeCategory
.OtherNumber, (byte)
UnicodeCategory
.OtherNumber, (byte)
UnicodeCategory
.OtherNumber, (byte)
UnicodeCategory
.OtherPunctuation, // 00B8 - 00BF
71
(byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, // 00C0 - 00C7
72
(byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, // 00C8 - 00CF
73
(byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.MathSymbol, // 00D0 - 00D7
74
(byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.UppercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, // 00D8 - 00DF
75
(byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, // 00E0 - 00E7
76
(byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, // 00E8 - 00EF
77
(byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.MathSymbol, // 00F0 - 00F7
78
(byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, (byte)
UnicodeCategory
.LowercaseLetter, // 00F8 - 00FF
92
private static
UnicodeCategory
GetLatin1UnicodeCategory(char ch) {
94
return (
UnicodeCategory
)(categoryForLatin1[(int)ch]);
212
return (CharUnicodeInfo.GetUnicodeCategory(c) ==
UnicodeCategory
.DecimalDigitNumber);
219
internal static bool CheckLetter(
UnicodeCategory
uc) {
221
case (
UnicodeCategory
.UppercaseLetter):
222
case (
UnicodeCategory
.LowercaseLetter):
223
case (
UnicodeCategory
.TitlecaseLetter):
224
case (
UnicodeCategory
.ModifierLetter):
225
case (
UnicodeCategory
.OtherLetter):
292
return (GetLatin1UnicodeCategory(c)==
UnicodeCategory
.UppercaseLetter);
294
return (CharUnicodeInfo.GetUnicodeCategory(c) ==
UnicodeCategory
.UppercaseLetter);
308
return (GetLatin1UnicodeCategory(c)==
UnicodeCategory
.LowercaseLetter);
310
return (CharUnicodeInfo.GetUnicodeCategory(c) ==
UnicodeCategory
.LowercaseLetter);
313
internal static bool CheckPunctuation(
UnicodeCategory
uc)
316
case
UnicodeCategory
.ConnectorPunctuation:
317
case
UnicodeCategory
.DashPunctuation:
318
case
UnicodeCategory
.OpenPunctuation:
319
case
UnicodeCategory
.ClosePunctuation:
320
case
UnicodeCategory
.InitialQuotePunctuation:
321
case
UnicodeCategory
.FinalQuotePunctuation:
322
case
UnicodeCategory
.OtherPunctuation:
345
internal static bool CheckLetterOrDigit(
UnicodeCategory
uc) {
347
case
UnicodeCategory
.UppercaseLetter:
348
case
UnicodeCategory
.LowercaseLetter:
349
case
UnicodeCategory
.TitlecaseLetter:
350
case
UnicodeCategory
.ModifierLetter:
351
case
UnicodeCategory
.OtherLetter:
352
case
UnicodeCategory
.DecimalDigitNumber:
511
return (GetLatin1UnicodeCategory(c) ==
UnicodeCategory
.Control);
513
return (CharUnicodeInfo.GetUnicodeCategory(c) ==
UnicodeCategory
.Control);
525
return (GetLatin1UnicodeCategory(c) ==
UnicodeCategory
.Control);
527
return (CharUnicodeInfo.GetUnicodeCategory(s, index) ==
UnicodeCategory
.Control);
543
return (CharUnicodeInfo.GetUnicodeCategory(s, index) ==
UnicodeCategory
.DecimalDigitNumber);
593
return (GetLatin1UnicodeCategory(c)==
UnicodeCategory
.LowercaseLetter);
596
return (CharUnicodeInfo.GetUnicodeCategory(s, index) ==
UnicodeCategory
.LowercaseLetter);
603
internal static bool CheckNumber(
UnicodeCategory
uc) {
605
case (
UnicodeCategory
.DecimalDigitNumber):
606
case (
UnicodeCategory
.LetterNumber):
607
case (
UnicodeCategory
.OtherNumber):
670
internal static bool CheckSeparator(
UnicodeCategory
uc)
673
case
UnicodeCategory
.SpaceSeparator:
674
case
UnicodeCategory
.LineSeparator:
675
case
UnicodeCategory
.ParagraphSeparator:
733
internal static bool CheckSymbol(
UnicodeCategory
uc) {
735
case (
UnicodeCategory
.MathSymbol):
736
case (
UnicodeCategory
.CurrencySymbol):
737
case (
UnicodeCategory
.ModifierSymbol):
738
case (
UnicodeCategory
.OtherSymbol):
780
return (GetLatin1UnicodeCategory(c)==
UnicodeCategory
.UppercaseLetter);
783
return (CharUnicodeInfo.GetUnicodeCategory(s, index) ==
UnicodeCategory
.UppercaseLetter);
802
public static
UnicodeCategory
GetUnicodeCategory(char c)
810
public static
UnicodeCategory
GetUnicodeCategory(String s, int index)
system\globalization\charunicodeinfo.cs (18)
220
UnicodeCategory
uc = GetUnicodeCategory(s, index);
224
case (
UnicodeCategory
.SpaceSeparator):
225
case (
UnicodeCategory
.LineSeparator):
226
case (
UnicodeCategory
.ParagraphSeparator):
235
UnicodeCategory
uc = GetUnicodeCategory(c);
239
case (
UnicodeCategory
.SpaceSeparator):
240
case (
UnicodeCategory
.LineSeparator):
241
case (
UnicodeCategory
.ParagraphSeparator):
415
public static
UnicodeCategory
GetUnicodeCategory(char ch)
420
public static
UnicodeCategory
GetUnicodeCategory(String s, int index)
431
internal unsafe static
UnicodeCategory
InternalGetUnicodeCategory(int ch) {
432
return ((
UnicodeCategory
)InternalGetCategoryValue(ch, UNICODE_CATEGORY_OFFSET));
496
internal static
UnicodeCategory
InternalGetUnicodeCategory(String value, int index) {
510
internal static
UnicodeCategory
InternalGetUnicodeCategory(String str, int index, out int charLength) {
518
internal static bool IsCombiningCategory(
UnicodeCategory
uc) {
521
uc ==
UnicodeCategory
.NonSpacingMark ||
522
uc ==
UnicodeCategory
.SpacingCombiningMark ||
523
uc ==
UnicodeCategory
.EnclosingMark
system\globalization\numberformatinfo.cs (1)
215
CharUnicodeInfo.GetUnicodeCategory(nativeDig[i], 0) !=
UnicodeCategory
.PrivateUse) {
system\globalization\stringinfo.cs (8)
211
internal static int GetCurrentTextElementLen(String str, int index, int len, ref
UnicodeCategory
ucCurrent, ref int currentCharCount)
223
UnicodeCategory
ucNext = CharUnicodeInfo.InternalGetUnicodeCategory(str, index + currentCharCount, out nextCharCount);
230
|| (ucCurrent ==
UnicodeCategory
.Format)
231
|| (ucCurrent ==
UnicodeCategory
.Control)
232
|| (ucCurrent ==
UnicodeCategory
.OtherNotAssigned)
233
|| (ucCurrent ==
UnicodeCategory
.Surrogate)) // An unpair high surrogate or low surrogate
288
UnicodeCategory
uc = CharUnicodeInfo.InternalGetUnicodeCategory(str, index, out charLen);
348
UnicodeCategory
currentCategory = CharUnicodeInfo.InternalGetUnicodeCategory(str, 0, out currentCharLen);
system\globalization\textelementenumerator.cs (1)
42
private
UnicodeCategory
uc;
system\globalization\textinfo.cs (10)
725
UnicodeCategory
charType;
743
bool hasLowerCase = (charType ==
UnicodeCategory
.LowercaseLetter);
748
if (charType ==
UnicodeCategory
.LowercaseLetter) {
897
private static bool IsWordSeparator(
UnicodeCategory
category) {
901
private static bool IsLetterCategory(
UnicodeCategory
uc) {
902
return (uc ==
UnicodeCategory
.UppercaseLetter
903
|| uc ==
UnicodeCategory
.LowercaseLetter
904
|| uc ==
UnicodeCategory
.TitlecaseLetter
905
|| uc ==
UnicodeCategory
.ModifierLetter
906
|| uc ==
UnicodeCategory
.OtherLetter);
PresentationBuildTasks (10)
Base\System\Windows\Markup\RuntimeIdentifierPropertyAttribute.cs (10)
112
UnicodeCategory
uc;
116
bool idStart = (uc ==
UnicodeCategory
.UppercaseLetter || // (Lu)
117
uc ==
UnicodeCategory
.LowercaseLetter || // (Ll)
118
uc ==
UnicodeCategory
.TitlecaseLetter || // (Lt)
119
uc ==
UnicodeCategory
.OtherLetter || // (Lo)
120
uc ==
UnicodeCategory
.LetterNumber || // (Nl)
122
bool idExtend = (uc ==
UnicodeCategory
.NonSpacingMark || // (Mn)
123
uc ==
UnicodeCategory
.SpacingCombiningMark || // (Mc)
124
uc ==
UnicodeCategory
.ModifierLetter || // (Lm)
125
uc ==
UnicodeCategory
.DecimalDigitNumber); // (Nd)
PresentationFramework (8)
src\Framework\System\Windows\Documents\TextPointerBase.cs (8)
1391
UnicodeCategory
category1 = Char.GetUnicodeCategory(neighborhood[1]);
1392
if (category1 ==
UnicodeCategory
.SpacingCombiningMark ||
1393
category1 ==
UnicodeCategory
.NonSpacingMark ||
1394
category1 ==
UnicodeCategory
.EnclosingMark)
1396
UnicodeCategory
category0 = Char.GetUnicodeCategory(neighborhood[0]);
1398
if (category0 !=
UnicodeCategory
.Control &&
1399
category0 !=
UnicodeCategory
.Format &&
1400
category0 !=
UnicodeCategory
.OtherNotAssigned)
System (61)
compmod\system\codedom\compiler\CodeGenerator.cs (11)
1936
UnicodeCategory
uc = Char.GetUnicodeCategory(ch);
1938
case
UnicodeCategory
.UppercaseLetter: // Lu
1939
case
UnicodeCategory
.LowercaseLetter: // Ll
1940
case
UnicodeCategory
.TitlecaseLetter: // Lt
1941
case
UnicodeCategory
.ModifierLetter: // Lm
1942
case
UnicodeCategory
.LetterNumber: // Lm
1943
case
UnicodeCategory
.OtherLetter: // Lo
1947
case
UnicodeCategory
.NonSpacingMark: // Mn
1948
case
UnicodeCategory
.SpacingCombiningMark: // Mc
1949
case
UnicodeCategory
.ConnectorPunctuation: // Pc
1950
case
UnicodeCategory
.DecimalDigitNumber: // Nd
regex\system\text\regularexpressions\RegexCharClass.cs (38)
376
groups[1] = (char) ((int)
UnicodeCategory
.Control + 1);
378
groups[2] = (char) ((int)
UnicodeCategory
.Format + 1);
380
groups[3] = (char) ((int)
UnicodeCategory
.OtherNotAssigned + 1);
382
groups[4] = (char) ((int)
UnicodeCategory
.PrivateUse + 1);
384
groups[5] = (char) ((int)
UnicodeCategory
.Surrogate + 1);
391
groups[1] = (char) ((int)
UnicodeCategory
.LowercaseLetter + 1);
393
groups[2] = (char) ((int)
UnicodeCategory
.ModifierLetter + 1);
395
groups[3] = (char) ((int)
UnicodeCategory
.OtherLetter + 1);
397
groups[4] = (char) ((int)
UnicodeCategory
.TitlecaseLetter + 1);
399
groups[5] = (char) ((int)
UnicodeCategory
.UppercaseLetter + 1);
411
groups[1] = (char) ((int)
UnicodeCategory
.SpacingCombiningMark + 1);
413
groups[2] = (char) ((int)
UnicodeCategory
.EnclosingMark + 1);
415
groups[3] = (char) ((int)
UnicodeCategory
.NonSpacingMark + 1);
424
groups[1] = (char) ((int)
UnicodeCategory
.DecimalDigitNumber + 1);
426
groups[2] = (char) ((int)
UnicodeCategory
.LetterNumber + 1);
428
groups[3] = (char) ((int)
UnicodeCategory
.OtherNumber + 1);
437
groups[1] = (char) ((int)
UnicodeCategory
.ConnectorPunctuation + 1);
439
groups[2] = (char) ((int)
UnicodeCategory
.DashPunctuation + 1);
441
groups[3] = (char) ((int)
UnicodeCategory
.ClosePunctuation + 1);
443
groups[4] = (char) ((int)
UnicodeCategory
.OtherPunctuation + 1);
445
groups[5] = (char) ((int)
UnicodeCategory
.OpenPunctuation + 1);
447
groups[6] = (char) ((int)
UnicodeCategory
.FinalQuotePunctuation + 1);
449
groups[7] = (char) ((int)
UnicodeCategory
.InitialQuotePunctuation + 1);
457
groups[1] = (char) ((int)
UnicodeCategory
.CurrencySymbol + 1);
459
groups[2] = (char) ((int)
UnicodeCategory
.ModifierSymbol + 1);
461
groups[3] = (char) ((int)
UnicodeCategory
.MathSymbol + 1);
463
groups[4] = (char) ((int)
UnicodeCategory
.OtherSymbol + 1);
470
groups[1] = (char) ((int)
UnicodeCategory
.LineSeparator + 1);
472
groups[2] = (char) ((int)
UnicodeCategory
.ParagraphSeparator + 1);
474
groups[3] = (char) ((int)
UnicodeCategory
.SpaceSeparator + 1);
490
DigitClass = "\x00\x00\x01" + (char) ((int)
UnicodeCategory
.DecimalDigitNumber + 1);
491
NotDigitClass = "\x00\x00\x01" + unchecked ((char) (- ((int)
UnicodeCategory
.DecimalDigitNumber + 1)) );
894
UnicodeCategory
chcategory = char.GetUnicodeCategory(ch);
919
if (chcategory == (
UnicodeCategory
) curcat)
937
if (chcategory != (
UnicodeCategory
) curcat)
950
private static bool CharInCategoryGroup(char ch,
UnicodeCategory
chcategory, string category, ref int i) {
961
if (chcategory == (
UnicodeCategory
) curcat)
979
if (chcategory == (
UnicodeCategory
) curcat)
services\monitoring\system\diagnosticts\EventLog.cs (6)
1347
UnicodeCategory
uc = Char.GetUnicodeCategory(c);
1348
return (!(uc ==
UnicodeCategory
.Control) || (uc ==
UnicodeCategory
.Format) ||
1349
(uc ==
UnicodeCategory
.LineSeparator) || (uc ==
UnicodeCategory
.ParagraphSeparator) ||
1350
(uc ==
UnicodeCategory
.OtherNotAssigned));
services\monitoring\system\diagnosticts\EventLogInternal.cs (6)
1484
UnicodeCategory
uc = Char.GetUnicodeCategory(c);
1485
return (!(uc ==
UnicodeCategory
.Control) || (uc ==
UnicodeCategory
.Format) ||
1486
(uc ==
UnicodeCategory
.LineSeparator) || (uc ==
UnicodeCategory
.ParagraphSeparator) ||
1487
(uc ==
UnicodeCategory
.OtherNotAssigned));
System.Activities (13)
System\Activities\Debugger\State.cs (12)
153
UnicodeCategory
category = char.GetUnicodeCategory(chars[i]);
155
if ((category ==
UnicodeCategory
.UppercaseLetter) ||
156
(category ==
UnicodeCategory
.LowercaseLetter) ||
157
(category ==
UnicodeCategory
.TitlecaseLetter) ||
158
(category ==
UnicodeCategory
.ModifierLetter) ||
159
(category ==
UnicodeCategory
.OtherLetter) ||
160
(category ==
UnicodeCategory
.LetterNumber))
166
((category ==
UnicodeCategory
.NonSpacingMark) ||
167
(category ==
UnicodeCategory
.SpacingCombiningMark) ||
168
(category ==
UnicodeCategory
.DecimalDigitNumber) ||
169
(category ==
UnicodeCategory
.ConnectorPunctuation) ||
170
(category ==
UnicodeCategory
.Format)))
System\Activities\WorkflowIdentity.cs (1)
261
if (char.GetUnicodeCategory(result, i) ==
UnicodeCategory
.Format)
System.Data (11)
fx\src\data\System\Data\CodeGen\datacache.cs (11)
48
UnicodeCategory
unc;
52
UnicodeCategory
.UppercaseLetter != unc &&
53
UnicodeCategory
.LowercaseLetter != unc &&
54
UnicodeCategory
.TitlecaseLetter != unc &&
55
UnicodeCategory
.ModifierLetter != unc &&
56
UnicodeCategory
.OtherLetter != unc &&
57
UnicodeCategory
.LetterNumber != unc &&
58
UnicodeCategory
.NonSpacingMark != unc &&
59
UnicodeCategory
.SpacingCombiningMark != unc &&
60
UnicodeCategory
.DecimalDigitNumber != unc &&
61
UnicodeCategory
.ConnectorPunctuation != unc
System.Runtime.Remoting (31)
metadata\wsdlparser.cs (31)
2482
UnicodeCategory
uc = Char.GetUnicodeCategory(c);
2487
case
UnicodeCategory
.UppercaseLetter: // Lu
2488
case
UnicodeCategory
.LowercaseLetter: // Ll
2489
case
UnicodeCategory
.TitlecaseLetter: // Lt
2490
case
UnicodeCategory
.ModifierLetter: // Lm
2491
case
UnicodeCategory
.OtherLetter: // Lo
2492
case
UnicodeCategory
.DecimalDigitNumber: // Nd
2493
case
UnicodeCategory
.NonSpacingMark: // Mn
2494
case
UnicodeCategory
.SpacingCombiningMark: // Mc
2495
case
UnicodeCategory
.ConnectorPunctuation: // Pc
2497
case
UnicodeCategory
.LetterNumber:
2498
case
UnicodeCategory
.OtherNumber:
2499
case
UnicodeCategory
.EnclosingMark:
2500
case
UnicodeCategory
.SpaceSeparator:
2501
case
UnicodeCategory
.LineSeparator:
2502
case
UnicodeCategory
.ParagraphSeparator:
2503
case
UnicodeCategory
.Control:
2504
case
UnicodeCategory
.Format:
2505
case
UnicodeCategory
.Surrogate:
2506
case
UnicodeCategory
.PrivateUse:
2507
case
UnicodeCategory
.DashPunctuation:
2508
case
UnicodeCategory
.OpenPunctuation:
2509
case
UnicodeCategory
.ClosePunctuation:
2510
case
UnicodeCategory
.InitialQuotePunctuation:
2511
case
UnicodeCategory
.FinalQuotePunctuation:
2512
case
UnicodeCategory
.OtherPunctuation:
2513
case
UnicodeCategory
.MathSymbol:
2514
case
UnicodeCategory
.CurrencySymbol:
2515
case
UnicodeCategory
.ModifierSymbol:
2516
case
UnicodeCategory
.OtherSymbol:
2517
case
UnicodeCategory
.OtherNotAssigned:
System.Runtime.Serialization (11)
System\Runtime\Serialization\CodeExporter.cs (11)
1587
return (Char.GetUnicodeCategory(c) !=
UnicodeCategory
.DecimalDigitNumber);
1592
UnicodeCategory
uc = Char.GetUnicodeCategory(c);
1598
case
UnicodeCategory
.UppercaseLetter: // Lu
1599
case
UnicodeCategory
.LowercaseLetter: // Ll
1600
case
UnicodeCategory
.TitlecaseLetter: // Lt
1601
case
UnicodeCategory
.ModifierLetter: // Lm
1602
case
UnicodeCategory
.OtherLetter: // Lo
1603
case
UnicodeCategory
.DecimalDigitNumber: // Nd
1604
case
UnicodeCategory
.NonSpacingMark: // Mn
1605
case
UnicodeCategory
.SpacingCombiningMark: // Mc
1606
case
UnicodeCategory
.ConnectorPunctuation: // Pc
System.ServiceModel (11)
System\ServiceModel\Description\UniqueCodeIdentifierScope.cs (11)
62
return (Char.GetUnicodeCategory(c) !=
UnicodeCategory
.DecimalDigitNumber);
67
UnicodeCategory
uc = Char.GetUnicodeCategory(c);
73
case
UnicodeCategory
.UppercaseLetter: // Lu
74
case
UnicodeCategory
.LowercaseLetter: // Ll
75
case
UnicodeCategory
.TitlecaseLetter: // Lt
76
case
UnicodeCategory
.ModifierLetter: // Lm
77
case
UnicodeCategory
.OtherLetter: // Lo
78
case
UnicodeCategory
.DecimalDigitNumber: // Nd
79
case
UnicodeCategory
.NonSpacingMark: // Mn
80
case
UnicodeCategory
.SpacingCombiningMark: // Mc
81
case
UnicodeCategory
.ConnectorPunctuation: // Pc
System.ServiceModel.Web (11)
System\ServiceModel\Description\WCFServiceClientProxyGenerator.cs (11)
226
UnicodeCategory
uc = Char.GetUnicodeCategory(c);
232
case
UnicodeCategory
.UppercaseLetter: // Lu
233
case
UnicodeCategory
.LowercaseLetter: // Ll
234
case
UnicodeCategory
.TitlecaseLetter: // Lt
235
case
UnicodeCategory
.ModifierLetter: // Lm
236
case
UnicodeCategory
.OtherLetter: // Lo
237
case
UnicodeCategory
.DecimalDigitNumber: // Nd
238
case
UnicodeCategory
.NonSpacingMark: // Mn
239
case
UnicodeCategory
.SpacingCombiningMark: // Mc
240
case
UnicodeCategory
.ConnectorPunctuation: // Pc
251
return (Char.GetUnicodeCategory(c) !=
UnicodeCategory
.DecimalDigitNumber);
System.Web (6)
Util\SymbolEqualComparer.cs (6)
53
UnicodeCategory
catLeft = Char.GetUnicodeCategory(charLeft);
54
UnicodeCategory
catRight = Char.GetUnicodeCategory(charRight);
55
if (catLeft ==
UnicodeCategory
.UppercaseLetter
56
&& catRight ==
UnicodeCategory
.LowercaseLetter) {
60
} else if (catRight ==
UnicodeCategory
.UppercaseLetter
61
&& catLeft ==
UnicodeCategory
.LowercaseLetter){
System.Web.Extensions (17)
UI\WebControls\Dynamic.cs (17)
1998
1 << (int)
UnicodeCategory
.UppercaseLetter |
1999
1 << (int)
UnicodeCategory
.LowercaseLetter |
2000
1 << (int)
UnicodeCategory
.TitlecaseLetter |
2001
1 << (int)
UnicodeCategory
.ModifierLetter |
2002
1 << (int)
UnicodeCategory
.OtherLetter |
2003
1 << (int)
UnicodeCategory
.LetterNumber;
2010
1 << (int)
UnicodeCategory
.UppercaseLetter |
2011
1 << (int)
UnicodeCategory
.LowercaseLetter |
2012
1 << (int)
UnicodeCategory
.TitlecaseLetter |
2013
1 << (int)
UnicodeCategory
.ModifierLetter |
2014
1 << (int)
UnicodeCategory
.OtherLetter |
2015
1 << (int)
UnicodeCategory
.LetterNumber |
2016
1 << (int)
UnicodeCategory
.DecimalDigitNumber |
2017
1 << (int)
UnicodeCategory
.ConnectorPunctuation |
2018
1 << (int)
UnicodeCategory
.NonSpacingMark |
2019
1 << (int)
UnicodeCategory
.SpacingCombiningMark |
2020
1 << (int)
UnicodeCategory
.Format;
System.Windows.Forms (8)
winforms\Managed\System\WinForms\DomainUpDown.cs (8)
416
UnicodeCategory
uc = Char.GetUnicodeCategory(character[0]);
418
if (uc ==
UnicodeCategory
.LetterNumber
419
|| uc ==
UnicodeCategory
.LowercaseLetter
420
|| uc ==
UnicodeCategory
.DecimalDigitNumber
421
|| uc ==
UnicodeCategory
.MathSymbol
422
|| uc ==
UnicodeCategory
.OtherLetter
423
|| uc ==
UnicodeCategory
.OtherNumber
424
|| uc ==
UnicodeCategory
.UppercaseLetter) {
System.Workflow.Activities (1)
Rules\Design\Dialogs\IntellisenseTextBox.cs (1)
126
&& (c == '_' || char.IsLetter(c) || char.GetUnicodeCategory(c) ==
UnicodeCategory
.LetterNumber))
System.WorkflowServices (11)
System\Workflow\Activities\ValidationHelper.cs (11)
34
UnicodeCategory
uc = Char.GetUnicodeCategory(ch);
37
case
UnicodeCategory
.UppercaseLetter: // Lu
38
case
UnicodeCategory
.LowercaseLetter: // Ll
39
case
UnicodeCategory
.TitlecaseLetter: // Lt
40
case
UnicodeCategory
.ModifierLetter: // Lm
41
case
UnicodeCategory
.LetterNumber: // Lm
42
case
UnicodeCategory
.OtherLetter: // Lo
49
case
UnicodeCategory
.NonSpacingMark: // Mn
50
case
UnicodeCategory
.SpacingCombiningMark: // Mc
51
case
UnicodeCategory
.ConnectorPunctuation: // Pc
52
case
UnicodeCategory
.DecimalDigitNumber: // Nd
System.Xml (32)
System\Xml\Serialization\CodeIdentifier.cs (32)
96
if (Char.GetUnicodeCategory(c) ==
UnicodeCategory
.DecimalDigitNumber)
102
UnicodeCategory
uc = Char.GetUnicodeCategory(c);
106
case
UnicodeCategory
.UppercaseLetter: // Lu
107
case
UnicodeCategory
.LowercaseLetter: // Ll
108
case
UnicodeCategory
.TitlecaseLetter: // Lt
109
case
UnicodeCategory
.ModifierLetter: // Lm
110
case
UnicodeCategory
.OtherLetter: // Lo
111
case
UnicodeCategory
.DecimalDigitNumber: // Nd
112
case
UnicodeCategory
.NonSpacingMark: // Mn
113
case
UnicodeCategory
.SpacingCombiningMark: // Mc
114
case
UnicodeCategory
.ConnectorPunctuation: // Pc
116
case
UnicodeCategory
.LetterNumber:
117
case
UnicodeCategory
.OtherNumber:
118
case
UnicodeCategory
.EnclosingMark:
119
case
UnicodeCategory
.SpaceSeparator:
120
case
UnicodeCategory
.LineSeparator:
121
case
UnicodeCategory
.ParagraphSeparator:
122
case
UnicodeCategory
.Control:
123
case
UnicodeCategory
.Format:
124
case
UnicodeCategory
.Surrogate:
125
case
UnicodeCategory
.PrivateUse:
126
case
UnicodeCategory
.DashPunctuation:
127
case
UnicodeCategory
.OpenPunctuation:
128
case
UnicodeCategory
.ClosePunctuation:
129
case
UnicodeCategory
.InitialQuotePunctuation:
130
case
UnicodeCategory
.FinalQuotePunctuation:
131
case
UnicodeCategory
.OtherPunctuation:
132
case
UnicodeCategory
.MathSymbol:
133
case
UnicodeCategory
.CurrencySymbol:
134
case
UnicodeCategory
.ModifierSymbol:
135
case
UnicodeCategory
.OtherSymbol:
136
case
UnicodeCategory
.OtherNotAssigned:
WindowsBase (10)
Base\System\Windows\Markup\RuntimeIdentifierPropertyAttribute.cs (10)
112
UnicodeCategory
uc;
116
bool idStart = (uc ==
UnicodeCategory
.UppercaseLetter || // (Lu)
117
uc ==
UnicodeCategory
.LowercaseLetter || // (Ll)
118
uc ==
UnicodeCategory
.TitlecaseLetter || // (Lt)
119
uc ==
UnicodeCategory
.OtherLetter || // (Lo)
120
uc ==
UnicodeCategory
.LetterNumber || // (Nl)
122
bool idExtend = (uc ==
UnicodeCategory
.NonSpacingMark || // (Mn)
123
uc ==
UnicodeCategory
.SpacingCombiningMark || // (Mc)
124
uc ==
UnicodeCategory
.ModifierLetter || // (Lm)
125
uc ==
UnicodeCategory
.DecimalDigitNumber); // (Nd)