Another dist build fix for rx integration, move *.cs file to safe-ish path.
[mono-project.git] / mcs / tests / dtest-024.cs
blobcf4d1f2df8aa8443948653ed624eff30d759af32
1 using System;
3 // Tests private accessibility for dynamic binder
5 class Test
7 private delegate int D ();
8 private int field = 9;
10 public static int Main ()
12 D del = () => 5;
13 dynamic d = del;
14 if (d () != 5)
15 return 1;
17 d = new Test ();
18 if (d.field != 9)
19 return 2;
21 return 0;