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
[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git]
/
mcs
/
errors
/
cs8200-6.cs
blob
b93764c12444ec696b39205fa1a1b765544ee55e
1
// CS8200: Out variable and pattern variable declarations are not allowed within constructor initializers, field initializers, or property initializers
2
// Line: 6
3
4
class
X
5
{
6
public static bool
Test { get; }
=
Foo
()
is bool
x
;
7
8
static object
Foo
()
9
{
10
return false
;
11
}
12
}