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
/
cs0456.cs
blob
ee3394ad0085ec3e2ed1e07afcdc5f9313e0745e
1
// CS0456: Type parameter `U' has the `struct' constraint, so it cannot be used as a constraint for `T'
2
// Line: 7
3
using
System
;
4
5
class
Foo
<
T
,
U
>
6
where T
:
U
7
where U
:
struct
8
{ }
9
10
class
X
11
{
12
static void
Main
()
13
{ }
14
}