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-10-22 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
cs1742-2.cs
blob
203daf348277714bec65667c123f08af019d3417
1
// CS1742: An element access expression cannot use named argument
2
// Line: 13
3
// Compiler options: -unsafe -langversion:future
4
5
using
System
;
6
7
unsafe class
C
8
{
9
static void
Main
()
10
{
11
int
*
p
=
null
;
12
13
if
(
p
[
value
:
10
] ==
4
)
14
return
;
15
}
16
}