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
/
cs0453-6.cs
blob
feaa3a178bb0dff71293505eab7486437610a0d6
1
// CS0453: The type `string' must be a non-nullable value type in order to use it as type parameter `T' in the generic type or method `C<T>'
2
// Line: 10
3
4
public class
C
<
T
>
where T
:
struct
5
{
6
}
7
8
class
A
9
{
10
public
C
<
string
>
Foo
()
11
{
12
}
13
}
14