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

◆ BeginMethod() [2/3]

void System.Runtime.Serialization.CodeGenerator.BeginMethod ( string methodName,
Type delegateType,
bool allowPrivateMemberAccess )
inlinepackage

Definition at line 146 of file CodeGenerator.cs.

147 {
149 ParameterInfo[] parameters = invokeMethod.GetParameters();
150 Type[] array = new Type[parameters.Length];
151 for (int i = 0; i < parameters.Length; i++)
152 {
153 array[i] = parameters[i].ParameterType;
154 }
157 }
void BeginMethod(DynamicMethod dynamicMethod, Type delegateType, string methodName, Type[] argTypes, bool allowPrivateMemberAccess)

References System.Runtime.Serialization.CodeGenerator._delegateType, System.array, System.Runtime.Serialization.CodeGenerator.BeginMethod(), System.Runtime.Serialization.Dictionary, System.Runtime.Serialization.Json.JsonFormatWriterGenerator.GetInvokeMethod(), and System.Reflection.ParameterInfo.ParameterType.