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

◆ GetStringForMethod()

string System.Xml.Serialization.ReflectionAwareCodeGen.GetStringForMethod ( string obj,
string typeFullName,
string memberName,
bool useReflection )
inlinepackage

Definition at line 386 of file ReflectionAwareCodeGen.cs.

387 {
388 if (!useReflection)
389 {
390 return obj + "." + memberName + "(";
391 }
393 return reflectionVariable + ".Invoke(" + obj + ", new object[]{";
394 }
string GetReflectionVariable(string typeFullName, string memberName)

References System.Xml.Dictionary, System.Xml.Serialization.ReflectionAwareCodeGen.GetReflectionVariable(), and System.obj.