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-743.cs
blob
9300166b049f0247858ce5201faafcd573d57b91
1
// Compiler options: -r:test-743-lib.dll
2
3
using
System
;
4
5
public class
C
:
A
6
{
7
public static void
Main
()
8
{
9
new
C
().
Test
();
10
}
11
12
void
Test
()
13
{
14
var
a
=
new
C
();
15
Console
.
WriteLine
(
a
.
Prop
);
16
a
[
5
] =
"2"
;
17
}
18
}