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
/
cs0208-14.cs
blob
a28400189d051abd4aad6e137b37a2084473ee7d
1
// CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `T'
2
// Line: 8
3
4
class
X
5
{
6
public static void
Foo
<
T
> (
T t
)
7
{
8
object
o
=
sizeof
(
T
);
9
}
10
}