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
Use constant stack space for STW under darwin.
[mono-project.git]
/
mono
/
tests
/
hashcode.cs
blob
15f2eecbdb7e705c055ee6600d2e6d4a49163c82
1
using
System
;
2
3
public class
X
{
4
int
a
;
5
}
6
7
public class
Test
{
8
9
struct
test
{
10
public int
v1
;
11
}
12
public static int
Main
() {
13
14
test a
=
new
test
();
15
16
a
.
v1
=
5
;
17
18
Console
.
WriteLine
(
a
.
GetHashCode
());
19
20
X b
=
new
X
();
21
X c
=
new
X
();
22
23
Console
.
WriteLine
(
b
.
GetHashCode
());
24
Console
.
WriteLine
(
c
.
GetHashCode
());
25
26
return
0
;
27
}
28
}