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