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-455.cs
blob
617f42d9b07acdffbce842b99a07ce8f04da3e66
1
struct
Foo
{
2
public int
x
;
3
public override int
GetHashCode
()
4
{
5
return base
.
GetHashCode
();
6
}
7
}
8
9
class
Test
{
10
public static void
Main
()
11
{
12
Foo foo
=
new
Foo
();
13
System
.
Console
.
WriteLine
(
foo
.
GetHashCode
());
14
}
15
}