repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git]
/
mcs
/
errors
/
cs1742-2.cs
blob
112d15c092ed110ffa597f22c9dfadfc05ebf110
1
// CS1742: An element access expression cannot use named argument
2
// Line: 13
3
// Compiler options: -unsafe
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
}