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

◆ ReadContentAsObjectAsync()

override async Task< object > System.Xml.XmlSubtreeReader.ReadContentAsObjectAsync ( )
inlinevirtual

Reimplemented from System.Xml.XmlReader.

Definition at line 1495 of file XmlSubtreeReader.cs.

1496 {
1497 try
1498 {
1499 InitReadContentAsType("ReadContentAsObject");
1500 object result = await reader.ReadContentAsObjectAsync().ConfigureAwait(continueOnCapturedContext: false);
1502 return result;
1503 }
1504 catch
1505 {
1506 _state = State.Error;
1507 throw;
1508 }
1509 }
virtual async Task< object > ReadContentAsObjectAsync()
void InitReadContentAsType(string methodName)

References System.Xml.XmlSubtreeReader._state, System.Xml.XmlSubtreeReader.FinishReadContentAsType(), System.Xml.XmlSubtreeReader.InitReadContentAsType(), System.Xml.XmlReader.ReadContentAsObjectAsync(), and System.Xml.XmlWrappingReader.reader.