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

◆ ReadContentAsLong()

override long System.Xml.XmlDictionaryReader.XmlWrappedReader.ReadContentAsLong ( )
inlinevirtual

Reimplemented from System.Xml.XmlReader.

Definition at line 305 of file XmlDictionaryReader.cs.

306 {
307 try
308 {
309 return _reader.ReadContentAsLong();
310 }
312 {
313 throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException("Int64", exception));
314 }
315 catch (FormatException exception2)
316 {
317 throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException("Int64", exception2));
318 }
319 catch (OverflowException exception3)
320 {
321 throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException("Int64", exception3));
322 }
323 }
virtual long ReadContentAsLong()
Definition XmlReader.cs:270

References System.Xml.XmlDictionaryReader.XmlWrappedReader._reader, System.Xml.XmlExceptionHelper.CreateConversionException(), System.Xml.Dictionary, System.exception, System.Xml.XmlReader.ReadContentAsLong(), and System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError().