22 references to ToByte
mscorlib (4)
system\enum.cs (1)
972
return Convert.
ToByte
(GetValue(), CultureInfo.CurrentCulture);
system\runtime\serialization\formatter.cs (1)
148
WriteByte(Convert.
ToByte
(data, CultureInfo.InvariantCulture), memberName);
system\runtime\serialization\formatterconverter.cs (1)
74
return System.Convert.
ToByte
(value, CultureInfo.InvariantCulture);
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (1)
726
WriteByte(Convert.
ToByte
(value, CultureInfo.InvariantCulture));
System.Data (15)
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (3)
885
precision = Convert.
ToByte
(temp, null);
893
scale = Convert.
ToByte
(temp, null);
913
scale = Convert.
ToByte
(temp, null);
fx\src\data\System\Data\Filter\BinaryNode.cs (12)
298
value = Convert.
ToByte
((Convert.
ToByte
(vLeft, FormatProvider) + Convert.
ToByte
(vRight, FormatProvider)), FormatProvider);
399
value = Convert.
ToByte
((Convert.
ToByte
(vLeft, FormatProvider) - Convert.
ToByte
(vRight, FormatProvider)), FormatProvider);
487
value = Convert.
ToByte
((Convert.
ToByte
(vLeft, FormatProvider) * Convert.
ToByte
(vRight, FormatProvider)), FormatProvider);
553
value = Convert.
ToByte
((Convert.
ToByte
(vLeft, FormatProvider) / Convert.
ToByte
(vRight, FormatProvider)), FormatProvider);
System.Management (2)
property.cs (2)
413
((Byte[])wmiValue)[i] = Convert.
ToByte
(valArray.GetValue(i),(IFormatProvider)culInfo.GetFormat(typeof(System.Byte)));
543
wmiValue = Convert.
ToByte
(val,(IFormatProvider)culInfo.GetFormat(typeof(System.Byte)));
System.Windows.Forms (1)
winforms\Managed\System\WinForms\NativeMethods.cs (1)
4308
v.data1 = (IntPtr)Convert.
ToByte
(var, CultureInfo.InvariantCulture);