2009-11-17 Marek Safar <marek.safar@gmail.com>
[mcs.git] / errors / dcs0206.cs
blob2b6563c51c981de3f624c3602d4c53186aec6172
1 // CS0206: A property, indexer or dynamic member access may not be passed as `ref' or `out' parameter
2 // Line: 16
4 using System;
6 public class Test
8 public static void WriteOutData (out dynamic d)
10 d = 5.0;
13 public static void Main (string[] args)
15 dynamic d = null;
16 WriteOutData (out d.Foo);