10 references to UInt16Type
System.Private.Xml (10)
System\Xml\Schema\XmlValueConverter.cs (10)
1104
if (destinationType ==
UInt16Type
) return Int32ToUInt16(this.ToInt32(value));
1110
if (sourceType ==
UInt16Type
) return this.ChangeType((int)(ushort)value, destinationType);
1129
if (sourceType ==
UInt16Type
) return this.ChangeType((int)(ushort)value, destinationType);
1140
if (destinationType ==
UInt16Type
) return Int32ToUInt16(this.ToInt32(value));
2253
if (sourceType ==
UInt16Type
) return XmlConvert.ToString((ushort)value);
2347
if (destinationType ==
UInt16Type
) return Int32ToUInt16(XmlConvert.ToInt32((string)value));
2419
if (destinationType ==
UInt16Type
)
2519
if (clrType ==
UInt16Type
) return true;
2806
if (sourceType ==
UInt16Type
) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.UnsignedShort), value));
2996
if (itemTypeDst ==
UInt16Type
) return ToArray<ushort>(value, nsResolver);