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

◆ Int32ToInt16()

static short System.Xml.Schema.XmlBaseConverter.Int32ToInt16 ( int value)
inlinestaticprotectedinherited

Definition at line 804 of file XmlBaseConverter.cs.

805 {
807 {
809 object[] args = new string[2]
810 {
811 XmlConvert.ToString(value),
812 "Int16"
813 };
814 throw new OverflowException(System.SR.Format(xmlConvert_Overflow, args));
815 }
816 return (short)value;
817 }
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.XmlUntypedConverter.ChangeType(), System.Xml.Schema.XmlUntypedConverter.ChangeType(), and System.Xml.Schema.XmlNumeric10Converter.ChangeTypeWildcardSource().