repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-11-20 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
gcs0828-6.cs
blob
360c32babd8ef69d2321a8a2934828a61f8eadec
1
// CS0828: An anonymous type property `Value' cannot be initialized with `method group'
2
// Line: 12
3
4
public class
Test
5
{
6
static void
Error
()
7
{
8
}
9
10
static void
Main
()
11
{
12
var
v
=
new
{ Value = Error }
;
13
}
14
}