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

◆ ILGenLoad() [2/2]

void System.Xml.Serialization.XmlSerializationILGen.ILGenLoad ( string source,
Type type )
inlinepackageinherited

Definition at line 462 of file XmlSerializationILGen.cs.

463 {
464 if (source.StartsWith("o.@", StringComparison.Ordinal))
465 {
466 MemberInfo memberInfo = memberInfos[source.Substring(3)];
468 if (type != null)
469 {
470 Type source2 = ((memberInfo is FieldInfo) ? ((FieldInfo)memberInfo).FieldType : ((PropertyInfo)memberInfo).PropertyType);
472 }
473 }
474 else
475 {
476 SourceInfo sourceInfo = new SourceInfo(source, null, null, null, ilg);
477 sourceInfo.Load(type);
478 }
479 }
void ConvertValue(Type source, Type target)
Type LoadMember(object obj, MemberInfo memberInfo)

References System.Xml.Serialization.CodeGenerator.ConvertValue(), System.Xml.Dictionary, System.Xml.Serialization.CodeGenerator.GetVariable(), System.Xml.Serialization.CodeGenerator.LoadMember(), System.source, and System.type.