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

◆ PreStartElementAsyncCheck()

void System.Xml.XmlBaseWriter.PreStartElementAsyncCheck ( string prefix,
string localName,
string ns,
XmlDictionaryString xNs )
inlineprivateinherited

Definition at line 1247 of file XmlBaseWriter.cs.

1248 {
1249 if (IsClosed)
1250 {
1251 ThrowClosed();
1252 }
1253 if (_documentState == DocumentState.Epilog)
1254 {
1256 }
1257 if (localName == null)
1258 {
1259 throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("localName"));
1260 }
1261 if (localName.Length == 0)
1262 {
1264 }
1265 if (_writeState == WriteState.Attribute)
1266 {
1268 }
1269 }
static string XmlOnlyOneRoot
Definition SR.cs:480
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string InvalidLocalNameEmpty
Definition SR.cs:346
static string XmlInvalidWriteState
Definition SR.cs:450
Definition SR.cs:7

References System.Xml.XmlBaseWriter._documentState, System.Xml.XmlBaseWriter._writeState, System.Xml.ArgumentException, System.SR.Format(), System.SR.InvalidLocalNameEmpty, System.Xml.XmlBaseWriter.IsClosed, System.Xml.XmlBaseWriter.ThrowClosed(), System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(), System.SR.XmlInvalidWriteState, and System.SR.XmlOnlyOneRoot.

Referenced by System.Xml.XmlBaseWriter.WriteStartElementAsync().