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
2009-11-20 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
gcs0453-3.cs
blob
d5eda52b21fa1cb19e8064a9bb6a15ba2c198cab
1
// CS0453: The type `Bar?' must be a non-nullable value type in order to use it as type parameter `T' in the generic type or method `Foo<T>'
2
// Line: 14
3
public class
Foo
<
T
>
4
where T
:
struct
5
{ }
6
7
public struct
Bar
8
{ }
9
10
class
X
11
{
12
static void
Main
()
13
{
14
Foo
<
Bar
?>
foo
;
15
}
16
}