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
[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git]
/
mcs
/
tests
/
test-866.cs
blob
723795ee412697e13db243c91ef40ff11dac3668
1
class
C
:
B
2
{
3
public static bool operator
+ (
C a
,
short
b
)
4
{
5
return false
;
6
}
7
8
public static bool operator
+ (
C a
,
long
b
)
9
{
10
return false
;
11
}
12
}
13
14
class
B
15
{
16
public static bool operator
+ (
B b
,
string
s
)
17
{
18
return false
;
19
}
20
}
21
22
public class
Test
23
{
24
public static void
Main
()
25
{
26
var
c
=
new
C
();
27
var
a1
=
c
+
"a"
;
28
var
a2
=
c
+
"a"
;
29
}
30
}