this is related to VB and Visual Studio 2010.
i want to extract a few lines from a function into a separate method becase the code is also used in other functions. I expected R# generates a sub without parameters as the marked code only uses variables defined in class scope. But it generates a sub with parameters and the parameters will not be used in the generated method. I have attached a screenshot which shows the refactoring. I'm not shure if this is an error or an expected behavior.