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

◆ ReadElementContentAsUniqueId()

virtual UniqueId System.Xml.XmlDictionaryReader.ReadElementContentAsUniqueId ( )
inlinevirtualinherited

Reimplemented in System.Xml.XmlBinaryReader.

Definition at line 1237 of file XmlDictionaryReader.cs.

1238 {
1239 UniqueId result;
1241 {
1242 Read();
1243 try
1244 {
1245 result = new UniqueId(string.Empty);
1246 }
1248 {
1249 throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(string.Empty, "UniqueId", exception));
1250 }
1251 catch (FormatException exception2)
1252 {
1253 throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(string.Empty, "UniqueId", exception2));
1254 }
1255 }
1256 else
1257 {
1259 result = ReadContentAsUniqueId();
1261 }
1262 return result;
1263 }
virtual bool IsStartElement()
Definition XmlReader.cs:760
virtual void ReadStartElement()
Definition XmlReader.cs:629
virtual void ReadEndElement()
Definition XmlReader.cs:751

References System.Xml.XmlExceptionHelper.CreateConversionException(), System.Xml.Dictionary, System.exception, System.Xml.XmlReader.IsEmptyElement, System.Xml.XmlReader.IsStartElement(), System.Xml.XmlReader.Read(), System.Xml.XmlDictionaryReader.ReadContentAsUniqueId(), System.Xml.XmlReader.ReadEndElement(), System.Xml.XmlReader.ReadStartElement(), System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(), and System.Xml.UniqueId.