2 implementations of CastFrom
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
1191
static byte IUtfChar<byte>.
CastFrom
(byte value) => value;
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1983
static char IUtfChar<char>.
CastFrom
(byte value) => (char)value;
3 references to CastFrom
System.Private.CoreLib (3)
src\libraries\Common\src\System\Number.Formatting.Common.cs (1)
1001
vlb.Append(TChar.
CastFrom
(*dig++));
src\libraries\System.Private.CoreLib\src\System\Guid.cs (2)
1244
*p++ = TChar.
CastFrom
((byte)flags);
1341
*p = TChar.
CastFrom
((byte)flags);