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
[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git]
/
mcs
/
errors
/
cs1503-6.cs
blob
4f6d0ad60bfacb7ab47854f0a4e736272c7d6d78
1
// CS1503: Argument `#1' cannot convert `object' expression to type `int'
2
// Line: 16
3
4
using
System
;
5
6
class
T
7
{
8
public void
M1
(
int
i
,
params object
[]
args
) {}
9
}
10
11
class
MainClass
12
{
13
static void
Main
()
14
{
15
T t
=
new
T
();
16
t
.
M1
(
new object
());
17
}
18
}