[2112]Extract method not work as expected in VB

i tried to extract a method in my VB code. In general extract method works, just the placing of the method call is not correct. Given the following code:

  <some code...>


  'This is a comment
  <code to refactor...>

the result is:

<some code...>
  MyRefactoredMethod()


'This is a comment

and should be

<some code...>


  'This is a comment
  MyRefactoredMethod()

Regards
Klaus

Please sign in to leave a comment.