projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5303 from lambdageek/cattr-bcheck
[mono.git]
/
mcs
/
tests
/
test-947.cs
1
interface IA
2
{
3
int Prop { get; }
4
int this [int arg] { get; }
5
}
6
7
abstract class B : IA
8
{
9
public long Prop => 4;
10
11
int IA.Prop => 1;
12
13
public long this [int arg] => 2;
14
15
int IA.this [int arg] => 4;
16
}
17
18
class C : B, IA
19
{
20
public static void Main ()
21
{
22
}
23
24
public new string Prop {
25
get { return ""; }
26
}
27
28
public new string this [int arg] => "2";
29
}