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
Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git]
/
mcs
/
errors
/
cs0283-2.cs
blob
761563e1bb6c803fb0dd38b35408b70dd93a3ebb
1
// CS0283: The type `S' cannot be declared const
2
// Line: 12
3
4
struct
S
5
{
6
}
7
8
class
C
9
{
10
public void
Foo
()
11
{
12
const
S s
=
new
S
();
13
}
14
}