projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mcs] Add expression bodied syntax for accessors. Fixes #54991
[mono.git]
/
mcs
/
errors
/
cs1944.cs
1
// CS1944: An expression tree cannot contain an unsafe pointer operation
2
// Line: 14
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
int*[] p = null;
14
Expression<Func<int>> e6 = () => (int)p [10];
15
}
16
}
17
}