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

◆ ToInt64() [2/2]

static long System.Xml.XmlConverter.ToInt64 ( string value)
inlinestatic

Definition at line 129 of file XmlConverter.cs.

130 {
131 try
132 {
133 return XmlConvert.ToInt64(value);
134 }
136 {
137 throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(value, "Int64", exception));
138 }
139 catch (FormatException exception2)
140 {
141 throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(value, "Int64", exception2));
142 }
143 catch (OverflowException exception3)
144 {
145 throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(value, "Int64", exception3));
146 }
147 }

References System.Xml.XmlExceptionHelper.CreateConversionException(), System.Xml.Dictionary, System.exception, System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(), System.Xml.XmlConvert.ToInt64(), and System.value.

Referenced by System.Runtime.Serialization.EnumDataContract.GetEnumValueFromString(), System.Xml.XmlBaseReader.ReadContentAsLong(), System.Xml.XmlDictionaryReader.ReadElementContentAsLong(), System.Xml.XmlConverter.ToInt64(), and System.Xml.ValueHandle.ToLong().