[mcs] Allow properties and indexers of by-ref values to be set without setter
[mono.git] / mcs / errors / cs1503-7.cs
1 // CS1503: Argument `#1' cannot convert `long' expression to type `ulong'
2 // Line: 17
3
4 class A
5 {
6         public static long Prop {
7                 get {
8                         return 1;
9                 }
10         }
11 }
12
13 class Test
14 {
15         static void Main ()
16         {
17                 Foo (A.Prop);
18         }
19         
20         static void Foo (ulong l)
21         {
22         }
23 }