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
/
cs0029-5.cs
blob
0099fc7f3cc09a191838375d83b16ad19b76052a
1
// CS0029: Cannot implicitly convert type `T' to `int'
2
// Line: 4
3
4
class
X
{
5
static void
Main
()
6
{
7
int
a
=
new
T
();
8
}
9
}
10
11
struct
T
{
12
}