repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
avoid using a custom sources file for the net_2_1_raw profile
[mcs.git]
/
errors
/
cs1739-2.cs
blob
bcf6c1802298fcce4e7016b6b1123d79bd3fda5e
1
// CS1739: The best overloaded method match for `A.this[int]' does not contain a parameter named `value'
2
// Line: 17
3
// Compiler options: -langversion:future
4
5
class
A
6
{
7
public int this
[
int
id
] {
8
set
{
9
}
10
}
11
}
12
13
class
B
14
{
15
public static void
Main
()
16
{
17
A a
=
new
A
();
18
a
[
value
:
1
] =
9
;
19
}
20
}