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
[corlib] Fix a few NSLogWriter issues. (#13799)
[mono-project.git]
/
mcs
/
tests
/
gtest-263.cs
blob
ff7870fc29331ffb22e2f0bd041f1cfea7047441
1
using
System
;
2
using
System
.
Collections
.
Generic
;
3
4
class
Foo
<
S
>
5
{
6
public
ICloneable
Test
(
S t
)
7
{
8
return
(
ICloneable
)
t
;
9
}
10
}
11
12
public static class
ConvertHelper
13
{
14
public static
IEnumerator
<
T
>
Test
<
S
,
T
> (
S s
)
15
where T
:
S
16
{
17
yield return
(
T
)
s
;
18
}
19
20
public static void
Main
()
21
{ }
22
}