17 implementations of ToByte
mscorlib (17)
system\boolean.cs (1)
251
byte IConvertible.
ToByte
(IFormatProvider provider) {
system\byte.cs (1)
204
byte IConvertible.
ToByte
(IFormatProvider provider) {
system\char.cs (1)
449
byte IConvertible.
ToByte
(IFormatProvider provider) {
system\datetime.cs (1)
1594
byte IConvertible.
ToByte
(IFormatProvider provider) {
system\dbnull.cs (1)
63
byte IConvertible.
ToByte
(IFormatProvider provider) {
system\decimal.cs (1)
1217
byte IConvertible.
ToByte
(IFormatProvider provider) {
system\double.cs (1)
318
byte IConvertible.
ToByte
(IFormatProvider provider) {
system\enum.cs (1)
970
byte IConvertible.
ToByte
(IFormatProvider provider)
system\int16.cs (1)
217
byte IConvertible.
ToByte
(IFormatProvider provider) {
system\int32.cs (1)
190
byte IConvertible.
ToByte
(IFormatProvider provider) {
system\int64.cs (1)
169
byte IConvertible.
ToByte
(IFormatProvider provider) {
system\sbyte.cs (1)
225
byte IConvertible.
ToByte
(IFormatProvider provider) {
system\single.cs (1)
288
byte IConvertible.
ToByte
(IFormatProvider provider) {
system\string.cs (1)
3380
byte IConvertible.
ToByte
(IFormatProvider provider) {
system\uint16.cs (1)
192
byte IConvertible.
ToByte
(IFormatProvider provider) {
system\uint32.cs (1)
174
byte IConvertible.
ToByte
(IFormatProvider provider) {
system\uint64.cs (1)
169
byte IConvertible.
ToByte
(IFormatProvider provider) {
12 references to ToByte
mscorlib (8)
system\convert.cs (6)
227
return v.
ToByte
(provider);
284
return value.
ToByte
(provider);
355
return ic.
ToByte
(provider);
709
return value == null? (byte)0: ((IConvertible)value).
ToByte
(null);
713
return value == null? (byte)0: ((IConvertible)value).
ToByte
(provider);
802
return ((IConvertible)value).
ToByte
(null);
system\variant.cs (2)
480
v = new Variant(ic.
ToByte
(provider));
656
v = new Variant(iv.
ToByte
(provider));
System.AddIn.Contract (1)
System\Addin\Contract\RemoteArgument.cs (1)
163
byteToUse = convertibleValue.
ToByte
(null);
System.Data (3)
fx\src\data\System\Data\Common\ByteStorage.cs (2)
176
value = ((IConvertible)value).
ToByte
(FormatProvider);
205
values[record] = ((IConvertible)value).
ToByte
(FormatProvider);
fx\src\data\System\Data\Common\SQLConvert.cs (1)
578
return ((IConvertible)(string)value).
ToByte
(formatProvider);