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
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs0571-4.cs
blob
c7af4506c719fb26fc28e315964d97b85e426beb
1
// cs0571-4.cs: `MainClass.this[int, bool, string].get': cannot explicitly call operator or accessor
2
// Line: 15
3
4
using
System
.
Runtime
.
CompilerServices
;
5
6
class
MainClass
{
7
[
IndexerName
(
"AA"
)]
8
int this
[
int
Value
,
bool
Value2
,
string
Value3
] {
9
get
{
10
return
1
;
11
}
12
}
13
14
public
MainClass
() {
15
int
i
=
get_AA
(
2
,
false
,
"aaa"
);
16
}
17
}