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

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