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-225.cs
blob
34fec7933f57bf3718459b5cf92dcafff24f57e0
1
using
System
;
2
3
class
A
{
4
public int
foo
=
1
;
5
}
6
7
class
B
:
A
{
8
public new int
foo
()
9
{
10
return
1
;
11
}
12
13
public static void
Main
()
14
{
15
B b
=
new
B
();
16
Console
.
WriteLine
(
b
.
foo
());
17
}
18
}