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
[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git]
/
mcs
/
errors
/
cs1020.cs
blob
45672348bcc8688d4d42c88996c1b1f21458ee34
1
// CS1020: 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
}