17 implementations of ToUInt16
mscorlib (17)
system\boolean.cs (1)
261
ushort IConvertible.
ToUInt16
(IFormatProvider provider) {
system\byte.cs (1)
214
ushort IConvertible.
ToUInt16
(IFormatProvider provider) {
system\char.cs (1)
459
ushort IConvertible.
ToUInt16
(IFormatProvider provider) {
system\datetime.cs (1)
1604
ushort IConvertible.
ToUInt16
(IFormatProvider provider) {
system\dbnull.cs (1)
73
ushort IConvertible.
ToUInt16
(IFormatProvider provider) {
system\decimal.cs (1)
1227
ushort IConvertible.
ToUInt16
(IFormatProvider provider) {
system\double.cs (1)
328
ushort IConvertible.
ToUInt16
(IFormatProvider provider) {
system\enum.cs (1)
982
ushort IConvertible.
ToUInt16
(IFormatProvider provider)
system\int16.cs (1)
227
ushort IConvertible.
ToUInt16
(IFormatProvider provider) {
system\int32.cs (1)
200
ushort IConvertible.
ToUInt16
(IFormatProvider provider) {
system\int64.cs (1)
179
ushort IConvertible.
ToUInt16
(IFormatProvider provider) {
system\sbyte.cs (1)
235
ushort IConvertible.
ToUInt16
(IFormatProvider provider) {
system\single.cs (1)
298
ushort IConvertible.
ToUInt16
(IFormatProvider provider) {
system\string.cs (1)
3390
ushort IConvertible.
ToUInt16
(IFormatProvider provider) {
system\uint16.cs (1)
202
ushort IConvertible.
ToUInt16
(IFormatProvider provider) {
system\uint32.cs (1)
184
ushort IConvertible.
ToUInt16
(IFormatProvider provider) {
system\uint64.cs (1)
179
ushort IConvertible.
ToUInt16
(IFormatProvider provider) {
12 references to ToUInt16
mscorlib (8)
system\convert.cs (6)
231
return v.
ToUInt16
(provider);
288
return value.
ToUInt16
(provider);
359
return ic.
ToUInt16
(provider);
912
return value == null? (ushort)0: ((IConvertible)value).
ToUInt16
(null);
917
return value == null? (ushort)0: ((IConvertible)value).
ToUInt16
(provider);
1016
return ((IConvertible)value).
ToUInt16
(null);
system\variant.cs (2)
488
v = new Variant(ic.
ToUInt16
(provider));
660
v = new Variant(iv.
ToUInt16
(provider));
System.AddIn.Contract (1)
System\Addin\Contract\RemoteArgument.cs (1)
271
ushortToUse = convertibleValue.
ToUInt16
(null);
System.Data (3)
fx\src\data\System\Data\Common\SQLConvert.cs (1)
582
return ((IConvertible)(string)value).
ToUInt16
(formatProvider);
fx\src\data\System\Data\Common\UInt16Storage.cs (2)
179
value = ((IConvertible)value).
ToUInt16
(FormatProvider);
208
values[record] = ((IConvertible)value).
ToUInt16
(FormatProvider);