(DISTFILES): Comment out a few missing files.
[mono-project.git] / mcs / mbas / Test / tests / Arguments_ByValueB.vb
blobee60cb0fbd679bdcba3355ceaf6d28ff2cae26d1
1 '=============================================================================================
2 'Name:Manish Kumar Sinha
3 'Email Address: manishkumarsinha@sify.com
4 'Test Case Name: Argument passing by Value:
5 'APV-1.4.0: By Default VB pass arguments by values, i.e if procedure is pass without mentioning
6 ' type then it take as ByVal type
7 '=============================================================================================
8 Imports System
9 Module APV1_4_0
10 Sub F(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, uncexcepted behaviour of Default VB pass arguments")
19 end if
20 End Sub
21 End Module
22 '=============================================================================================