15 references to ConvertToIntegerNative
System.Private.CoreLib (15)
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
672return ConvertToIntegerNative<TInteger>(value);
src\libraries\System.Private.CoreLib\src\System\Math.cs (4)
1671return double.ConvertToIntegerNative<int>(value); 1684return double.ConvertToIntegerNative<uint>(value); 1700return double.ConvertToIntegerNative<long>(value); 1714return double.ConvertToIntegerNative<ulong>(value);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector.cs (2)
499long element = double.ConvertToIntegerNative<long>(value.GetElementUnsafe(i)); 611ulong element = double.ConvertToIntegerNative<ulong>(value.GetElementUnsafe(i));
src\libraries\System.Private.CoreLib\src\System\Random.CompatImpl.cs (6)
33return double.ConvertToIntegerNative<int>(_prng.Sample() * maxValue); 43double.ConvertToIntegerNative<int>(_prng.Sample() * range) + minValue : 44(int)(double.ConvertToIntegerNative<long>(_prng.GetSampleForLargeRange() * range) + minValue); 152return double.ConvertToIntegerNative<int>(_parent.Sample() * maxValue); 163double.ConvertToIntegerNative<int>(_parent.Sample() * range) + minValue : 164(int)(double.ConvertToIntegerNative<long>(_prng.GetSampleForLargeRange() * range) + minValue);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (2)
477long value = double.ConvertToIntegerNative<long>(vector.GetElementUnsafe(i)); 590ulong value = double.ConvertToIntegerNative<ulong>(vector.GetElementUnsafe(i));