32 references to CastFrom
System.Runtime.Numerics (32)
src\runtime\src\libraries\Common\src\System\Number.Formatting.Common.cs (16)
605
vlb.Append(TChar.
CastFrom
(*cur != 0 ? (char)(*cur++) : '0'));
638
vlb.Append(TChar.
CastFrom
(ch));
725
vlb.Append(TChar.
CastFrom
(ch));
745
vlb.Append(TChar.
CastFrom
(ch));
859
*(p--) = TChar.
CastFrom
((i < digStart) ? (char)dig[i] : '0');
889
vlb.Append(TChar.
CastFrom
(*dig != 0 ? (char)(*dig++) : '0'));
896
vlb.Append(TChar.
CastFrom
('0'));
907
vlb.Append(TChar.
CastFrom
('0'));
915
vlb.Append(TChar.
CastFrom
((*dig != 0) ? (char)(*dig++) : '0'));
930
vlb.Append(TChar.
CastFrom
(ch));
976
vlb.Append(TChar.
CastFrom
((*dig != 0) ? (char)(*dig++) : '0'));
985
vlb.Append(TChar.
CastFrom
((*dig != 0) ? (char)(*dig++) : '0'));
996
vlb.Append(TChar.
CastFrom
(expChar));
1039
vlb.Append(TChar.
CastFrom
((*dig != 0) ? (char)(*dig++) : '0'));
1045
vlb.Append(TChar.
CastFrom
('0'));
1054
vlb.Append(TChar.
CastFrom
('0'));
src\runtime\src\libraries\Common\src\System\Number.Parsing.Common.cs (1)
320
var nullsToConsume = remainder.IndexOfAnyExcept(TChar.
CastFrom
('\0'));
System\Number.BigInteger.cs (4)
673
chars[charsPos++] = TChar.
CastFrom
(hexValues[b >> 4]);
674
chars[charsPos++] = TChar.
CastFrom
(hexValues[b & 0xF]);
683
TChar.
CastFrom
(value._sign >= 0 ? '0' : (format == 'x') ? 'f' : 'F'),
771
sb.Append(TChar.
CastFrom
(value._sign >= 0 ? '0' : '1'), digits - charsForBits);
System\Numerics\Complex.cs (4)
885
destination[0] = TChar.
CastFrom
('<');
898
destination[0] = TChar.
CastFrom
(';');
899
destination[1] = TChar.
CastFrom
(' ');
900
destination[2 + imaginaryChars] = TChar.
CastFrom
('>');
System\Numerics\Complex.Generic.cs (7)
1930
int openBracket = text.IndexOf(TChar.
CastFrom
('<'));
1931
int semicolon = text.IndexOf(TChar.
CastFrom
(';'));
1932
int closeBracket = text.IndexOf(TChar.
CastFrom
('>'));
2091
destination[0] = TChar.
CastFrom
('<');
2104
destination[0] = TChar.
CastFrom
(';');
2105
destination[1] = TChar.
CastFrom
(' ');
2106
destination[2 + imaginaryChars] = TChar.
CastFrom
('>');