35 references to CastFrom
System.Runtime.Numerics (35)
src\runtime\src\libraries\Common\src\System\Number.Formatting.Common.cs (19)
552
vlb.Append(TChar.
CastFrom
(*cur != 0 ? (char)(*cur++) : '0'));
585
vlb.Append(TChar.
CastFrom
(ch));
672
vlb.Append(TChar.
CastFrom
(ch));
692
vlb.Append(TChar.
CastFrom
(ch));
747
vlb.Append(TChar.
CastFrom
(ch));
806
*(p--) = TChar.
CastFrom
((i < digStart) ? (char)dig[i] : '0');
836
vlb.Append(TChar.
CastFrom
(*dig != 0 ? (char)(*dig++) : '0'));
843
vlb.Append(TChar.
CastFrom
('0'));
854
vlb.Append(TChar.
CastFrom
('0'));
862
vlb.Append(TChar.
CastFrom
((*dig != 0) ? (char)(*dig++) : '0'));
877
vlb.Append(TChar.
CastFrom
(ch));
913
vlb.Append(TChar.
CastFrom
(ch));
925
vlb.Append(TChar.
CastFrom
((*dig != 0) ? (char)(*dig++) : '0'));
934
vlb.Append(TChar.
CastFrom
((*dig != 0) ? (char)(*dig++) : '0'));
945
vlb.Append(TChar.
CastFrom
(expChar));
988
vlb.Append(TChar.
CastFrom
((*dig != 0) ? (char)(*dig++) : '0'));
994
vlb.Append(TChar.
CastFrom
('0'));
1003
vlb.Append(TChar.
CastFrom
('0'));
1044
vlb.Append(TChar.
CastFrom
(ch));
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)
668
chars[charsPos++] = TChar.
CastFrom
(hexValues[b >> 4]);
669
chars[charsPos++] = TChar.
CastFrom
(hexValues[b & 0xF]);
678
TChar.
CastFrom
(value._sign >= 0 ? '0' : (format == 'x') ? 'f' : 'F'),
766
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
('>');