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-07-20 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
gcs1944-5.cs
blob
b53a1baeca5c4ecaadc5bcbc1a42a7d1433529c2
1
// CS1944: An expression tree cannot contain an unsafe pointer operation
2
// Line: 13
3
// Compiler options: -unsafe
4
5
using
System
;
6
using
System
.
Linq
.
Expressions
;
7
8
class
C
9
{
10
public static void
Main
()
11
{
12
unsafe
{
13
Expression
<
Func
<
int
>>
e
= () =>
sizeof
(
long
*);
14
}
15
}
16
}