10 references to Int16Type
System.Xml (10)
System\Xml\Schema\XmlValueConverter.cs (10)
1142
if (destinationType ==
Int16Type
) return Int32ToInt16(this.ToInt32(value));
1148
if (sourceType ==
Int16Type
) return this.ChangeType((int) (short) value, destinationType);
1166
if (sourceType ==
Int16Type
) return this.ChangeType((int) (short) value, destinationType);
1176
if (destinationType ==
Int16Type
) return Int32ToInt16(this.ToInt32(value));
2384
if (sourceType ==
Int16Type
) return XmlConvert.ToString((short) value);
2490
if (destinationType ==
Int16Type
) return Int32ToInt16(XmlConvert.ToInt32((string) value));
2536
if (destinationType ==
Int16Type
) {
2636
if (clrType ==
Int16Type
) return true;
3000
if (sourceType ==
Int16Type
) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Short), value));
3172
if (itemTypeDst ==
Int16Type
) return ToArray<short>(value, nsResolver);