projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* ecore.cs (Expression.Error_ValueCannotBeConverted): Add special
[mono.git]
/
mcs
/
errors
/
gcs0828-2.cs
1
// CS0828: An anonymous type property `Value' cannot be initialized with `int*'
2
// Line: 9
3
// Compiler options: -langversion:linq -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
}