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
Make StringComparer.Create throw ArgumentNullException (#26570)
[mono-project.git]
/
mcs
/
errors
/
cs0023-25.cs
blob
d6f5c5bbe1a428ce01764c11bd924b96211ede34
1
// CS0023: The `?' operator cannot be applied to operand of type `T'
2
// Line: 8
3
4
class
C
5
{
6
static void
Foo
<
T
> (
T t
)
where T
:
struct
7
{
8
var
r
=
t
?.
ToString
();
9
}
10
}