I am using VS2005 to maintain some vb.net code. I am preparing to update to newer toolsets and am doing code cleanup first.
I am cleaning up all the compile error messages, but I noticed that I do not get a warning if I pass a String to a function that is expecting an Integer.
How can I force that warning?
The specific situation is that I am changing this code:
Public Function MyFunc(ByVal MyVar)
to
Public Function MyFunc(ByVal MyVar As Integer)
And I want to find all the places that were NOT passing in an Integer.