27 references to Int32Type
System.Private.Xml (27)
System\Xml\Schema\XmlValueConverter.cs (27)
356public override int ToInt32(bool value) { return (int)ChangeType((object)value, Int32Type, null); } 357public override int ToInt32(DateTime value) { return (int)ChangeType((object)value, Int32Type, null); } 358public override int ToInt32(double value) { return (int)ChangeType((object)value, Int32Type, null); } 359public override int ToInt32(long value) { return (int)ChangeType((object)value, Int32Type, null); } 360public override int ToInt32(string value) { return (int)ChangeType((object)value, Int32Type, null); } 361public override int ToInt32(object value) { return (int)ChangeType((object)value, Int32Type, null); } 909if (sourceType == Int32Type) return ((decimal)(int)value); 934if (sourceType == Int32Type) return ((int)value); 939return (int)ChangeTypeWildcardDestination(value, Int32Type, null); 959if (sourceType == Int32Type) return ((long)(int)value); 999if (sourceType == Int32Type) return XmlConvert.ToString((int)value); 1018if (destinationType == Int32Type) return DecimalToInt32((decimal)value); 1033if (destinationType == Int32Type) return ((int)value); 1048if (destinationType == Int32Type) return Int64ToInt32((long)value); 1064if (destinationType == Int32Type) return this.ToInt32((string)value); 1082if (destinationType == Int32Type) return this.ToInt32(value); 1088if (sourceType == Int32Type) return (new XmlAtomicValue(SchemaType!, (int)value)); 1096if (sourceType == Int32Type) return (new XmlAtomicValue(SchemaType!, (int)value)); 2149return (int)ChangeTypeWildcardDestination(value, Int32Type, null); 2247if (sourceType == Int32Type) return XmlConvert.ToString((int)value); 2342if (destinationType == Int32Type) return XmlConvert.ToInt32((string)value); 2399if (destinationType == Int32Type) 2514if (clrType == Int32Type) return true; 2631return (int)ChangeTypeWildcardDestination(value, Int32Type, null); 2777if (destinationType == Int32Type) 2800if (sourceType == Int32Type) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Int), (int)value)); 2990if (itemTypeDst == Int32Type) return ToArray<int>(value, nsResolver);