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
/
cs1061-12.cs
blob
0d14a9196116936264d7ddab989211e1b2ae184f
1
// CS1061: Type `U2' does not contain a definition for `Test' and no extension method `Test' of type `U2' could be found. Are you missing an assembly reference?
2
// Line: 20
3
4
interface
I
<
T
>
5
{
6
void
Foo
<
U
> (
U u
)
where U
:
T
;
7
}
8
9
struct
S
10
{
11
public void
Test
()
12
{
13
}
14
}
15
16
class
Test
:
I
<
S
>
17
{
18
void
I
<
S
>.
Foo
<
U2
> (
U2 u2
)
19
{
20
u2
.
Test
();
21
}
22
}