예제 #1
0
 internal static ILInstruction[] Parse(this MethodBase methodBase)
 {
     return(ILParser.Parse(methodBase.GetMethodBody().GetILAsByteArray(), methodBase.Module));
 }
예제 #2
0
 internal static ILInstruction[] Parse(this MethodBody methodBody, Module manifest)
 {
     return(ILParser.Parse(methodBody.GetILAsByteArray(), manifest));
 }
예제 #3
0
 internal static ILInstruction[] Parse(this MethodInfo method)
 {
     return(ILParser.Parse(method.GetMethodBody().GetILAsByteArray(), method.DeclaringType.Assembly.ManifestModule));
 }