21 references to ToUInt16
mscorlib (4)
system\enum.cs (1)
984
return Convert.
ToUInt16
(GetValue(), CultureInfo.CurrentCulture);
system\runtime\serialization\formatter.cs (1)
164
WriteUInt16(Convert.
ToUInt16
(data, CultureInfo.InvariantCulture), memberName);
system\runtime\serialization\formatterconverter.cs (1)
91
return System.Convert.
ToUInt16
(value, CultureInfo.InvariantCulture);
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (1)
750
WriteUInt16(Convert.
ToUInt16
(value, CultureInfo.InvariantCulture));
PresentationCore (1)
Core\CSharp\System\Windows\Media\Imaging\BitmapMetadata.cs (1)
1439
SetQuery(policy_Rating, System.Convert.
ToUInt16
(value, CultureInfo.InvariantCulture));
System.Data (13)
fx\src\data\System\Data\Filter\BinaryNode.cs (12)
307
value = Convert.
ToUInt16
((Convert.
ToUInt16
(vLeft, FormatProvider) + Convert.
ToUInt16
(vRight, FormatProvider)), FormatProvider);
414
value = Convert.
ToUInt16
((Convert.
ToUInt16
(vLeft, FormatProvider) - Convert.
ToUInt16
(vRight, FormatProvider)), FormatProvider);
502
value = Convert.
ToUInt16
((Convert.
ToUInt16
(vLeft, FormatProvider) * Convert.
ToUInt16
(vRight, FormatProvider)), FormatProvider);
568
value = Convert.
ToUInt16
((Convert.
ToUInt16
(vLeft, FormatProvider) / Convert.
ToUInt16
(vRight, FormatProvider)), FormatProvider);
fx\src\data\System\Data\OleDb\ColumnBinding.cs (1)
465
Value_UI2(Convert.
ToUInt16
((Int32)value, CultureInfo.InvariantCulture));
System.Management (2)
property.cs (2)
431
((Int32[])(wmiValue))[i] = (Int32)(Convert.
ToUInt16
(valArray.GetValue(i),(IFormatProvider)culInfo.GetFormat(typeof(System.UInt16))));
551
wmiValue = (Int32)(Convert.
ToUInt16
(val,(IFormatProvider)culInfo.GetFormat(typeof(System.UInt16))));
System.Windows.Forms (1)
winforms\Managed\System\WinForms\NativeMethods.cs (1)
4359
v.data1 = (IntPtr)Convert.
ToUInt16
(var, CultureInfo.InvariantCulture);