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
[loader] LoadFrom of problematic images should reprobe
[mono-project.git]
/
mcs
/
errors
/
cs0019-60.cs
blob
c103e333ae177afde3dda531ec9f90b2aa3bd70b
1
// CS0019: Operator `>' cannot be applied to operands of type `S' and `S?'
2
// Line: 9
3
4
public class
Test
5
{
6
public static void
Main
()
7
{
8
S a
=
new
S
();
9
S
?
b
=
null
;
10
string
res
=
a
>
b
;
11
}
12
}
13
14
struct
S
15
{
16
public static string operator
> (
S a
,
S b
)
17
{
18
return
">"
;
19
}
20
21
public static string operator
< (
S a
,
S b
)
22
{
23
return
"<"
;
24
}
25
}