MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeIMethodTo­Method­Info
Open sandboxFocus

IMethod.ToMethodInfo Method

ToMethodInfo()

Gets a System.Reflection.MethodInfo that represents the current method at run time.

Declaration
MethodInfo ToMethodInfo()
Returns
Type Description
System.Reflection.MethodInfo

A System.Reflection.MethodInfo that can be used only in run-time code.