2008-04-11 Jonathan Pobst <monkey@jpobst.com>
[mono.git] / mcs / errors / cs0206.cs
1 // CS0206:  A property or indexer `X.P' may not be passed as `ref' or `out' parameter
2 // Line: 15
3
4 class X {
5         static int P { get { return 1; } set { } }
6
7         static int m (out int v)
8         {
9                 v = 1;
10                 return 1;
11         }
12         
13         static void Main ()
14         {
15                 m (out P);
16         }
17 }