19 references to IsInRangeInclusive
Microsoft.CodeAnalysis.CodeStyle (19)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\System.Text\Rune.cs (16)
407
if (!UnicodeUtility.
IsInRangeInclusive
(tempValue, 0xC2, 0xF4))
438
Debug.Assert(UnicodeUtility.
IsInRangeInclusive
(tempValue, 0x0080, 0x07FF));
446
if (!UnicodeUtility.
IsInRangeInclusive
(tempValue, ((0xE0 - 0xC0) << 6) + (0xA0 - 0x80), ((0xF4 - 0xC0) << 6) + (0x8F - 0x80)))
453
if (UnicodeUtility.
IsInRangeInclusive
(tempValue, ((0xED - 0xC0) << 6) + (0xA0 - 0x80), ((0xED - 0xC0) << 6) + (0xBF - 0x80)))
459
if (UnicodeUtility.
IsInRangeInclusive
(tempValue, ((0xF0 - 0xC0) << 6) + (0x80 - 0x80), ((0xF0 - 0xC0) << 6) + (0x8F - 0x80)))
489
Debug.Assert(UnicodeUtility.
IsInRangeInclusive
(tempValue, 0x0800, 0xFFFF));
1164
return UnicodeUtility.
IsInRangeInclusive
((uint)category, (uint)UnicodeCategory.UppercaseLetter, (uint)UnicodeCategory.OtherLetter);
1170
return UnicodeUtility.
IsInRangeInclusive
((uint)category, (uint)UnicodeCategory.UppercaseLetter, (uint)UnicodeCategory.OtherLetter)
1177
return UnicodeUtility.
IsInRangeInclusive
((uint)category, (uint)UnicodeCategory.DecimalDigitNumber, (uint)UnicodeCategory.OtherNumber);
1183
return UnicodeUtility.
IsInRangeInclusive
((uint)category, (uint)UnicodeCategory.ConnectorPunctuation, (uint)UnicodeCategory.OtherPunctuation);
1189
return UnicodeUtility.
IsInRangeInclusive
((uint)category, (uint)UnicodeCategory.SpaceSeparator, (uint)UnicodeCategory.ParagraphSeparator);
1195
return UnicodeUtility.
IsInRangeInclusive
((uint)category, (uint)UnicodeCategory.MathSymbol, (uint)UnicodeCategory.OtherSymbol);
1216
return UnicodeUtility.
IsInRangeInclusive
(value._value, '0', '9');
1252
return UnicodeUtility.
IsInRangeInclusive
(value._value, 'a', 'z');
1264
return UnicodeUtility.
IsInRangeInclusive
(value._value, '0', '9');
1291
return UnicodeUtility.
IsInRangeInclusive
(value._value, 'A', 'Z');
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\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);