17 references to UnsafeCreate
System.Private.CoreLib (17)
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1075
return Rune.
UnsafeCreate
((uint)utf32).ToString();
src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (15)
183
public static Rune ReplacementChar =>
UnsafeCreate
(UnicodeUtility.ReplacementChar);
252
return
UnsafeCreate
(modified[0]);
256
return
UnsafeCreate
(UnicodeUtility.GetScalarFromUtf16SurrogatePair(modified[0], modified[1]));
427
result =
UnsafeCreate
(tempValue);
548
result =
UnsafeCreate
(tempValue);
647
value =
UnsafeCreate
(tempValue);
802
return
UnsafeCreate
((uint)runeValue);
980
result =
UnsafeCreate
(extendedValue);
1009
result =
UnsafeCreate
((highSurrogateOffset << 10) + ((uint)lowSurrogate - LowSurrogateStart) + (0x40u << 10));
1033
result =
UnsafeCreate
(value);
1178
value =
UnsafeCreate
((uint)runeValue);
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));
src\libraries\System.Private.CoreLib\src\System\Text\SpanRuneEnumerator.cs (1)
49
_current = Rune.
UnsafeCreate
((uint)scalarValue);