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
/
cs1019.cs
blob
4fe30f842f7dc9813da0099c40a5848dc42d5b90
1
// cs1019.cs : Overloadable unary operator expected
2
// Line : 18
3
4
public class
MyClass
{
5
6
public int this
[
int
ndx
]
7
{
8
get
{ }
9
set
{ }
10
}
11
12
public event
EventHandler Click
13
{
14
add
{ }
15
remove
{ }
16
}
17
18
public static
MyClass
operator
/ (
MyClass i
)
19
{
20
21
}
22
23
public static implicit operator
MyClass
(
Object o
)
24
{
25
26
}
27
}