...
In some cases, this technique can fail to produce a good translation – for example, when the GoSub is intermingled with Gotos and VB6 error handling logic. In those cases, you may suppress the GoSub migration in for the particular method by using a RemoveGoSub Refactor rule:
Code Block |
---|
<Compile...> ... <Refactor> <Migrate id="identifier_of_method" RemoveGoSub="on" /> </Refactor> </Compile> |
...