2

I want to move a vb.net app to c#. The vb.net app has thousands of byref parameters that should be byval. Does anybody know a way to automate checking whether each parameter passing approach can be safely changed?

daniel
  • 289
  • 1
  • 3
  • 4

1 Answers1

-2

maybe the following tool http://www.developerfusion.com/tools/convert/vb-to-csharp/ can help you.

Giorgos Manoltzas
  • 1,710
  • 5
  • 24
  • 34
  • -1 how does it help to determine whether [`ref`](http://msdn.microsoft.com/en-us/library/14akc2c7.aspx) is required or not? – Tim Schmelter Feb 02 '13 at 01:49
  • Thanks for getting back guys...the developerfusion tool is great but I'm not allowed to send code outside the company. I think I'll have to do what I can with regex and then just start in on debugging. Tim's idea of looking for refVar= is probably worth a crack.] – daniel Feb 03 '13 at 21:03