Bump external/ikdasm to master.
[mono-project.git] / mono / tests / lock.cs
blobc639983b3781528260f9b49f0a3884166cade5bd
1 using System;
3 public class LockTest
5 public class Test
7 public int val {
8 get {
9 return(v);
11 set {
12 v=value;
16 int v;
19 public static void Main() {
20 Test a=new Test();
22 lock(a) {
23 a.val=2;
25 Console.WriteLine("a is " + a.val);