projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2007-11-16 Marek Safar <marek.safar@gmail.com>
[mono.git]
/
mcs
/
tests
/
gtest-anontype-07.cs
1
// Compiler options: -langversion:linq
2
3
using System;
4
using System.Collections;
5
6
public class Test
7
{
8
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