repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git]
/
mcs
/
tests
/
test-842.cs
blob
80bc3148e5db394072777ed881b82886e4ac6112
1
using
System
;
2
using
System
.
Reflection
;
3
4
interface
IA
5
{
6
string this
[
int
idx
]
{ get; set; }
7
}
8
9
[
DefaultMember
(
"Main"
)]
10
public class
Foo
:
IA
11
{
12
string
bar
;
13
14
public static void
Main
()
15
{
16
Console
.
WriteLine
(
"foo"
);
17
}
18
19
string
IA
.
this
[
int
idx
] {
20
get
{
21
return
"foo"
;
22
}
23
set
{
24
bar
=
value
;
25
}
26
}
27
}
28