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
2009-06-26 Zoltan Varga <vargaz@gmail.com>
[mcs.git]
/
errors
/
cs1020.cs
blob
891a613331ffd9dcc0e348da095116af81130145
1
// cs1020.cs : Overloadable binary operator expected
2
// Line : 19
3
4
5
public class
MyClass
{
6
7
public int this
[
int
ndx
]
8
{
9
get
{ }
10
set
{ }
11
}
12
13
public event
EventHandler Click
14
{
15
add
{ }
16
remove
{ }
17
}
18
19
public static
MyClass
operator
++ (
MyClass i
,
MyClass j
)
20
{
21
22
}
23
24
public static implicit operator
MyClass
(
Object o
)
25
{
26
27
}
28
}