I am using VB.NET, at the top is
Option Explicit
However why does the compiler not raise an error when I do :-
obj.ThisFunction(Convert.ToInt32(strMessage))
and the function is :-
Function ThisFunction(id as long)
Surely, Int32 is int and int64 is long? Is there a compiler option in VS 2013 that I can turn on to spot these?