update readme (#21797)
[mono-project.git] / mcs / errors / cs0206.cs
blob2b5a11327847dec09f86a373aba4e18e691d54fc
1 // CS0206: A property, indexer or dynamic member access may not be passed as `ref' or `out' parameter
2 // Line: 15
4 class X {
5 static int P { get { return 1; } set { } }
7 static int m (out int v)
9 v = 1;
10 return 1;
13 static void Main ()
15 m (out P);