projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mcs] Better check for automatically implemented property inside a type with an expli...
[mono.git]
/
mcs
/
tests
/
dtest-021.cs
1
public class T
2
{
3
class B
4
{
5
public dynamic this [int i] {
6
set {
7
int v = (dynamic) value;
8
}
9
get {
10
return i;
11
}
12
}
13
}
14
15
public class Program
16
{
17
public static int Main ()
18
{
19
B b = new B ();
20
b [4] = 1;
21
dynamic d = b [9];
22
return 0;
23
}
24
}
25
}