repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
monotouch uses the real HttpWebRequest
[mcs.git]
/
tests
/
test-659.cs
blob
de18b4f4835738056751ec3f38b77d8db013893e
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
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
}