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

◆ WriteMember() [2/2]

void System.Xml.Serialization.XmlSerializationWriterILGen.WriteMember ( SourceInfo source,
string choiceSource,
ElementAccessor[] elements,
TextAccessor text,
ChoiceIdentifierAccessor choice,
TypeDesc memberTypeDesc,
bool writeAccessors )
inlineprivate

Definition at line 1178 of file XmlSerializationWriterILGen.cs.

1179 {
1180 if (memberTypeDesc.IsArrayLike && (elements.Length != 1 || !(elements[0].Mapping is ArrayMapping)))
1181 {
1183 }
1184 else
1185 {
1187 }
1188 }
void WriteElements(SourceInfo source, string enumSource, ElementAccessor[] elements, TextAccessor text, ChoiceIdentifierAccessor choice, string arrayName, bool writeAccessors, bool isNullable)
void WriteArray(SourceInfo source, string choiceSource, ElementAccessor[] elements, TextAccessor text, ChoiceIdentifierAccessor choice, TypeDesc arrayTypeDesc)

References System.Xml.Serialization.Accessor.Mapping, System.source, System.text, System.Xml.Serialization.XmlSerializationWriterILGen.WriteArray(), and System.Xml.Serialization.XmlSerializationWriterILGen.WriteElements().