(DISTFILES): Comment out a few missing files.
[mono-project.git] / mcs / btests / AssignmentStatementsC4.vb
blob0fcb1c7dff24cdf4e0e917ae1d8b38a484ca26eb
1 REM LineNo: 19
2 REM ExpectedError: BC30524
3 REM ErrorMessage: Property 'mystr' is 'WriteOnly'.
5 Imports System
6 Imports Microsoft.VisualBasic
8 Module AssignmentStatementsC4
10 Private str As String = "Hello VB.NET World"
11 Public WriteOnly Property mystr() As String
12 Set(ByVal Value As String)
13 str = Value
14 End Set
15 End Property
17 Sub main()
19 Mid(mystr, 7) = "MS.NET"
20 If mystr <> "Hello MS.NETBasic " Then
21 Throw New Exception("#ASC41 - Assignment Statement failed")
22 End If
24 End Sub
26 End Module