projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5714 from alexischr/update_bockbuild
[mono.git]
/
mcs
/
tests
/
test-659.cs
1
using System;
2
using System.Runtime.CompilerServices;
3
4
interface Iface
5
{
6
[IndexerName ("AA")]
7
bool this [int i] { set; }
8
}
9
10
public class MySubClass : Iface
11
{
12
public static int Main ()
13
{
14
MySubClass m = new MySubClass ();
15
m [1] = true;
16
17
Iface i = new MySubClass ();
18
i [1] = true;
19
return 0;
20
}
21
22
[IndexerName ("BB")]
23
public bool this [int i] { set { } }
24
}