public static IList <LocalVariableInfo> GetLocalVariables(this MethodBase self) { if (self == null) { throw new ArgumentException(nameof(self)); } return(MethodBodyReader.GetLocalVariables(self)); }