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] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git]
/
mcs
/
errors
/
cs0455-4.cs
blob
b27656de91a876830e90c1e7ec73e91bd70c82b0
1
// CS0455: Type parameter `Y' inherits conflicting constraints `long' and `long?'
2
// Line: 11
3
4
abstract class
A
<
T1
,
T2
>
5
{
6
public abstract void
Foo
<
U
> ()
where U
:
T1
,
T2
;
7
}
8
9
class
B
:
A
<
long
,
long
?>
10
{
11
public override void
Foo
<
Y
> ()
12
{
13
}
14
}