projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mini] Fix test compiling when running !MOBILE
[mono.git]
/
mcs
/
tests
/
dtest-024.cs
1
using System;
2
3
// Tests private accessibility for dynamic binder
4
5
class Test
6
{
7
private delegate int D ();
8
private int field = 9;
9
10
public static int Main ()
11
{
12
D del = () => 5;
13
dynamic d = del;
14
if (d () != 5)
15
return 1;
16
17
d = new Test ();
18
if (d.field != 9)
19
return 2;
20
21
return 0;
22
}
23
}