1 '============================================================================================
2 'Name:Manish Kumar Sinha
3 'Email Address: manishkumarsinha@sify.com
4 'Test Case Name: Param Array:
5 'APR-1.2.1: If ParamArray modifier is precied by ByVal modifier the it produces doesn't
6 ' produces compiler error
7 '============================================================================================
10 Function F(ParamArray ByVal args() As Integer)As Integer
16 Dim a As Integer() = { 1, 2, 3 }
20 Throw New System.Exception("#A1, Unexcepted Behaviour in F(a)")
25 Throw New System.Exception("#A2, Unexcepted Behaviour in F(10,20,30,40)")
29 Throw New System.Exception("#A3, Unexcepted Behaviour in F()")
34 '============================================================================================