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

◆ ToString()

override string System.Reflection.RuntimeMethodInfo.ToString ( )
inline

Definition at line 239 of file RuntimeMethodInfo.cs.

240 {
241 if (m_toString == null)
242 {
244 sbParamList.Append(ReturnType.FormatTypeName());
245 sbParamList.Append(' ');
246 sbParamList.Append(Name);
247 if (IsGenericMethod)
248 {
249 sbParamList.Append(RuntimeMethodHandle.ConstructInstantiation(this, TypeNameFormatFlags.FormatBasic));
250 }
251 sbParamList.Append('(');
252 MethodBase.AppendParameters(ref sbParamList, GetParameterTypes(), CallingConvention);
253 sbParamList.Append(')');
254 m_toString = sbParamList.ToString();
255 }
256 return m_toString;
257 }
virtual Type[] GetParameterTypes()

References System.Reflection.MethodBase.AppendParameters(), System.RuntimeMethodHandle.ConstructInstantiation(), System.Reflection.MethodBase.GetParameterTypes(), System.Reflection.RuntimeMethodInfo.IsGenericMethod, System.Reflection.RuntimeMethodInfo.m_toString, System.Reflection.RuntimeMethodInfo.Name, and System.Reflection.RuntimeMethodInfo.ReturnType.