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

◆ DecimalToUInt64()

static ulong System.Xml.Schema.XmlBaseConverter.DecimalToUInt64 ( decimal value)
inlinestaticprotectedinherited

Definition at line 774 of file XmlBaseConverter.cs.

775 {
776 if (value < 0m || value > 18446744073709551615m)
777 {
779 object[] args = new string[2]
780 {
781 XmlConvert.ToString(value),
782 "UInt64"
783 };
784 throw new OverflowException(System.SR.Format(xmlConvert_Overflow, args));
785 }
786 return (ulong)value;
787 }
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().