8 references to ToByte
mscorlib (2)
system\convert.cs (1)
781
return
ToByte
(ToInt32(value));
system\int32.cs (1)
191
return Convert.
ToByte
(m_value);
PresentationCore (1)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
430
color.A = Convert.
ToByte
(alpha);
System.Data.Services (1)
System\Data\Services\Serializers\JsonDeserializer.cs (1)
120
return Convert.
ToByte
(intValue);
System.ServiceModel (4)
System\ServiceModel\Channels\PnrpPeerResolver.cs (4)
763
EncodeByte(Convert.
ToByte
(version), ref i, bytes);
764
EncodeByte(Convert.
ToByte
(protocol), ref i, bytes);
765
EncodeByte(Convert.
ToByte
(guids.Length), ref i, bytes);
791
return Convert.
ToByte
(lo == 1 ? chars[p] & GuidEscape : chars[p] / 0x100);