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
[mcs] Reset also all partial parts current-type
[mono-project.git]
/
mcs
/
errors
/
cs0023-28.cs
blob
e9f7942decf12142dff7d4ad79b381e85e8b83b2
1
// CS0023: The `?' operator cannot be applied to operand of type `T'
2
// Line: 13
3
4
interface
IFoo
<
T
>
5
{
6
T
Call
();
7
}
8
9
class
C1
10
{
11
U Foo
<
T
,
U
> (
IFoo
<
T
>
t
)
12
{
13
return
t
?.
Call
();
14
}
15
}