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
[metadata] Fix leaks when handling a few attributes (#16675)
[mono-project.git]
/
mcs
/
tests
/
test-947.cs
blob
f2f8cbb862819a97718d78b667fe76e3c47700f1
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
}