Exemple #1
0
        public static IList <Instruction> GetInstructions(this MethodBase self)
        {
            if (self == null)
            {
                throw new ArgumentNullException("self");
            }

            return(MethodBodyReader.GetInstructions(self).AsReadOnly());
        }
Exemple #2
0
 public static IList <Instruction> GetInstructions(this MethodBase self)
 {
     return(MethodBodyReader.GetInstructions(self).AsReadOnly());
 }