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
Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git]
/
mcs
/
errors
/
cs0208-10.cs
blob
6777dba0432c5d1ec8f08764d3e0658dde468e83
1
// CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `X<A>'
2
// Line: 12
3
// Compiler options: -unsafe
4
5
class
X
<
Y
> {
6
}
7
8
unsafe class
A
{
9
10
static void
Main
()
11
{
12
int
size
=
sizeof
(
X
<
A
>);
13
}
14
}