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
"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git]
/
mcs
/
tests
/
gtest-anontype-07.cs
blob
2015ee4ec28ed945990a7ad10797195a5fbba32e
1
2
3
using
System
;
4
using
System
.
Collections
;
5
6
public class
Test
7
{
8
public static int
Main
()
9
{
10
var
v1
=
new
{ }
;
11
var
v2
=
new
{ }
;
12
13
if
(
v1
.
GetType
() !=
v2
.
GetType
())
14
return
1
;
15
16
if
(!
v1
.
Equals
(
v2
))
17
return
2
;
18
19
Console
.
WriteLine
(
v1
);
20
Console
.
WriteLine
(
v2
);
21
return
0
;
22
}
23
}
24