4 references to ToUInt16
Aspire.Hosting.RemoteHost (1)
Ats\AtsMarshaller.cs (1)
938
return decimal.
ToUInt16
(ReadIntegralNumericValue(value, underlyingType, ushort.MinValue, ushort.MaxValue));
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Convert.cs (1)
951
return decimal.
ToUInt16
(decimal.Round(value, 0));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (2)
931
temp =
ToUInt16
(value);
943
public static explicit operator ushort(decimal value) =>
ToUInt16
(value);