31 references to Int32Type
System.Xml (31)
System\Xml\Schema\XmlValueConverter.cs (31)
418public override int ToInt32(bool value) {return (int) ChangeType((object) value, Int32Type, null); } 419public override int ToInt32(DateTime value) {return (int) ChangeType((object) value, Int32Type, null); } 420public override int ToInt32(DateTimeOffset value) {return (int) ChangeType((object) value, Int32Type, null); } 421public override int ToInt32(decimal value) {return (int) ChangeType((object) value, Int32Type, null); } 422public override int ToInt32(double value) {return (int) ChangeType((object) value, Int32Type, null); } 423public override int ToInt32(int value) {return (int) ChangeType((object) value, Int32Type, null); } 424public override int ToInt32(long value) {return (int) ChangeType((object) value, Int32Type, null); } 425public override int ToInt32(float value) {return (int) ChangeType((object) value, Int32Type, null); } 426public override int ToInt32(string value) {return (int) ChangeType((object) value, Int32Type, null); } 427public override int ToInt32(object value) {return (int) ChangeType((object) value, Int32Type, null); } 930if (sourceType == Int32Type) return ((decimal) (int) value); 971if (sourceType == Int32Type) return ((int) value); 976return (int) ChangeTypeWildcardDestination(value, Int32Type, null); 1005if (sourceType == Int32Type) return ((long) (int) value); 1046if (sourceType == Int32Type) return XmlConvert.ToString((int) value); 1064if (destinationType == Int32Type) return DecimalToInt32((decimal) value); 1078if (destinationType == Int32Type) return ((int) value); 1092if (destinationType == Int32Type) return Int64ToInt32((long) value); 1107if (destinationType == Int32Type) return this.ToInt32((string) value); 1124if (destinationType == Int32Type) return this.ToInt32(value); 1129if (sourceType == Int32Type) return (new XmlAtomicValue(SchemaType, (int) value)); 1136if (sourceType == Int32Type) return (new XmlAtomicValue(SchemaType, (int) value)); 2295return (int) ChangeTypeWildcardDestination(value, Int32Type, null); 2385if (sourceType == Int32Type) return XmlConvert.ToString((int) value); 2491if (destinationType == Int32Type) return XmlConvert.ToInt32((string) value); 2539if (destinationType == Int32Type) { 2637if (clrType == Int32Type) return true; 2833return (int) ChangeTypeWildcardDestination(value, Int32Type, null); 2982if (destinationType == Int32Type) { 3001if (sourceType == Int32Type) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Int), (int) value)); 3173if (itemTypeDst == Int32Type) return ToArray<int>(value, nsResolver);