2009-09-01 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git] / mono / tests / metadata-verifier / assembly-with-properties.cs
1 using System;
2 using System.Runtime.InteropServices;
3 using System.Runtime.CompilerServices;
4 using System.ComponentModel;
5
6 public delegate void Del ();
7
8 public class Class0
9 {
10         const int foo = 10;
11         public int PropA { get; set; }
12         public int PropB { set { int x = value; } }
13         public int PropC { get { return 0; } }
14 }
15
16 public class Class1
17 {
18         public int Prop0 { get; set; }
19         public int Prop1 { get; set; }
20         public int Prop2 { get; set; }
21 }
22
23 public class Class2
24 {
25         public int Prop0 { get; set; }
26         public int Prop1 { get; set; }
27         public int Prop2 { get; set; }
28
29         public int this [string key] {
30             get { return 0; }
31             set { }
32         }
33
34 }
35
36 public class Class
37 {
38         public static void Main ()
39         {
40         
41         }
42 }