1 ' As per MS VB Specification (section 4.3.3)
2 ' this program should compile.
3 ' But MS VB compiler 7.0 is unable to compile it.
4 ' Still I am keeping this in positive test cases
5 ' May move it later to negative tests section
6 ' after clarifying it with later versions of MS VB compilers.
8 ' In derived class if you
9 ' override a method whithout
10 ' shadowing or overloading should get shadowed
11 ' in the derived class by default
12 ' But it should throw an warning during compilation
19 Function F(ByVal i As Integer)