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-05-29 Steven Munroe <munroesj@us.ibm.com>
[mcs.git]
/
errors
/
gcs0828-2.cs
blob
3c8db7735b0397d0f718d9b5008ccf7aa325fed0
1
// CS0828: An anonymous type property `Value' cannot be initialized with `int*'
2
// Line: 9
3
// Compiler options: -unsafe
4
5
public unsafe class
Test
6
{
7
static int
*
Error
()
8
{
9
return
(
int
*)
0
;
10
}
11
12
static void
Main
()
13
{
14
var
v
=
new
{ Value = Error () }
;
15
}
16
}