10 references to ByteType
System.Xml (10)
System\Xml\Schema\XmlValueConverter.cs (10)
1141
if (destinationType ==
ByteType
) return Int32ToByte(this.ToInt32(value));
1147
if (sourceType ==
ByteType
) return this.ChangeType((int) (byte) value, destinationType);
1165
if (sourceType ==
ByteType
) return this.ChangeType((int) (byte) value, destinationType);
1175
if (destinationType ==
ByteType
) return Int32ToByte(this.ToInt32(value));
2378
if (sourceType ==
ByteType
) return XmlConvert.ToString((byte) value);
2484
if (destinationType ==
ByteType
) return Int32ToByte(XmlConvert.ToInt32((string) value));
2518
if (destinationType ==
ByteType
) {
2630
if (clrType ==
ByteType
) return true;
2994
if (sourceType ==
ByteType
) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.UnsignedByte), value));
3166
if (itemTypeDst ==
ByteType
) return ToArray<byte>(value, nsResolver);