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
Make StringComparer.Create throw ArgumentNullException (#26570)
[mono-project.git]
/
mcs
/
errors
/
cs0133-2.cs
blob
48488876f7e8e9914e5bfd2f21c2f53e23dd078c
1
// CS0133: The expression being assigned to `c' must be a constant or default value
2
// Line: 10
3
4
class
C
5
{
6
void
Foo
()
7
{
8
int
[]
array
;
9
int
idx
;
10
const int
c
=
array
[
idx
];
11
}
12
}