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-04-28 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
gcs1944-4.cs
blob
33fc4d6b74bb6d28f2c8c9d50ccfc5e7722949d4
1
// CS1944: An expression tree cannot contain an unsafe pointer operation
2
// Line: 15
3
// Compiler options: -unsafe
4
5
using
System
;
6
using
System
.
Linq
.
Expressions
;
7
8
class
C
9
{
10
unsafe delegate int
*
D
(
int
*
i
);
11
12
public static void
Main
()
13
{
14
unsafe
{
15
Expression
<
D
>
e
=
p
=>
p
+
1
;
16
}
17
}
18
}