19 references to IsInRangeInclusive
Microsoft.AspNetCore.App.Analyzers (19)
Infrastructure\VirtualChars\System.Text\Rune.cs (16)
411
if (!UnicodeUtility.
IsInRangeInclusive
(tempValue, 0xC2, 0xF4))
442
Debug.Assert(UnicodeUtility.
IsInRangeInclusive
(tempValue, 0x0080, 0x07FF));
450
if (!UnicodeUtility.
IsInRangeInclusive
(tempValue, ((0xE0 - 0xC0) << 6) + (0xA0 - 0x80), ((0xF4 - 0xC0) << 6) + (0x8F - 0x80)))
457
if (UnicodeUtility.
IsInRangeInclusive
(tempValue, ((0xED - 0xC0) << 6) + (0xA0 - 0x80), ((0xED - 0xC0) << 6) + (0xBF - 0x80)))
463
if (UnicodeUtility.
IsInRangeInclusive
(tempValue, ((0xF0 - 0xC0) << 6) + (0x80 - 0x80), ((0xF0 - 0xC0) << 6) + (0x8F - 0x80)))
493
Debug.Assert(UnicodeUtility.
IsInRangeInclusive
(tempValue, 0x0800, 0xFFFF));
1174
return UnicodeUtility.
IsInRangeInclusive
((uint)category, (uint)UnicodeCategory.UppercaseLetter, (uint)UnicodeCategory.OtherLetter);
1180
return UnicodeUtility.
IsInRangeInclusive
((uint)category, (uint)UnicodeCategory.UppercaseLetter, (uint)UnicodeCategory.OtherLetter)
1187
return UnicodeUtility.
IsInRangeInclusive
((uint)category, (uint)UnicodeCategory.DecimalDigitNumber, (uint)UnicodeCategory.OtherNumber);
1193
return UnicodeUtility.
IsInRangeInclusive
((uint)category, (uint)UnicodeCategory.ConnectorPunctuation, (uint)UnicodeCategory.OtherPunctuation);
1199
return UnicodeUtility.
IsInRangeInclusive
((uint)category, (uint)UnicodeCategory.SpaceSeparator, (uint)UnicodeCategory.ParagraphSeparator);
1205
return UnicodeUtility.
IsInRangeInclusive
((uint)category, (uint)UnicodeCategory.MathSymbol, (uint)UnicodeCategory.OtherSymbol);
1226
return UnicodeUtility.
IsInRangeInclusive
(value._value, '0', '9');
1262
return UnicodeUtility.
IsInRangeInclusive
(value._value, 'a', 'z');
1274
return UnicodeUtility.
IsInRangeInclusive
(value._value, '0', '9');
1301
return UnicodeUtility.
IsInRangeInclusive
(value._value, 'A', 'Z');
Infrastructure\VirtualChars\System.Text\UnicodeUtility.cs (3)
143
public static bool IsHighSurrogateCodePoint(uint value) =>
IsInRangeInclusive
(value, 0xD800U, 0xDBFFU);
157
public static bool IsLowSurrogateCodePoint(uint value) =>
IsInRangeInclusive
(value, 0xDC00U, 0xDFFFU);
164
public static bool IsSurrogateCodePoint(uint value) =>
IsInRangeInclusive
(value, 0xD800U, 0xDFFFU);