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] Add a special method for XI so the linker does not always have to generate it.
[mono-project.git]
/
mcs
/
errors
/
cs0019-63.cs
blob
4e766c02199139275605be7284fdb1fe1491cbb2
1
// CS0019: Operator `==' cannot be applied to operands of type `U' and `null'
2
// Line: 13
3
4
abstract class
A
<
T
>
5
{
6
public abstract bool
Foo
<
U
> (
U arg
)
where U
:
T
;
7
}
8
9
class
B
:
A
<
byte
>
10
{
11
public override bool
Foo
<
U
> (
U arg
)
12
{
13
return
arg
==
null
;
14
}
15
}