projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[runtime] Avoid indirection when building MonoContext on darwin
[mono.git]
/
mcs
/
tests
/
test-842.cs
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