10 references to ByteType
System.Private.Xml (10)
System\Xml\Schema\XmlValueConverter.cs (10)
1101
if (destinationType ==
ByteType
) return Int32ToByte(this.ToInt32(value));
1107
if (sourceType ==
ByteType
) return this.ChangeType((int)(byte)value, destinationType);
1126
if (sourceType ==
ByteType
) return this.ChangeType((int)(byte)value, destinationType);
1137
if (destinationType ==
ByteType
) return Int32ToByte(this.ToInt32(value));
2240
if (sourceType ==
ByteType
) return XmlConvert.ToString((byte)value);
2335
if (destinationType ==
ByteType
) return Int32ToByte(XmlConvert.ToInt32((string)value));
2371
if (destinationType ==
ByteType
)
2507
if (clrType ==
ByteType
) return true;
2793
if (sourceType ==
ByteType
) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.UnsignedByte), value));
2983
if (itemTypeDst ==
ByteType
) return ToArray<byte>(value, nsResolver);