10 references to UInt16Type
System.Xml (10)
System\Xml\Schema\XmlValueConverter.cs (10)
1144if (destinationType == UInt16Type) return Int32ToUInt16(this.ToInt32(value)); 1150if (sourceType == UInt16Type) return this.ChangeType((int) (ushort) value, destinationType); 1168if (sourceType == UInt16Type) return this.ChangeType((int) (ushort) value, destinationType); 1178if (destinationType == UInt16Type) return Int32ToUInt16(this.ToInt32(value)); 2391if (sourceType == UInt16Type) return XmlConvert.ToString((ushort) value); 2496if (destinationType == UInt16Type) return Int32ToUInt16(XmlConvert.ToInt32((string) value)); 2554if (destinationType == UInt16Type) { 2642if (clrType == UInt16Type) return true; 3007if (sourceType == UInt16Type) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.UnsignedShort), value)); 3179if (itemTypeDst == UInt16Type) return ToArray<ushort>(value, nsResolver);