System.RuntimeMethodHandle.GetTypicalMethodDefinition C# (CSharp) Method

GetTypicalMethodDefinition() private method

private GetTypicalMethodDefinition ( ) : RuntimeMethodHandle
return RuntimeMethodHandle
        internal RuntimeMethodHandle GetTypicalMethodDefinition()
        {
            return new RuntimeMethodHandle(_GetTypicalMethodDefinition());
        }

Usage Example

示例#1
0
 internal static IRuntimeMethodInfo GetTypicalMethodDefinition(IRuntimeMethodInfo method)
 {
     if (!RuntimeMethodHandle.IsTypicalMethodDefinition(method))
     {
         RuntimeMethodHandle.GetTypicalMethodDefinition(method, JitHelpers.GetObjectHandleOnStack <IRuntimeMethodInfo>(ref method));
     }
     return(method);
 }