3 writes to _value
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (3)
83_value = expanded; 122_value = value; 129_value = scalarValue;
46 references to _value
System.Private.CoreLib (46)
src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (46)
132public static bool operator ==(Rune left, Rune right) => left._value == right._value; 134public static bool operator !=(Rune left, Rune right) => left._value != right._value; 136public static bool operator <(Rune left, Rune right) => left._value < right._value; 138public static bool operator <=(Rune left, Rune right) => left._value <= right._value; 140public static bool operator >(Rune left, Rune right) => left._value > right._value; 142public static bool operator >=(Rune left, Rune right) => left._value >= right._value; 161$"U+{_value:X4} '{(IsValid(_value) ? ToString() : "\uFFFD")}'"); 167public bool IsAscii => UnicodeUtility.IsAsciiCodePoint(_value); 173public bool IsBmp => UnicodeUtility.IsBmpCodePoint(_value); 178public int Plane => UnicodeUtility.GetPlane(_value); 196int codeUnitCount = UnicodeUtility.GetUtf16SequenceLength(_value); 213int codeUnitCount = UnicodeUtility.GetUtf8SequenceLength(_value); 222public int Value => (int)_value; 914return string.CreateFromChar((char)_value); 918UnicodeUtility.GetUtf16SurrogatesFromSupplementaryPlaneScalar(_value, out char high, out char low); 1069destination[0] = (char)value._value; 1075UnicodeUtility.GetUtf16SurrogatesFromSupplementaryPlaneScalar((uint)value._value, out destination[0], out destination[1]); 1115destination[0] = (byte)value._value; 1125destination[0] = (byte)((value._value + (0b110u << 11)) >> 6); 1126destination[1] = (byte)((value._value & 0x3Fu) + 0x80u); 1136destination[0] = (byte)((value._value + (0b1110 << 16)) >> 12); 1137destination[1] = (byte)(((value._value & (0x3Fu << 6)) >> 6) + 0x80u); 1138destination[2] = (byte)((value._value & 0x3Fu) + 0x80u); 1146destination[0] = (byte)((value._value + (0b11110 << 21)) >> 18); 1147destination[1] = (byte)(((value._value & (0x3Fu << 12)) >> 12) + 0x80u); 1148destination[2] = (byte)(((value._value & (0x3Fu << 6)) >> 6) + 0x80u); 1149destination[3] = (byte)((value._value & 0x3Fu) + 0x80u); 1216uint baseNum = value._value - '0'; 1308return ((value._value + 1) & ~0x80u) <= 0x20u; 1315return UnicodeUtility.IsInRangeInclusive(value._value, '0', '9'); 1327return ((value._value - 'A') & ~0x20u) <= (uint)('Z' - 'A'); // [A-Za-z] 1351return UnicodeUtility.IsInRangeInclusive(value._value, 'a', 'z'); 1363return UnicodeUtility.IsInRangeInclusive(value._value, '0', '9'); 1390return UnicodeUtility.IsInRangeInclusive(value._value, 'A', 'Z'); 1410CharUnicodeInfo.GetIsWhiteSpace((char)value._value); 1448return UnsafeCreate(Utf16Utility.ConvertAllAsciiCharsInUInt32ToLowercase(value._value)); 1454return UnsafeCreate(CharUnicodeInfo.ToLower(value._value)); 1497return UnsafeCreate(Utf16Utility.ConvertAllAsciiCharsInUInt32ToUppercase(value._value)); 1503return UnsafeCreate(CharUnicodeInfo.ToUpper(value._value));