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

◆ ReadContentAsInt()

override int System.Xml.XmlDictionaryReader.XmlWrappedReader.ReadContentAsInt ( )
inlinevirtual

Reimplemented from System.Xml.XmlReader.

Definition at line 285 of file XmlDictionaryReader.cs.

286 {
287 try
288 {
289 return _reader.ReadContentAsInt();
290 }
292 {
293 throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException("Int32", exception));
294 }
295 catch (FormatException exception2)
296 {
297 throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException("Int32", exception2));
298 }
299 catch (OverflowException exception3)
300 {
301 throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException("Int32", exception3));
302 }
303 }
virtual int ReadContentAsInt()
Definition XmlReader.cs:254

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