[mini] Fix test compiling when running !MOBILE
[mono.git] / mcs / errors / cs0206-4.cs
1 // CS0206: A property, indexer or dynamic member access may not be passed as `ref' or `out' parameter
2 // Line: 16
3
4 using System;
5
6 public class Test
7 {
8         public static void WriteOutData (out dynamic d)
9         {
10                 d = 5.0;
11         }
12
13         public static void Main (string[] args)
14         {
15                 dynamic d = null;
16                 WriteOutData (out d.Foo);
17         }
18 }
19