Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Int64ToInt32()

static int System.Xml.Schema.XmlBaseConverter.Int64ToInt32 ( long value)
inlinestaticprotectedinherited

Definition at line 849 of file XmlBaseConverter.cs.

850 {
851 if (value < int.MinValue || value > int.MaxValue)
852 {
854 object[] args = new string[2]
855 {
856 XmlConvert.ToString(value),
857 "Int32"
858 };
859 throw new OverflowException(System.SR.Format(xmlConvert_Overflow, args));
860 }
861 return (int)value;
862 }
static string XmlConvert_Overflow
Definition SR.cs:372
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
Definition SR.cs:7

References System.Xml.Dictionary, System.SR.Format(), System.Xml.XmlConvert.ToString(), System.value, and System.SR.XmlConvert_Overflow.

Referenced by System.Xml.Schema.XmlNumeric10Converter.ChangeType(), System.Xml.Schema.XmlNumeric10Converter.ToInt32(), and System.Xml.Schema.XmlNumeric10Converter.ToInt32().