(DISTFILES): Comment out a few missing files.
[mono-project.git] / mcs / btests / SyncLock1.vb
blob9c06714a4d16977665ad0a17c03c7b05d3555492
1 ' Unhandled Exception: System.ArgumentException: 'SyncLock' operand cannot
2 ' be of type 'Boolean' because 'Boolean' is not a reference type.
4 Imports System
6 Module SyncLock1
7 Class C
8 Private Shared count = 0
10 Sub IncrementCount()
11 SyncLock count = 0
12 count += 1
13 Console.WriteLine(count)
14 End SyncLock
15 End Sub
16 End Class
18 Sub Main()
19 Dim c As New C()
20 c.IncrementCount()
21 End Sub
23 End Module