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
[loader] LoadFrom of problematic images should reprobe
[mono-project.git]
/
mcs
/
errors
/
cs0828-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
}