(DISTFILES): Comment out a few missing files.
[mono-project.git] / mcs / mbas / Test / tests / Arguments_ByValueA.vb
blob8636a8737ad59a97f3478f226a4c7ca93f7b2036
1 '==========================================================================================
2 'Name:Manish Kumar Sinha
3 'Email Address: manishkumarsinha@sify.com
4 'Test Case Name: Argument passing by Value:
5 'APV-1.0.0: Argument Passing by value, which means the procedure cannot modify the variable
6 ' itself.
7 '==========================================================================================
8 Imports System
9 Module APV1_0
10 Sub F(ByVal p As Integer)
11 p += 1
12 End Sub
14 Sub Main()
15 Dim a As Integer = 1
16 F(a)
17 if a<>1
18 Throw new System.Exception("#A1, Unexcepted behaviour")
19 end if
20 End Sub
21 End Module
22 '============================================================================================