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