projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
[mono.git]
/
mcs
/
tests
/
gtest-263.cs
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
static void Main ()
21
{ }
22
}