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
/
cs8200.cs
blob
e7565e4d4e715d35b55ca5a02d6b090ad65d59d2
1
// CS8200: Out variable and pattern variable declarations are not allowed within constructor initializers, field initializers, or property initializers
2
// Line: 11
3
4
public class
C
5
{
6
public
C
(
bool value
)
7
{
8
}
9
10
public
C
()
11
:
this
(
Foo
(
out int
arg
))
12
{
13
}
14
15
static bool
Foo
(
out int
arg
)
16
{
17
arg
=
2
;
18
return false
;
19
}
20
}