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

◆ GetMethodFromType()

static MethodInfo System.Xml.Serialization.TempAssembly.GetMethodFromType ( [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] Type type,
string methodName )
inlinestaticprivate

Definition at line 461 of file TempAssembly.cs.

462 {
463 MethodInfo method = type.GetMethod(methodName);
464 if (method != null)
465 {
466 return method;
467 }
468 MissingMethodException ex = new MissingMethodException(type.FullName + "::" + methodName);
469 throw ex;
470 }

References System.Xml.Dictionary, and System.type.

Referenced by System.Xml.Serialization.TempAssembly.InvokeReader(), and System.Xml.Serialization.TempAssembly.InvokeWriter().