Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / gtest-exmethod-36.cs
1 using System;
2
3 class S
4 {
5         public string Prop { get { return "5"; } }
6 }
7
8 class S2
9 {
10         public bool Prop;
11 }
12
13 static class E
14 {
15         public static int Prop (this S s)
16         {
17                 return 8;
18         }
19         
20         public static int Prop (this S2 s)
21         {
22                 return 18;
23         }
24 }
25
26 class C
27 {
28         public static void Main ()
29         {
30                 S s = new S ();
31                 int b = s.Prop ();
32                 string bb = s.Prop;
33                 
34                 S2 s2 = new S2 ();
35                 int b2 = s2.Prop ();
36                 bool bb2 = s2.Prop;
37         }
38 }