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
Add Mono.Runtime::GetNativeStackTrace method to make the new backtracing facility...
[mono-project.git]
/
mcs
/
tests
/
dtest-048.cs
blob
aa205bfa9a7e04f8db5fd05f8814581c83582181
1
using
System
;
2
class
A
3
{
4
static int
M
(
string
s
,
object
o
)
5
{
6
return
1
;
7
}
8
9
static int
M
(
string
s
,
params object
[]
o
)
10
{
11
if
(
o
!=
null
)
12
return
2
;
13
14
return
0
;
15
}
16
17
public static int
Main
()
18
{
19
if
(
M
(
"x"
,
null
) !=
0
)
20
return
1
;
21
22
if
(
M
(
"x"
, (
object
[])
null
) !=
0
)
23
return
2
;
24
25
if
(
M
(
"x"
, (
dynamic
)
null
) !=
0
)
26
return
3
;
27
28
return
0
;
29
}
30
}