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

◆ ReflectionWriteStartElement()

void System.Runtime.Serialization.ReflectionXmlClassWriter.ReflectionWriteStartElement ( XmlWriterDelegator xmlWriter,
Type type,
XmlDictionaryString ns,
string namespaceLocal,
string nameLocal,
int nameIndex )
inline

Definition at line 75 of file ReflectionXmlClassWriter.cs.

76 {
77 if (NeedsPrefix(type, ns))
78 {
79 xmlWriter.WriteStartElement("q", nameLocal, namespaceLocal);
80 }
81 else
82 {
83 xmlWriter.WriteStartElement(nameLocal, namespaceLocal);
84 }
85 }

References System.Runtime.Serialization.ReflectionXmlClassWriter.NeedsPrefix(), and System.type.