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