repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* TaskLoggingHelper.cs (LogErrorFromException): Add missing overload.
[mcs.git]
/
tests
/
gtest-259.cs
blob
8f84a53b9028ffb8bb793637ba41ac5e8d3d75d4
1
using
System
;
2
3
public class
Class1
<
T
>
4
where T
:
MyType
5
{
6
public void
MethodOfClass1
(
T a
,
MyType b
)
7
{
8
a
.
MethodOfMyBaseType
();
9
}
10
}
11
12
public class
MyType
:
MyBaseType
13
{
14
public override void
MethodOfMyBaseType
()
15
{
16
}
17
}
18
19
public abstract class
MyBaseType
20
{
21
public abstract void
MethodOfMyBaseType
();
22
}
23
24
class
X
25
{
26
static void
Main
()
27
{ }
28
}