98 references to CharUnicodeInfo
mscorlib (98)
system\char.cs (40)
212
return (
CharUnicodeInfo
.GetUnicodeCategory(c) == UnicodeCategory.DecimalDigitNumber);
245
return (CheckLetter(
CharUnicodeInfo
.GetUnicodeCategory(c)));
277
return
CharUnicodeInfo
.IsWhiteSpace(c);
294
return (
CharUnicodeInfo
.GetUnicodeCategory(c) == UnicodeCategory.UppercaseLetter);
310
return (
CharUnicodeInfo
.GetUnicodeCategory(c) == UnicodeCategory.LowercaseLetter);
339
return (CheckPunctuation(
CharUnicodeInfo
.GetUnicodeCategory(c)));
364
return (CheckLetterOrDigit(
CharUnicodeInfo
.GetUnicodeCategory(c)));
513
return (
CharUnicodeInfo
.GetUnicodeCategory(c) == UnicodeCategory.Control);
527
return (
CharUnicodeInfo
.GetUnicodeCategory(s, index) == UnicodeCategory.Control);
543
return (
CharUnicodeInfo
.GetUnicodeCategory(s, index) == UnicodeCategory.DecimalDigitNumber);
562
return (CheckLetter(
CharUnicodeInfo
.GetUnicodeCategory(s, index)));
577
return CheckLetterOrDigit(
CharUnicodeInfo
.GetUnicodeCategory(s, index));
596
return (
CharUnicodeInfo
.GetUnicodeCategory(s, index) == UnicodeCategory.LowercaseLetter);
621
return (CheckNumber(
CharUnicodeInfo
.GetUnicodeCategory(c)));
639
return (CheckNumber(
CharUnicodeInfo
.GetUnicodeCategory(s, index)));
662
return (CheckPunctuation(
CharUnicodeInfo
.GetUnicodeCategory(s, index)));
692
return (CheckSeparator(
CharUnicodeInfo
.GetUnicodeCategory(c)));
707
return (CheckSeparator(
CharUnicodeInfo
.GetUnicodeCategory(s, index)));
749
return (CheckSymbol(
CharUnicodeInfo
.GetUnicodeCategory(c)));
763
return (CheckSymbol(
CharUnicodeInfo
.GetUnicodeCategory(s, index)));
783
return (
CharUnicodeInfo
.GetUnicodeCategory(s, index) == UnicodeCategory.UppercaseLetter);
799
return
CharUnicodeInfo
.IsWhiteSpace(s, index);
807
return
CharUnicodeInfo
.InternalGetUnicodeCategory(c);
821
return
CharUnicodeInfo
.InternalGetUnicodeCategory(s, index);
826
return
CharUnicodeInfo
.GetNumericValue(c);
837
return
CharUnicodeInfo
.GetNumericValue(s, index);
846
return ((c >=
CharUnicodeInfo
.HIGH_SURROGATE_START) && (c <=
CharUnicodeInfo
.HIGH_SURROGATE_END));
866
return ((c >=
CharUnicodeInfo
.LOW_SURROGATE_START) && (c <=
CharUnicodeInfo
.LOW_SURROGATE_END));
901
return ((highSurrogate >=
CharUnicodeInfo
.HIGH_SURROGATE_START && highSurrogate <=
CharUnicodeInfo
.HIGH_SURROGATE_END) &&
902
(lowSurrogate >=
CharUnicodeInfo
.LOW_SURROGATE_START && lowSurrogate <=
CharUnicodeInfo
.LOW_SURROGATE_END));
937
surrogate[0] = (char)((utf32 / 0x400) + (int)
CharUnicodeInfo
.HIGH_SURROGATE_START);
938
surrogate[1] = (char)((utf32 % 0x400) + (int)
CharUnicodeInfo
.LOW_SURROGATE_START);
955
return (((highSurrogate -
CharUnicodeInfo
.HIGH_SURROGATE_START) * 0x400) + (lowSurrogate -
CharUnicodeInfo
.LOW_SURROGATE_START) + UNICODE_PLANE01_START);
976
int temp1 = (int)s[index] -
CharUnicodeInfo
.HIGH_SURROGATE_START;
982
int temp2 = (int)s[index+1] -
CharUnicodeInfo
.LOW_SURROGATE_START;
system\globalization\charunicodeinfo.cs (1)
123
byte * pDataTable = GlobalizationAssembly.GetGlobalizationResourceBytePtr(typeof(
CharUnicodeInfo
).Assembly, UNICODE_INFO_FILE_NAME);
system\globalization\idnmapping.cs (5)
599
BidiCategory eBidi =
CharUnicodeInfo
.GetBidiCategory(unicode, iAfterLastDot);
612
eBidi =
CharUnicodeInfo
.GetBidiCategory(unicode, iTest);
631
BidiCategory testBidi =
CharUnicodeInfo
.GetBidiCategory(unicode, basicCount);
1032
BidiCategory eBidi =
CharUnicodeInfo
.GetBidiCategory(output.ToString(), iOutputAfterLastDot);
1046
eBidi =
CharUnicodeInfo
.GetBidiCategory(output.ToString(), iTest);
system\globalization\numberformatinfo.cs (2)
214
if (
CharUnicodeInfo
.GetDecimalDigitValue(nativeDig[i], 0) != i &&
215
CharUnicodeInfo
.GetUnicodeCategory(nativeDig[i], 0) != UnicodeCategory.PrivateUse) {
system\globalization\stringinfo.cs (7)
223
UnicodeCategory ucNext =
CharUnicodeInfo
.InternalGetUnicodeCategory(str, index + currentCharCount, out nextCharCount);
224
if (
CharUnicodeInfo
.IsCombiningCategory(ucNext)) {
229
if (
CharUnicodeInfo
.IsCombiningCategory(ucCurrent)
246
ucNext =
CharUnicodeInfo
.InternalGetUnicodeCategory(str, index, out nextCharCount);
247
if (!
CharUnicodeInfo
.IsCombiningCategory(ucNext)) {
288
UnicodeCategory uc =
CharUnicodeInfo
.InternalGetUnicodeCategory(str, index, out charLen);
348
UnicodeCategory currentCategory =
CharUnicodeInfo
.InternalGetUnicodeCategory(str, 0, out currentCharLen);
system\globalization\textelementenumerator.cs (2)
78
uc =
CharUnicodeInfo
.InternalGetUnicodeCategory(str, index, out charLen);
154
uc =
CharUnicodeInfo
.InternalGetUnicodeCategory(str, index, out charLen);
system\globalization\textinfo.cs (2)
728
charType =
CharUnicodeInfo
.InternalGetUnicodeCategory(str, i, out charLen);
746
charType =
CharUnicodeInfo
.InternalGetUnicodeCategory(str, i, out charLen);
system\text\basecodepageencoding.cs (1)
143
typeof(
CharUnicodeInfo
).Assembly, CODE_PAGE_DATA_FILE_NAME);
system\text\utf8encoding.cs (38)
522
if (InRange(ch,
CharUnicodeInfo
.LOW_SURROGATE_START,
CharUnicodeInfo
.LOW_SURROGATE_END)) {
560
if (InRange(cha,
CharUnicodeInfo
.LOW_SURROGATE_START,
CharUnicodeInfo
.LOW_SURROGATE_END)) {
596
if (InRange(ch,
CharUnicodeInfo
.HIGH_SURROGATE_START,
CharUnicodeInfo
.HIGH_SURROGATE_END)) {
606
if (InRange(ch,
CharUnicodeInfo
.HIGH_SURROGATE_START,
CharUnicodeInfo
.LOW_SURROGATE_END))
781
if (InRange(ch,
CharUnicodeInfo
.HIGH_SURROGATE_START,
CharUnicodeInfo
.LOW_SURROGATE_END)) {
787
ch >
CharUnicodeInfo
.HIGH_SURROGATE_END ||
789
!InRange(chd,
CharUnicodeInfo
.LOW_SURROGATE_START,
CharUnicodeInfo
.LOW_SURROGATE_END) )
911
if (InRange(ch,
CharUnicodeInfo
.LOW_SURROGATE_START,
CharUnicodeInfo
.LOW_SURROGATE_END)) {
912
ch = ch + (cha << 10) + (0x10000 -
CharUnicodeInfo
.LOW_SURROGATE_START - (
CharUnicodeInfo
.HIGH_SURROGATE_START << 10));
941
if (InRange(cha,
CharUnicodeInfo
.LOW_SURROGATE_START,
CharUnicodeInfo
.LOW_SURROGATE_END)) {
944
-
CharUnicodeInfo
.LOW_SURROGATE_START
945
- (
CharUnicodeInfo
.HIGH_SURROGATE_START << 10) );
969
if (InRange(ch,
CharUnicodeInfo
.HIGH_SURROGATE_START,
CharUnicodeInfo
.HIGH_SURROGATE_END)) {
977
if (InRange(ch,
CharUnicodeInfo
.HIGH_SURROGATE_START,
CharUnicodeInfo
.LOW_SURROGATE_END))
1199
if (!InRange(ch,
CharUnicodeInfo
.HIGH_SURROGATE_START,
CharUnicodeInfo
.LOW_SURROGATE_END)) {
1207
if (ch >
CharUnicodeInfo
.HIGH_SURROGATE_END) {
1217
if (!InRange(chd,
CharUnicodeInfo
.LOW_SURROGATE_START,
CharUnicodeInfo
.LOW_SURROGATE_END)) {
1225
-
CharUnicodeInfo
.LOW_SURROGATE_START
1226
- (
CharUnicodeInfo
.HIGH_SURROGATE_START << 10) );
1782
unchecked((short)((
CharUnicodeInfo
.HIGH_SURROGATE_START - (0x10000 >> 10)))) );
1786
unchecked((int)(
CharUnicodeInfo
.LOW_SURROGATE_START));
1883
if (ch >=
CharUnicodeInfo
.LOW_SURROGATE_START &&
1884
ch <=
CharUnicodeInfo
.LOW_SURROGATE_END)
2097
unchecked((short)(
CharUnicodeInfo
.HIGH_SURROGATE_START - (0x10000 >> 10))) );
2101
unchecked((short)(
CharUnicodeInfo
.LOW_SURROGATE_START));